From d625db12b8d7694884778c67d4ba5c48d966aa40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Tue, 17 Jan 2023 17:41:31 +0900 Subject: [PATCH] twtxt --- config | 3 +++ src/twtxt.txt | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 src/twtxt.txt diff --git a/config b/config index 6735de2..ce428a3 100644 --- a/config +++ b/config @@ -24,6 +24,9 @@ blog/**/*.md: blog.atom: blog/**/*.md inner-template +twtxt.txt: blog/**/*.md + inner-template + index.html: blog/**/*.md config inner-template diff --git a/src/twtxt.txt b/src/twtxt.txt new file mode 100644 index 0000000..8c89453 --- /dev/null +++ b/src/twtxt.txt @@ -0,0 +1,6 @@ +# nick = techsuwako +# url = {{ .Site.Other.Url }}/twtxt.txt +# avatar = https://076.moe/static/suwako.png +# description = テクニカル諏訪子様のtwtxtフィード +# link = ホームページ {{ .Site.Other.Url }}{{ with .Site.Pages.Children "blog/" }}{{ range .Slice 0 500 }} +{{ .Date.Format "2006-01-02T15:04:05Z09:00" }} {{ html .Title }} - {{ .Site.Other.Url }}/{{ .Url }}{{ end }}{{ end }}