diff --git a/themes/gohugoioTheme/README.md b/themes/gohugoioTheme/README.md index c95c9e739..1898fb19a 100644 --- a/themes/gohugoioTheme/README.md +++ b/themes/gohugoioTheme/README.md @@ -1 +1,7 @@ -Theme for gohugo.io sites. More info to come. +# GoHugo Sites Theme + +Theme for gohugo.io sites: +* [https://gohugo.io/](https://gohugo.io/) +* [https://themes.gohugo.io/](https://themes.gohugo.io/) + +More info to come. diff --git a/themes/gohugoioTheme/layouts/404.html b/themes/gohugoioTheme/layouts/404.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/_default/baseof.html b/themes/gohugoioTheme/layouts/_default/baseof.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/_default/list.html b/themes/gohugoioTheme/layouts/_default/list.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/_default/single.html b/themes/gohugoioTheme/layouts/_default/single.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/_default/taxonomy.html b/themes/gohugoioTheme/layouts/_default/taxonomy.html index 9968398b2..77d1812d9 100644 --- a/themes/gohugoioTheme/layouts/_default/taxonomy.html +++ b/themes/gohugoioTheme/layouts/_default/taxonomy.html @@ -1,4 +1,4 @@ {{ define "main" }} - {{ $section_to_display := .Data.Pages }} + {{ $section_to_display := .Pages }} {{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }} {{ end }} diff --git a/themes/gohugoioTheme/layouts/_default/terms.html b/themes/gohugoioTheme/layouts/_default/terms.html index 28795cf44..f6b566656 100644 --- a/themes/gohugoioTheme/layouts/_default/terms.html +++ b/themes/gohugoioTheme/layouts/_default/terms.html @@ -1,6 +1,6 @@ {{/* {{ define "header" }}{{ partial "page-header" . }}{{ end }} */}} {{ define "main" }} -{{ $section_to_display := .Data.Pages }} +{{ $section_to_display := .Pages }}
diff --git a/themes/gohugoioTheme/layouts/partials/boxes-small-news.html b/themes/gohugoioTheme/layouts/partials/boxes-small-news.html old mode 100755 new mode 100644 index ad254b6aa..0d89f057f --- a/themes/gohugoioTheme/layouts/partials/boxes-small-news.html +++ b/themes/gohugoioTheme/layouts/partials/boxes-small-news.html @@ -3,7 +3,7 @@ - {{ range first 4 ( sort (where .Data.Pages "Section" "news") "Date" "desc" ) }} + {{ range first 4 ( sort (where .Pages "Section" "news") "Date" "desc" ) }} {{ $.Scratch.Add "i" 1 }}{{ $i := $.Scratch.Get "i" }} diff --git a/themes/gohugoioTheme/layouts/partials/icon-link.html b/themes/gohugoioTheme/layouts/partials/icon-link.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/manifest.html b/themes/gohugoioTheme/layouts/partials/manifest.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/nav-links.html b/themes/gohugoioTheme/layouts/partials/nav-links.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/nav-top.html b/themes/gohugoioTheme/layouts/partials/nav-top.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/page-edit.html b/themes/gohugoioTheme/layouts/partials/page-edit.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/site-footer.html b/themes/gohugoioTheme/layouts/partials/site-footer.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/site-nav.html b/themes/gohugoioTheme/layouts/partials/site-nav.html old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/apple.svg b/themes/gohugoioTheme/layouts/partials/svg/apple.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/facebook.svg b/themes/gohugoioTheme/layouts/partials/svg/facebook.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/freebsd.svg b/themes/gohugoioTheme/layouts/partials/svg/freebsd.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/github-squared.svg b/themes/gohugoioTheme/layouts/partials/svg/github-squared.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/gopher-front.svg b/themes/gohugoioTheme/layouts/partials/svg/gopher-front.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/gopher-side_path.svg b/themes/gohugoioTheme/layouts/partials/svg/gopher-side_path.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/instagram.svg b/themes/gohugoioTheme/layouts/partials/svg/instagram.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/link-ext.svg b/themes/gohugoioTheme/layouts/partials/svg/link-ext.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/md.svg b/themes/gohugoioTheme/layouts/partials/svg/md.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/partials/svg/windows.svg b/themes/gohugoioTheme/layouts/partials/svg/windows.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/layouts/robots.txt b/themes/gohugoioTheme/layouts/robots.txt old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/css/_columns.css b/themes/gohugoioTheme/src/css/_columns.css old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/css/_tachyons.css b/themes/gohugoioTheme/src/css/_tachyons.css old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/css/_variables.css b/themes/gohugoioTheme/src/css/_variables.css old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/css/main.css b/themes/gohugoioTheme/src/css/main.css old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/css/postcss.config.js b/themes/gohugoioTheme/src/css/postcss.config.js old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/js/main.js b/themes/gohugoioTheme/src/js/main.js old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/package.json b/themes/gohugoioTheme/src/package.json old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/readme.md b/themes/gohugoioTheme/src/readme.md old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/src/webpack.config.js b/themes/gohugoioTheme/src/webpack.config.js old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/static/images/gopher-side_color.svg b/themes/gohugoioTheme/static/images/gopher-side_color.svg old mode 100755 new mode 100644 diff --git a/themes/gohugoioTheme/static/images/homepage-screenshot-hugo-themes.jpg b/themes/gohugoioTheme/static/images/homepage-screenshot-hugo-themes.jpg old mode 100755 new mode 100644