diff options
| author | Franck Cuny <franck@fcuny.net> | 2021-04-06 12:33:39 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2021-04-11 11:51:39 -0700 |
| commit | 446f5c3a3cbfb890ed85ea013de5016a3b6f6040 (patch) | |
| tree | fbef999a80018aa53b9f2cc266b318fe995319f7 /layouts/taxonomy | |
| parent | layout: add date and tags to single pages (diff) | |
| download | fcuny.net-446f5c3a3cbfb890ed85ea013de5016a3b6f6040.tar.gz | |
taxonomy: add pages for tags
We want to have pages that list all the articles related to a given tag.
Update the configuration to add support for tags and the permalink
structure.
Diffstat (limited to 'layouts/taxonomy')
| -rw-r--r-- | layouts/taxonomy/tag.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html new file mode 100644 index 0000000..2b7d98a --- /dev/null +++ b/layouts/taxonomy/tag.html @@ -0,0 +1,6 @@ +{{ define "main" }} + + {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} + {{ partial "postlist" $pgs }} + +{{ end }} |
