diff options
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | images/website_desktop.png | bin | 0 -> 768217 bytes | |||
-rw-r--r-- | images/website_mobile.png | bin | 0 -> 351419 bytes | |||
-rw-r--r-- | layouts/index.html | 3 |
4 files changed, 10 insertions, 1 deletions
@@ -2,6 +2,14 @@ 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 + +## Desktop +![Beautiful on desktop devices](https://github.com/hauke96/hugo-theme-hamburg/blob/dev/images/website_desktop.png) + +## Mobile +![Also beautiful on mobile devices](https://github.com/hauke96/hugo-theme-hamburg/blob/dev/images/website_mobile.png) + # Overview Notable features I would tell somebody are: diff --git a/images/website_desktop.png b/images/website_desktop.png Binary files differnew file mode 100644 index 0000000..087cc84 --- /dev/null +++ b/images/website_desktop.png diff --git a/images/website_mobile.png b/images/website_mobile.png Binary files differnew file mode 100644 index 0000000..38cd46c --- /dev/null +++ b/images/website_mobile.png 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" . }} <div class="article-list"> - {{ 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 }} <div class="delimiter"></div> {{ end }} |