diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 2449f5f..4c5623f 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -25,4 +25,5 @@ require ( github.com/gethugothemes/hugo-modules/tab v0.0.0-20230731024856-cab17e406beb // indirect github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230731024856-cab17e406beb // indirect github.com/gethugothemes/hugo-modules/videos v0.0.0-20230731024856-cab17e406beb // indirect + github.com/zeon-studio/hugoplate v0.0.0-20230731041653-56544f9e8606 // indirect ) diff --git a/layouts/index.html b/layouts/index.html index c46a08b..1f432f9 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -16,7 +16,7 @@ {{ if .enable }} {{ .label }} - + {{ end }} {{ end }} @@ -59,6 +59,14 @@ {{ end }} + {{ with .button }} + {{ if .enable }} + + {{ .label }} + + + {{ end }} + {{ end }}