Skip to content

Commit

Permalink
Merge pull request #8 from theopenlane/bug-fixlinks
Browse files Browse the repository at this point in the history
update bad urls for privacy and tos
  • Loading branch information
matoszz authored Nov 22, 2024
2 parents 0a9892e + 26d6d15 commit e02fe11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ default_language_version:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: detect-private-key
- repo: https://github.com/google/yamlfmt
rev: v0.13.0
rev: v0.14.0
hooks:
- id: yamlfmt
- repo: https://github.com/crate-ci/typos
rev: v1.24.6
rev: v1.27.3
hooks:
- id: typos
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/theopenlane/emailtemplates

go 1.23.1
go 1.23.3

require (
github.com/rs/zerolog v1.33.0
Expand Down
5 changes: 2 additions & 3 deletions templates/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

<ul>
<li><a href="{{ .URLS.Product }}">Sign In</a></li>
<li><a href="{{ .URLS.Root }}/privacy/">Privacy Policy</a></li>
<li><a href="{{ .URLS.Root }}/terms/">Terms of Service</a></li>
<li><a href="{{ .URLS.Root }}/unsubscribe?email={{ .EmailData.Recipient.Email }}">Unsubscribe</a></li>
<li><a href="{{ .URLS.Root }}//legal/privacy/">Privacy Policy</a></li>
<li><a href="{{ .URLS.Root }}/legal/terms-of-service/">Terms of Service</a></li>
</ul>

<p>Copyright &copy; <a href="{{ .URLS.Root }}">{{ .Corporation }}</a>, All Rights Reserved</p>
Expand Down

0 comments on commit e02fe11

Please sign in to comment.