summaryrefslogtreecommitdiff
path: root/blog.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-10-20 15:47:13 -0400
committerJakob Kaivo <jkk@ung.org>2020-10-20 15:47:13 -0400
commit2635b799b0493354ec9660258d7f9899d640bac1 (patch)
tree989c0eacfd0a7ecdc123d03e56073172de286c54 /blog.h
parentac5e89a94407187de715bfca7c1c8956ef0997f6 (diff)
add RSS feed to headerHEADblog
Diffstat (limited to 'blog.h')
-rw-r--r--blog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/blog.h b/blog.h
index 470c8a9..9fceb29 100644
--- a/blog.h
+++ b/blog.h
@@ -5,11 +5,12 @@
#define HTML "<html lang=\"en\">\n"
#define META "<meta charset=\"utf-8\">\n"
#define TITLE "<title>%s</title>\n"
+#define RSS "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Feed\" href=\"/feed.xml\">"
#define ICON "<link type=\"shortcut icon\" href=\"/icon.png\">\n"
#define STYLE "<link rel=\"stylesheet\" type=\"text/css\" href=\"/style.css\">\n"
#define BODY "</head>\n<body>\n"
-#define HTML_HEAD DOCTYPE HTML META TITLE ICON STYLE BODY
+#define HTML_HEAD DOCTYPE HTML META TITLE RSS ICON STYLE BODY
#define ADDRESS "<address>Copyright &copy; %1$d <a href=\"/\">%2$s</a> &lt;<a href=\"mailto:%3$s\">%3$s</a>&gt;</address>\n"