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 index f90f518..8c89453 100644 --- a/src/twtxt.txt +++ b/src/twtxt.txt @@ -2,5 +2,5 @@ # url = {{ .Site.Other.Url }}/twtxt.txt # avatar = https://076.moe/static/suwako.png # description = テクニカル諏訪子様のtwtxtフィード -# link = Website {{ .Site.Other.Url }}{{ with .Site.Pages.Children "blog/" }}{{ range .Slice 0 500 }} +# 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 }}