diff --git a/i18n/br.yaml b/i18n/br.yaml index 76dabc3..98cbc47 100644 --- a/i18n/br.yaml +++ b/i18n/br.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Hugo v{{ .Hugo.Version }} powered  •  Tema por Beautiful Jekyll adaptado para Beautiful Hugo' + translation: 'Hugo v{{ .Site.Hugo.Version }} powered  •  Tema por Beautiful Jekyll adaptado para Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/de.yaml b/i18n/de.yaml index d2774cf..be3a79a 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Hugo v{{ .Hugo.Version }} powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo' + translation: 'Hugo v{{ .Site.Hugo.Version }} powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/en.yaml b/i18n/en.yaml index a4c316e..ce90070 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Hugo v{{ .Hugo.Version }} powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo' + translation: 'Hugo v{{ .Site.Hugo.Version }} powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/eo.yaml b/i18n/eo.yaml index 8d56660..68540ca 100644 --- a/i18n/eo.yaml +++ b/i18n/eo.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Hugo v{{ .Hugo.Version }}-povigita  •  Haŭto de Beautiful Jekyll adaptiĝis al Beautiful Hugo' + translation: 'Hugo v{{ .Site.Hugo.Version }}-povigita  •  Haŭto de Beautiful Jekyll adaptiĝis al Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/es.yaml b/i18n/es.yaml index 2ce455d..6c0850f 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Hugo v{{ .Hugo.Version }} powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo' + translation: 'Hugo v{{ .Site.Hugo.Version }} powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/fr.yaml b/i18n/fr.yaml index ddac58d..ed85a9b 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Carbure avec Hugo v{{ .Hugo.Version }} •  Avec le Theme Beautiful Jekyll adapté en Beautiful Hugo' + translation: 'Carbure avec Hugo v{{ .Site.Hugo.Version }} •  Avec le Theme Beautiful Jekyll adapté en Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/it.yaml b/i18n/it.yaml index 543a726..4bf0305 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Sviluppato con Hugo v{{ .Hugo.Version }}  •  Tema: Beautiful Jekyll adattato a Beautiful Hugo' + translation: 'Sviluppato con Hugo v{{ .Site.Hugo.Version }}  •  Tema: Beautiful Jekyll adattato a Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/ja.yaml b/i18n/ja.yaml index 2e6b869..f810b0b 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '起動力にHugo v{{ .Hugo.Version }}  •  テーマにBeautiful Jekyllに基づいているBeautiful Hugo' + translation: '起動力にHugo v{{ .Site.Hugo.Version }}  •  テーマにBeautiful Jekyllに基づいているBeautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/nb.yaml b/i18n/nb.yaml index 11002d6..cd12ec6 100644 --- a/i18n/nb.yaml +++ b/i18n/nb.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Kjører på Hugo v{{ .Hugo.Version }} •  Tema fra Beautiful Jekyll tilpasset til Beautiful Hugo' + translation: 'Kjører på Hugo v{{ .Site.Hugo.Version }} •  Tema fra Beautiful Jekyll tilpasset til Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/nl.yaml b/i18n/nl.yaml index ab51ec3..02993bb 100644 --- a/i18n/nl.yaml +++ b/i18n/nl.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Hugo v{{ .Hugo.Version }}-aangedreven  •  Thema door Beautiful Jekyll aangepast voor Beautiful Hugo' + translation: 'Hugo v{{ .Site.Hugo.Version }}-aangedreven  •  Thema door Beautiful Jekyll aangepast voor Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/pl.yaml b/i18n/pl.yaml index cbc8efc..e3d4f8b 100644 --- a/i18n/pl.yaml +++ b/i18n/pl.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'Hugo v{{ .Hugo.Version }} powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo' + translation: 'Hugo v{{ .Site.Hugo.Version }} powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo' # Navigation - id: toggleNavigation diff --git a/i18n/ru.yaml b/i18n/ru.yaml index 8b37143..e05bdb4 100644 --- a/i18n/ru.yaml +++ b/i18n/ru.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: 'На базе Hugo v{{ .Hugo.Version }}  •  Тема Beautiful Hugo на базе Beautiful Jekyll' + translation: 'На базе Hugo v{{ .Site.Hugo.Version }}  •  Тема Beautiful Hugo на базе Beautiful Jekyll' # Navigation - id: toggleNavigation diff --git a/i18n/zh-CN.yaml b/i18n/zh-CN.yaml index ff6807f..9b104c3 100644 --- a/i18n/zh-CN.yaml +++ b/i18n/zh-CN.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '由 Hugo v{{ .Hugo.Version }} 强力驱动  •  主题 Beautiful Hugo 移植自 Beautiful Jekyll' + translation: '由 Hugo v{{ .Site.Hugo.Version }} 强力驱动  •  主题 Beautiful Hugo 移植自 Beautiful Jekyll' # Navigation - id: toggleNavigation diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml index 17d9234..fea27b0 100644 --- a/i18n/zh-TW.yaml +++ b/i18n/zh-TW.yaml @@ -33,7 +33,7 @@ # Footer - id: poweredBy # Accepts HTML - translation: '由 Hugo v{{ .Hugo.Version }} 提供  •  主題 Beautiful Hugo 移植自 Beautiful Jekyll' + translation: '由 Hugo v{{ .Site.Hugo.Version }} 提供  •  主題 Beautiful Hugo 移植自 Beautiful Jekyll' # Navigation - id: toggleNavigation diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 164a75c..5e52b60 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -47,12 +47,12 @@ diff --git a/layouts/index.html b/layouts/index.html index 7be74c8..d7544e2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -49,12 +49,12 @@ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 65c5616..030f657 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -17,11 +17,7 @@ {{ end }} {{ if .Site.Params.rss }}
  • - {{ if .RSSLink }} - - {{ else }} - - {{ end }} + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index fef8579..2c872b4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -57,11 +57,11 @@ {{- with .Site.Params.fb_app_id }} {{- end }} - + - {{ .Hugo.Generator -}} + {{ hugo.Generator -}} diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 61f6637..09c57d0 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -18,7 +18,7 @@ {{ end }} {{- if .Site.Params.staticman -}}  |   - {{ $slug := replace .URL "/" "" }} + {{ $slug := replace .relPermalink "/" "" }} {{ if .Site.Data.comments }} {{ $comments := index $.Site.Data.comments $slug }} {{ if $comments }} diff --git a/layouts/partials/seo/opengraph.html b/layouts/partials/seo/opengraph.html index 19e6ee0..9a14a07 100644 --- a/layouts/partials/seo/opengraph.html +++ b/layouts/partials/seo/opengraph.html @@ -10,6 +10,6 @@ {{- with .Site.Params.fb_app_id }} {{- end }} - + - \ No newline at end of file + diff --git a/layouts/partials/staticman-comments.html b/layouts/partials/staticman-comments.html index 8f54b02..3662c8e 100644 --- a/layouts/partials/staticman-comments.html +++ b/layouts/partials/staticman-comments.html @@ -1,6 +1,6 @@
    - {{ $slug := replace .URL "/" "" }} + {{ $slug := replace .relPermalink "/" "" }} {{ if .Site.Data.comments }} {{ $comments := index $.Site.Data.comments $slug }} @@ -36,7 +36,7 @@
    - + {{ if .Site.Params.staticman.recaptcha }}