From 1e0cf9bbd71dcabbdccedd056a42720e5579edf9 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 6 Nov 2020 20:32:35 +0800 Subject: [PATCH] Update the dependencies --- CHANGELOG.adoc | 6 +++++- go.mod | 4 ++-- go.sum | 12 +++++------- layouts/_default/terms.html | 24 ++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 10 deletions(-) create mode 100644 layouts/_default/terms.html diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 789331d..e0b29e9 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -17,7 +17,7 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version -== [Unreleased] +== [0.1.3] - 2020-11-06 === Changed @@ -26,6 +26,10 @@ The `.PublishDate` can be manually set with the `publishdate` frontmatter variab * Link color into `base0C`. +* Update Simple Icons Hugo module. + +* Update the original theme Hugo module. + === Fixed diff --git a/go.mod b/go.mod index cc014dd..c6d8f34 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/foo-dogsquared/hugo-theme-more-contentful go 1.15 require ( - github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20201026173406-633714bb359d // indirect - github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20201030114530-c0a2488a58fb // indirect + github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20201106121650-08c012c284f2 // indirect + github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20201106111203-fd6a6c7a3839 // indirect github.com/refactoringui/heroicons v0.4.2 // indirect ) diff --git a/go.sum b/go.sum index ba2b334..97bf571 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,7 @@ -github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20201026173406-633714bb359d h1:TguVIF94zP80FbYjwlHZ8j3gIL4171o79nD6lrTOcxw= -github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20201026173406-633714bb359d/go.mod h1:IqgEwYyo2L3mFR2RoelZZ3Ncwph7QTssrZ3deCaE0us= -github.com/foo-dogsquared/hugo-theme-contentful v1.2.0 h1:if43vUzFAipKlnobL9THtW+QsmXp9ZPMe/vXY/vBofs= -github.com/foo-dogsquared/hugo-theme-contentful v1.2.0/go.mod h1:65D70b+PuQbQu0BQKQiSgp7K5vfmxrPQkcMSNIZ5nA8= -github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20201030114530-c0a2488a58fb h1:W2HZmYuXfPDq7QMW0TOMSB6uI6qqbobwXRGEiCcdk9U= -github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20201030114530-c0a2488a58fb/go.mod h1:BL7L5CENEhUx+miRRaOZ9SVC92j9MAMztirBWtTpiPc= +github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20201106121650-08c012c284f2 h1:PvpqPqEoMegk07wdzplhPOV9Nr7CYRBeVlqz535iPqg= +github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20201106121650-08c012c284f2/go.mod h1:yIWROkb+Zcex0JBLlZOnejI83GWOmz/aYtKSNXexLSk= +github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20201106111203-fd6a6c7a3839 h1:EmCHPgq800ntf7F7ME90g212BywSZRw5XlmpiP24Hdg= +github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20201106111203-fd6a6c7a3839/go.mod h1:BL7L5CENEhUx+miRRaOZ9SVC92j9MAMztirBWtTpiPc= github.com/refactoringui/heroicons v0.4.2 h1:gLYH0RH4nLh81yxAC/JgyvKIeK0d+sBVF/I2XkPb6U8= github.com/refactoringui/heroicons v0.4.2/go.mod h1:82HsLWQga7MkEl5aK8TctxPPIBlXrsyWcVTB57uipuk= -github.com/simple-icons/simple-icons v0.0.0-20201025110046-413f781fd706/go.mod h1:oOgUUt8yVYOso/wEBi2ojfZP2MU/xxiNccIpaE+jCvE= +github.com/simple-icons/simple-icons v0.0.0-20201103182019-19568e5c3824/go.mod h1:oOgUUt8yVYOso/wEBi2ojfZP2MU/xxiNccIpaE+jCvE= diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html new file mode 100644 index 0000000..4f21d92 --- /dev/null +++ b/layouts/_default/terms.html @@ -0,0 +1,24 @@ +{{ define "main" }} +{{ .Content }} + +

{{ .Title }}

+ +{{- range .Data.Terms }} + {{- $pages := .Pages }} + {{- if ge (len $pages) 1 }} +
+

{{ .Page.Title }}

+ ({{ i18n "permalink" | default "Permalink" }}) +
+ + {{- end }} +{{- end }} + +{{ end }}