From ed1e68e78b24998c53e868dbf623f7194574c744 Mon Sep 17 00:00:00 2001 From: Curtis Timson Date: Tue, 5 Apr 2022 19:17:00 +0100 Subject: =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20to=20Hugo=20v0.94=20(#44?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ⬆️ Hugo Version 0.94 * update portfolio query on home * update blog query * add netlify.toml * update theme version * update publish path * v4.4.0 --- README.md | 2 +- layouts/_default/baseof.html | 6 +++--- layouts/_default/list.html | 6 ++---- layouts/index.html | 11 +++-------- layouts/partials/footer/recentposts.html | 2 +- layouts/partials/footer/social.html | 24 ++++++++++++------------ layouts/partials/htmlhead.html | 8 ++++---- layouts/partials/nav.html | 16 ++++++++-------- layouts/partials/portfolio.html | 4 ++-- netlify.toml | 8 ++++++++ package-lock.json | 4 ++-- package.json | 4 ++-- theme.toml | 2 +- 13 files changed, 49 insertions(+), 48 deletions(-) create mode 100644 netlify.toml diff --git a/README.md b/README.md index 0c31261..11cc743 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Hugo Theme Dopetrope -![](https://img.shields.io/badge/Hugo-%5E0.19.0-ff4088?style=flat-square&logo=hugo) +![](https://img.shields.io/badge/Hugo-%5E0.94.2-ff4088?style=flat-square&logo=hugo) Dopetrope theme ported from [HTML5 UP](https://html5up.net/) for use with the [Hugo static site generator](https://gohugo.io/). diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 13c2e72..3a65983 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,9 +5,9 @@ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) --> - {{ partial "htmlhead.html" . }} + {{- partial "htmlhead.html" -}} - {{ block "main" . }} - {{ end }} + {{- block "main" . }} + {{- end }} \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8aa1e24..e9420d6 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,10 +4,8 @@
@@ -15,8 +13,8 @@
- {{ $paginator := .Paginate (where .Data.Pages "Type" .Site.Params.Blog.foldername) }} - {{ partial "blog.html" (dict "title" .Site.Params.Blog.title "paginator" $paginator) }} + {{- $paginator := .Paginate (where .Data.Pages "Type" .Site.Params.Blog.foldername) }} + {{- partial "blog.html" (dict "title" .Site.Params.Blog.title "paginator" $paginator) }}