diff --git a/layouts/404.html b/layouts/404.html index e3a5efc..6fac33d 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -8,9 +8,9 @@
- {{ i18n "homepage" }} + {{ i18n "homepage" }} • - {{ i18n "contact" }} + {{ i18n "contact" }}
{{ end }} diff --git a/layouts/robots.txt b/layouts/robots.txt index 3303268..6759cb8 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1,6 +1,6 @@ User-agent: * {{/* If ENV production variable is false robots will be disallowed. */}} -{{ if eq $.Site.Params.env "production" }} +{{ if eq site.Params.env "production" }} Disallow: {{ else }} Disallow: / diff --git a/layouts/shortcodes/cv/awards.gohtml b/layouts/shortcodes/cv/awards.gohtml index cb224e7..69b2e5d 100644 --- a/layouts/shortcodes/cv/awards.gohtml +++ b/layouts/shortcodes/cv/awards.gohtml @@ -1,4 +1,4 @@ -{{- $awards := $.Site.Data.awards -}} +{{- $awards := site.Data.awards -}} {{- $awards = sort $awards "month" "desc" -}} {{- $awards = sort $awards "year" "desc" -}}