summaryrefslogtreecommitdiff
path: root/blog/src/templates
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-05-23 17:44:17 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-05-23 17:44:17 -0600
commitc99a10e28b00a913f3c6141e29a908616f625b31 (patch)
treefd302f8bc2b231fd4c05609cc39c8c7696bb0d93 /blog/src/templates
parentd8153a70dccc678d854ee0ff55bebe71f7c4417a (diff)
add rss support
Diffstat (limited to 'blog/src/templates')
-rw-r--r--blog/src/templates/common/header.html2
-rw-r--r--blog/src/templates/rss/rss.xml24
2 files changed, 26 insertions, 0 deletions
diff --git a/blog/src/templates/common/header.html b/blog/src/templates/common/header.html
index b7bcf9c..27058a8 100644
--- a/blog/src/templates/common/header.html
+++ b/blog/src/templates/common/header.html
@@ -3,7 +3,9 @@
<head>
<base href="https://static.luevano.xyz/">
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<title>$$TITLE -- Luévano's Blog</title>
+ <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS">
<link rel="icon" href="fa/svgs/solid/dragon.svg">
<!-- general style -->
diff --git a/blog/src/templates/rss/rss.xml b/blog/src/templates/rss/rss.xml
new file mode 100644
index 0000000..7b3796b
--- /dev/null
+++ b/blog/src/templates/rss/rss.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+ <channel>
+ <title>$$TITLE</title>
+ <link>$$LINK</link>
+ <atom:link href="https://blog.luevano.xyz/rss.xml" rel="self" type="application/rss+xml"/>
+ <description>A personal weblog ranging from rants to how to's and other thoughts.</description>
+ <language>en-us</language>
+ <copyright>Copyright 2021 David Luévano Alvarado</copyright>
+ <managingEditor>david@luevano.xyz (David Luévano Alvarado)</managingEditor>
+ <webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster>
+ <pubDate>$$CURRENTDATE</pubDate>
+ <lastBuildDate>$$CURRENTDATE</lastBuildDate>
+ <generator>$$PYSSGVERSION</generator>
+ <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
+ <ttl>30</ttl>
+ <image>
+ <url>https://static.luevano.xyz/images/blog.png</url>
+ <title>$$TITLE</title>
+ <link>$$LINK</link>
+ </image>
+$$ITEMS
+ </channel>
+</rss>