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

9
content/blank.md Normal file
View File

@@ -0,0 +1,9 @@
---
title: "Blank"
type: page
specialpost: true
allpage: true
summary: This page intentionally left blank
---
This page intentionally left blank

8
content/podroll.md Normal file
View File

@@ -0,0 +1,8 @@
---
title: "Podroll"
type: page
specialpost: true
allpage: true
summary: A list of my favorites podcast
---
{{< opmlpodroll >}}

View File

@@ -0,0 +1,13 @@
+++
# For example, to Redirect from /old_blog to /blog, set
# url to "/old_blog" and redirect_to to "/blog" below
title = "Preferred Pronoun"
type = "redirect"
url = "/guy"
redirect_to = "https://en.pronouns.page/@fundor333"
redirect_enabled = true
private = true
aliases = ["preferred-pronoun"]
allpage = true
summary = "My preferred pronouns"
+++

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 }}