diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7c493d7..6803c0d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -21,6 +21,8 @@ title = "Example Site" enabled = ['archive', 'tag-cloud'] [params.widgets.archive] limit = 5 + ### Archive page relative URL + path = "archive" [params.widgets.tagCloud] limit = 10 [params.opengraph] diff --git a/layouts/partials/widget/archive.html b/layouts/partials/widget/archive.html index 7e44f63..795051f 100644 --- a/layouts/partials/widget/archive.html +++ b/layouts/partials/widget/archive.html @@ -12,7 +12,7 @@ {{ range first .Site.Params.widgets.archive.limit ($archive) }} {{ $id := lower (replace .Key " " "-") }}
- + {{ .Key }} {{ len .Pages }}