Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Krombel add i18n #61

Merged
merged 11 commits into from
Mar 31, 2019
Prev Previous commit
Next Next commit
Adds email to footer
  • Loading branch information
Robin Persson committed Aug 11, 2018
commit 8862e3d598641d717986b3eb048c7f062044f44d
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