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