diff options
author | Vincent Tam <sere@live.hk> | 2019-08-01 15:40:24 +0300 |
---|---|---|
committer | Vincent Tam <sere@live.hk> | 2019-08-01 15:40:24 +0300 |
commit | 6614ec2e7693079e2443543d9dd80c91c1d0953a (patch) | |
tree | 2d401ac0fd34ee9263e1b40e62d161de30aa2626 | |
parent | 292db09ad9a8207f169456c1d418527a1f9f046e (diff) |
Site footer incorporated
Translation string can be wrong.
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | i18n/br.yaml | 2 | ||||
-rw-r--r-- | i18n/de.yaml | 2 | ||||
-rw-r--r-- | i18n/en.yaml | 2 | ||||
-rw-r--r-- | i18n/eo.yaml | 2 | ||||
-rw-r--r-- | i18n/es.yaml | 2 | ||||
-rw-r--r-- | i18n/fr.yaml | 2 | ||||
-rw-r--r-- | i18n/it.yaml | 2 | ||||
-rw-r--r-- | i18n/ja.yaml | 2 | ||||
-rw-r--r-- | i18n/nb.yaml | 2 | ||||
-rw-r--r-- | i18n/nl.yaml | 2 | ||||
-rw-r--r-- | i18n/pl.yaml | 2 | ||||
-rw-r--r-- | i18n/ru.yaml | 2 | ||||
-rw-r--r-- | i18n/zh-CN.yaml | 2 | ||||
-rw-r--r-- | i18n/zh-TW.yaml | 2 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 2 |
16 files changed, 17 insertions, 15 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8f23c0e..d5d3a64 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -7,7 +7,7 @@ theme = "huginn" [Params] avatar = "img/avatar.png" sitesubtitle = "Blog subtitle" - footer = "Powered by [Hugo](https://gohugo.io), theme [Huginn](https://framagit.org/staticman-gitlab-pages/hugo-theme-huginn)" + footer = "Custom footer" # Custom footer in Markdown # isso_server = "" # URL of Isso server # [Params.staticman] diff --git a/i18n/br.yaml b/i18n/br.yaml index 59cd6ad..18ad295 100644 --- a/i18n/br.yaml +++ b/i18n/br.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Tema por <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adaptado para <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Tema por <a href="https://bridouz.frama.io">Bridouz</a> adaptado para <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/de.yaml b/i18n/de.yaml index 103453d..df273e8 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme by <a href="https://bridouz.frama.io">Bridouz</a> adapted to <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/en.yaml b/i18n/en.yaml index e247bd3..99c5808 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme by <a href="https://bridouz.frama.io">Bridouz</a> adapted to <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/eo.yaml b/i18n/eo.yaml index e781f82..949579c 100644 --- a/i18n/eo.yaml +++ b/i18n/eo.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a>-povigita • Haŭto de <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adaptiĝis al <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a>-povigita • Haŭto de <a href="https://bridouz.frama.io">Bridouz</a> adaptiĝis al <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/es.yaml b/i18n/es.yaml index 5f07e5f..6e76385 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme by <a href="https://bridouz.frama.io">Bridouz</a> adapted to <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 1e995f4..290b014 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Carbure avec <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Avec le Theme <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapté en <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: 'Carbure avec <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Avec le Theme <a href="https://bridouz.frama.io">Bridouz</a> adapté en <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/it.yaml b/i18n/it.yaml index fafeb4c..f8a9961 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '<a href="http://gohugo.io">Sviluppato con Hugo v{{ .Site.Hugo.Version }}</a> • Tema: <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adattato a <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '<a href="http://gohugo.io">Sviluppato con Hugo v{{ .Site.Hugo.Version }}</a> • Tema: <a href="https://bridouz.frama.io">Bridouz</a> adattato a <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/ja.yaml b/i18n/ja.yaml index f433d41..ed63063 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '起動力に<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • テーマに<a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>に基づいている<a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '起動力に<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • テーマに<a href="https://bridouz.frama.io">Bridouz</a>に基づいている<a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/nb.yaml b/i18n/nb.yaml index 3a92968..57cfbcd 100644 --- a/i18n/nb.yaml +++ b/i18n/nb.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Kjører på <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Tema fra <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> tilpasset til <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: 'Kjører på <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Tema fra <a href="https://bridouz.frama.io">Bridouz</a> tilpasset til <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/nl.yaml b/i18n/nl.yaml index 4bc4ae9..b787edd 100644 --- a/i18n/nl.yaml +++ b/i18n/nl.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a>-aangedreven • Thema door <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> aangepast voor <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a>-aangedreven • Thema door <a href="https://bridouz.frama.io">Bridouz</a> aangepast voor <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/pl.yaml b/i18n/pl.yaml index cafa5c7..9e5319c 100644 --- a/i18n/pl.yaml +++ b/i18n/pl.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>' + translation: '<a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> powered • Theme by <a href="https://bridouz.frama.io">Bridouz</a> adapted to <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a>' # Navigation - id: toggleNavigation diff --git a/i18n/ru.yaml b/i18n/ru.yaml index 9d9c244..67d5f8e 100644 --- a/i18n/ru.yaml +++ b/i18n/ru.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'На базе <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Тема <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> на базе <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>' + translation: 'На базе <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> • Тема <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a> на базе <a href="https://bridouz.frama.io">Bridouz</a>' # Navigation - id: toggleNavigation diff --git a/i18n/zh-CN.yaml b/i18n/zh-CN.yaml index 366be17..e23fa04 100644 --- a/i18n/zh-CN.yaml +++ b/i18n/zh-CN.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '由 <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> 强力驱动 • 主题 <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> 移植自 <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>' + translation: '由 <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> 强力驱动 • 主题 <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a> 移植自 <a href="https://bridouz.frama.io">Bridouz</a>' # Navigation - id: toggleNavigation diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml index 6e050fb..8e728f5 100644 --- a/i18n/zh-TW.yaml +++ b/i18n/zh-TW.yaml @@ -43,7 +43,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '由 <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> 提供 • 主題 <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a> 移植自 <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a>' + translation: '由 <a href="http://gohugo.io">Hugo v{{ .Site.Hugo.Version }}</a> 提供 • 主題 <a href="https://framagit.org/staticman-gitlab-pages/huginn">Huginn</a> 移植自 <a href="https://bridouz.frama.io">Bridouz</a>' # Navigation - id: toggleNavigation diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2da22f5..65cd5cd 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -50,6 +50,8 @@ {{ with .Site.Params.footer }} {{- . | markdownify -}} {{- end -}} + + <p>{{ i18n "poweredBy" . | safeHTML }}</p> </footer> </main> </body> |