Add blank and podroll pages; implement redirect for preferred pronouns

This commit is contained in:
Fundor333
2025-08-06 19:38:51 +02:00
parent c47b50f451
commit e17f7e27b7
4 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{{ $url := "https://appletune.fundor333.com/api/podrollgroup/?format=json" }}
{{ with resources.GetRemote $url }}
{{- $content := .Content | transform.Unmarshal -}}
{{- range $content -}}
<h2>{{ .name }}</h2>
<ul>
{{- range .rows }}
<li><a href='{{.url}}'>{{.name}}</a> {{ with .feed_url }} (<a href='{{ . }}'>feed</a>)</li> {{ end }}
{{ end}}
</ul>
{{ end }}
{{ end }}