diff options
author | User Mms <mms@voyager.local> | 2024-10-29 15:30:06 +0100 |
---|---|---|
committer | User Mms <mms@voyager.local> | 2024-10-29 15:30:06 +0100 |
commit | 7ed442dfa3b26483ff6cd1eeb871b40b6be97f52 (patch) | |
tree | 719c11b5cbd629b41e0681c343ba93eca0099269 /content/mirror | |
parent | 05a2bce35431329610f3cbf092dd23cc526c8684 (diff) |
feat: UF archive
Diffstat (limited to 'content/mirror')
-rw-r--r-- | content/mirror/_index.md | 0 | ||||
-rw-r--r-- | content/mirror/userfriendly/_content.gotmpl | 32 | ||||
-rw-r--r-- | content/mirror/userfriendly/index.md | 8 |
3 files changed, 40 insertions, 0 deletions
diff --git a/content/mirror/_index.md b/content/mirror/_index.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/content/mirror/_index.md diff --git a/content/mirror/userfriendly/_content.gotmpl b/content/mirror/userfriendly/_content.gotmpl new file mode 100644 index 0000000..9b6f2a0 --- /dev/null +++ b/content/mirror/userfriendly/_content.gotmpl @@ -0,0 +1,32 @@ +{{ $data := resources.Get "mirror/userfriendly/data.yaml" | transform.Unmarshal }} + + {{range $data }} + + { + "mediaType" "text/markdown" + "value" "" + }} + + {{ $dates := dict "date" (time.AsTime .date) }} + + {{ $params := dict + "assetPath" (printf "mirror/userfriendly/%s.gif" .name) + "categories" (slice "mirror") + "type" "comic" + "mirrorName" "uf" + "nolist" true + }} + + {{ $page := dict + "title" (printf "Comic for %s" .date) + "kind" "page" + "path" .name + "dates" $dates + "params" $params + "layout" "comic" + "weight" .name + }} + + {{ $.AddPage $page }} + + {{ end }} diff --git a/content/mirror/userfriendly/index.md b/content/mirror/userfriendly/index.md new file mode 100644 index 0000000..6c226df --- /dev/null +++ b/content/mirror/userfriendly/index.md @@ -0,0 +1,8 @@ ++++ +title = "User Friendly archive" +author = ["Illiad"] +date = 2024-05-19T18:10:00+02:00 +categories = ["mirror"] +kind = "taxonomy" +layout = "comic_index" ++++ |