diff --git a/hugo-theme-moments.code-workspace b/hugo-theme-moments.code-workspace new file mode 100644 index 0000000..496c341 --- /dev/null +++ b/hugo-theme-moments.code-workspace @@ -0,0 +1,11 @@ +{ + "folders": [ + { + "path": "../.." + }, + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 090f7d0..c7fad02 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+
{{ $paginator := .Paginate ((where .Site.RegularPages "Section" "moments").ByParam "top") }} {{ range $paginator.Pages }} {{ partial "row.html" . }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3a89563..c0c8935 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,9 +1,9 @@ - + @@ -34,5 +34,8 @@ + + + {{ .Site.Params.title }} \ No newline at end of file diff --git a/layouts/partials/pic_set.html b/layouts/partials/pic_set.html index 21ca548..7318a2b 100644 --- a/layouts/partials/pic_set.html +++ b/layouts/partials/pic_set.html @@ -1,33 +1,17 @@ -