aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2024-06-25 00:00:00 +0000
committertdro <tdro@noreply.example.com>2024-06-25 00:00:00 +0000
commit5ef678b5479fcb4510b4f605ff7713c1d1afe52d (patch)
treedddef74d366e36484fe113c0827e145c69a79d94
parente633e190a75ee918ede125e7bcfac0242fd52503 (diff)
downloadcanory-5ef678b5479fcb4510b4f605ff7713c1d1afe52d.tar.gz
canory-5ef678b5479fcb4510b4f605ff7713c1d1afe52d.tar.bz2
canory-5ef678b5479fcb4510b4f605ff7713c1d1afe52d.zip
assets/templates/author: Fix broken links
-rw-r--r--assets/templates/author.yaml15
1 files changed, 6 insertions, 9 deletions
diff --git a/assets/templates/author.yaml b/assets/templates/author.yaml
index ae7bf40..90c8fa9 100644
--- a/assets/templates/author.yaml
+++ b/assets/templates/author.yaml
@@ -1,23 +1,20 @@
---
-name: {{ .Name }}
-user: {{ .User }}
-title: {{ .Name }}'s Micro Blog
+name: {{ .Name | jsonify }}
+user: {{ .User | jsonify }}
+title: {{ print .Name "'s Micro Blog" | jsonify }}
wordlimit: 50
place: Nowhere
domain:
host: example.com
url: https://example.com
-# Accepts file path or URL
-# header: /media/header.jpg
-# picture: https://example.com/media/picture.jpg
picture:
- header:
- profile:
+ header: # media/header.jpg
+ profile: # https://example.com/media/profile.jpg
epoch: Just now
description: >
I am a nobody. Copy this [example
configuration](/data/generates/authors/{{ .User }}.yaml) to
- `data/{{ .User }}.yaml` and make me a [somebody](/data/default.yaml).
+ `data/{{ .User }}.yaml` and make me a [somebody](/data/authors/default.yaml).
feeds:
rss:
json: