From d8559771a5b79d5a706039796551af7a055113ee Mon Sep 17 00:00:00 2001 From: Hauke Stieler Date: Fri, 23 Aug 2019 15:11:32 +0200 Subject: Add screenshots to README --- README.md | 6 ++++++ images/website_desktop.png | Bin 0 -> 768217 bytes images/website_mobile.png | Bin 0 -> 351419 bytes 3 files changed, 6 insertions(+) create mode 100644 images/website_desktop.png create mode 100644 images/website_mobile.png diff --git a/README.md b/README.md index 6cd7434..2d392c9 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ Hamburg is a simple and clean blog theme for [Hugo](http://gohugo.io/) based on the [vienna-theme](https://github.com/keichi/vienna) from [keichi](https://github.com/keichi). +# Screenshots + +![Beautiful on desktop devices][images/website_desktop.png] + +![Also beautiful on mobile devices][images/website_mobile.png] + # Overview Notable features I would tell somebody are: diff --git a/images/website_desktop.png b/images/website_desktop.png new file mode 100644 index 0000000..087cc84 Binary files /dev/null and b/images/website_desktop.png differ diff --git a/images/website_mobile.png b/images/website_mobile.png new file mode 100644 index 0000000..38cd46c Binary files /dev/null and b/images/website_mobile.png differ -- cgit v1.2.3 From a9d13a5d850f50f6ba32c3b2a59ad7133a6194e5 Mon Sep 17 00:00:00 2001 From: Hauke Stieler Date: Fri, 23 Aug 2019 15:13:13 +0200 Subject: Fix image link in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2d392c9..9c5c5ce 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ Hamburg is a simple and clean blog theme for [Hugo](http://gohugo.io/) based on # Screenshots -![Beautiful on desktop devices][images/website_desktop.png] +![Beautiful on desktop devices][https://github.com/hauke96/hugo-theme-hamburg/blob/dev/images/website_desktop.png] -![Also beautiful on mobile devices][images/website_mobile.png] +![Also beautiful on mobile devices][https://github.com/hauke96/hugo-theme-hamburg/blob/dev/images/website_mobile.png] # Overview -- cgit v1.2.3 From 205969c849242b5024063ad0bffa57c902fd575e Mon Sep 17 00:00:00 2001 From: Hauke Stieler Date: Fri, 23 Aug 2019 15:18:14 +0200 Subject: Fix broken markdown Shame on me :( --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c5c5ce..6d176c9 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ Hamburg is a simple and clean blog theme for [Hugo](http://gohugo.io/) based on # Screenshots -![Beautiful on desktop devices][https://github.com/hauke96/hugo-theme-hamburg/blob/dev/images/website_desktop.png] +## Desktop +![Beautiful on desktop devices](https://github.com/hauke96/hugo-theme-hamburg/blob/dev/images/website_desktop.png) -![Also beautiful on mobile devices][https://github.com/hauke96/hugo-theme-hamburg/blob/dev/images/website_mobile.png] +## Mobile +![Also beautiful on mobile devices](https://github.com/hauke96/hugo-theme-hamburg/blob/dev/images/website_mobile.png) # Overview -- cgit v1.2.3 From f7ab30b4c67273b332a7b6828a029252a62dac6c Mon Sep 17 00:00:00 2001 From: whchi Date: Thu, 16 Jan 2020 12:27:03 +0800 Subject: fix pagination not working issue --- layouts/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index f24966c..65d8284 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,6 +1,7 @@ {{ partial "header.html" . }}
- {{ range $index, $page := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} + {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} + {{ range $index, $page := $paginator.Pages }} {{ if ne $index 0 }}
{{ end }} -- cgit v1.2.3