+
diff --git a/Makefile b/Makefile index 7544d44..72fda81 100644 --- a/Makefile +++ b/Makefile @@ -31,5 +31,10 @@ slurp_mentions: curl "https://webmention.io/api/mentions?token=$(TOKEN)"|python -mjson.tool > data/mentions.json sed -i 's/https:\/\/xsteadfastx.org/http:\/\/localhost:1313/g' data/mentions.json +new_note: + $(eval NOTE := notes/$(shell date +%Y%m%d%H%M).md) + hugo new $(NOTE) + nvim content/$(NOTE) -.PHONY: clean build docker push install_deps ftp_upload rclone_config slurp_mentions + +.PHONY: clean build docker push install_deps ftp_upload rclone_config slurp_mentions new_note diff --git a/archetypes/notes.md b/archetypes/notes.md new file mode 100644 index 0000000..02ff8c2 --- /dev/null +++ b/archetypes/notes.md @@ -0,0 +1,8 @@ +--- +title: {{ .File.BaseFileName }} +date: {{ .Date }} +slug: {{ .File.BaseFileName }} +aliases: + - /n/{{ .File.BaseFileName }} +--- + diff --git a/config.yml b/config.yml index de659bc..f3f833b 100644 --- a/config.yml +++ b/config.yml @@ -9,12 +9,14 @@ params: locallinks: - search - impressum + - notes + - all sociallinks: github: https://github.com/xsteadfastx/ twitter: https://twitter.com/xsteadfastx mastodon: https://chaos.social/@xsteadfastx flickr: https://www.flickr.com/photos/marvinxsteadfast/ - feed: https://xsteadfastx.org/index.xml + rss: https://xsteadfastx.org/index.xml description: they made me do it images: - /images/xsfxmarat1000.png diff --git a/content/all/_index.md b/content/all/_index.md new file mode 100644 index 0000000..bce3587 --- /dev/null +++ b/content/all/_index.md @@ -0,0 +1,5 @@ +--- +title: All +layout: "all" +--- +indiewebz... diff --git a/themes/xsfx/layouts/_default/baseof.html b/themes/xsfx/layouts/_default/baseof.html index ceca18c..9bf1ffb 100644 --- a/themes/xsfx/layouts/_default/baseof.html +++ b/themes/xsfx/layouts/_default/baseof.html @@ -1,18 +1,20 @@ - +
-