Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hauke96/hugo-theme-hamburg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Stieler <mail@hauke-stieler.de>2020-01-17 17:07:48 +0300
committerHauke Stieler <mail@hauke-stieler.de>2020-01-17 17:07:48 +0300
commitf9e1b3012e22a515bc97893deb7a65e1157725ba (patch)
tree123c68179948b125059406d7a34a4927686cf9b6
parent3368d9906647a1c090d4e070b6c8d74868af06cb (diff)
parent8d3fb37aa8d973955195ebb6a4a044aa40b6a1a2 (diff)
Merge branch 'dev'v0.6.1
-rw-r--r--README.md8
-rw-r--r--images/website_desktop.pngbin0 -> 768217 bytes
-rw-r--r--images/website_mobile.pngbin0 -> 351419 bytes
-rw-r--r--layouts/index.html3
4 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6cd7434..6d176c9 100644
--- a/README.md
+++ b/README.md
@@ -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
new file mode 100644
index 0000000..087cc84
--- /dev/null
+++ b/images/website_desktop.png
Binary files differ
diff --git a/images/website_mobile.png b/images/website_mobile.png
new file mode 100644
index 0000000..38cd46c
--- /dev/null
+++ b/images/website_mobile.png
Binary files differ
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 }}