Skip to content

Commit

Permalink
Adds email to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Persson committed Aug 11, 2018
1 parent 9235e47 commit 8862e3d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@
- id: linkedin
translation: "LinkedIn"
- id: twitter
translation: "Twitter"
translation: "Twitter"
- id: email
translation: "Email"
4 changes: 3 additions & 1 deletion i18n/sv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@
- id: linkedin
translation: "LinkedIn"
- id: twitter
translation: "Twitter"
translation: "Twitter"
- id: email
translation: "Email"
4 changes: 4 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<div class="col-xs-3 col-md-2"><a target="_blank" href="https://twitter.com/{{ .Site.Params.twitter }}">{{ i18n "twitter" }}</a></div>
{{ end }}

{{ if .Site.Params.email }}
<div class="col-xs-3 col-md-2"><a href="mailto:{{ .Site.Params.email }}">{{ i18n "email" }}</a></div>
{{ end }}

{{ if or (.Site.Params.copyright) (.Site.Params.credit) }}
<div class="col-xs-12">
{{ if .Site.Params.copyright }}
Expand Down

0 comments on commit 8862e3d

Please sign in to comment.