aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-03-20 01:36:00 -0700
committerGravatar Tom Willemse2022-03-20 01:36:00 -0700
commit420088066a8a23f89bca2cffdcf332372fe116d5 (patch)
tree785f3a18f58d572764f8e9b6462cd961c0503c1a
parent6d6d37d6f79295bd30b9f9c732eaba116868994c (diff)
downloadnew-ryuslash.org-420088066a8a23f89bca2cffdcf332372fe116d5.tar.gz
new-ryuslash.org-420088066a8a23f89bca2cffdcf332372fe116d5.zip
Add link to my Mastodon account
This link has the ‘rel’ attribute of ‘me’ so that Mastodon can verify that it's my personal website.
-rw-r--r--publish.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/publish.el b/publish.el
index 57601cc..4183e08 100644
--- a/publish.el
+++ b/publish.el
@@ -76,7 +76,11 @@
(or "posts/"
(and "README.org" string-end)))
:publishing-function org-html-publish-to-html
- :html-head "<link rel=\"stylesheet\" href=\"/assets/css/main.css\" type=\"text/css\"/>")
+ :html-head "<link rel=\"stylesheet\" href=\"/assets/css/main.css\" type=\"text/css\"/>"
+ :html-postamble t
+ :html-postamble-format (("en" "<p class=\"social social-mastodon\">Find me on <a href=\"https://fosstodon.org/web/@ryuslash\" rel=\"me\">Mastodon</a></p>
+<p class=\"date\">Date: %C</p>
+<p class=\"creator\">%c</p>")))
("posts"
:base-directory "posts/"
:base-extension "org"