diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/index.ejs | 8 | ||||
-rw-r--r-- | views/rss_feed.pug | 18 |
2 files changed, 16 insertions, 10 deletions
diff --git a/views/index.ejs b/views/index.ejs index 6cc3a45..0e47f53 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -6,7 +6,7 @@ <title>Blog</title> <link rel="stylesheet" href="/master.css" type="text/css" media="screen" title="no title" charset="utf-8"> <link rel="alternate" type="application/rss+xml" title="RSS" href="/rss/feed"> - <!-- <link rel="alternate" type="application/atom+xml" title="RSS" href="/rss/feed"> --> + <!-- <link rel="alternate" type="application/atom+xml" title="RSS" href="/feed/rss"> --> </head> <body> <!-- <script>0</script> --> @@ -15,6 +15,12 @@ <br/> <hr/> <br/> + <a class="left-footer">Keywords:</a> + <%- data.Keywords %> + <br/> + <br/> + <hr/> + <br/> <a href="/archive" class="left-footer">Archive</a> <a href="/about" class="right-footer">About</a> <a class="right-footer">   </a> diff --git a/views/rss_feed.pug b/views/rss_feed.pug index 9bdd9bd..0ae2b74 100644 --- a/views/rss_feed.pug +++ b/views/rss_feed.pug @@ -1,21 +1,21 @@ doctype xml rss(version='2.0', xmlns:atom='<a href="http://www.w3.org/2005/Atom" rel="nofollow">http://www.w3.org/2005/Atom</a>') channel - title DevSmash - link <a href="http://devsmash.com" rel="nofollow">http://devsmash.com</a> - atom:link(href='<a href="http://devsmash.com/feed/rss" rel="nofollow">http://devsmash.com/feed/rss</a>', rel='self', type='application/rss+xml') - description Developers talking about stuff that developers like to talk about. + title deviblog + link <a href="https://blog.terminaldweller.com" rel="nofollow">https://blog.terminaldweller.com</a> + atom:link(href='<a href="https://blog.terminaldweller.com/feed/rss" rel="nofollow">https://blog.terminaldweller.com/feed/rss</a>', rel='self', type='application/rss+xml') + description I talk about software here. language en-US if posts.length - lastBuildDate= new Date(posts[0].publishedAt).toUTCString() + lastBuildDate= new Date(posts[0].lastUpdatedAt).toUTCString() each post in posts item title= post.title - link <a href="http://devsmash.com/blog/#{post.slug}" rel="nofollow">http://devsmash.com/blog/#{post.slug}</a> + link <a href="https://blog.terminaldweller.com/blog/#{post.slug}" rel="nofollow">https://terminaldweller.com/blog/#{post.slug}</a> description | <![CDATA[ | !{post.teaser} - p: a(href='<a href="http://devsmash.com/blog/#{post.slug}')!=" rel="nofollow">http://devsmash.com/blog/#{post.slug}')!=</a> 'Read more »' + p: a(href='<a href="https://blog.terminaldweller.com/blog/#{post.slug} rel="nofollow">https://blog.terminaldweller.com/blog/#{post.slug}</a>') 'Read more »' | ]]> - pubDate= new Date(post.publishedAt).toUTCString() - guid(isPermaLink='false') <a href="http://devsmash.com/blog/#{post.slug}" + pubDate= new Date(post.lastUpdatedAt).toUTCString() + guid(isPermaLink='false') <a href="https://blog.terminaldweller.com/blog/#{post.slug}" |