summaryrefslogtreecommitdiffhomepage
path: root/website/_layouts
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-04-29 18:00:21 -0700
committerAdin Scannell <ascannell@google.com>2020-05-06 14:15:19 -0700
commita10d5ed9691d341c60dc8590d19302332120d365 (patch)
tree767580f7e417cd5f5c40cdc2c570bc47b60b11e0 /website/_layouts
parent7de6fb18f9a284b8f70191effd442a48c232603b (diff)
Add atom feed (at previous URL).
Diffstat (limited to 'website/_layouts')
-rw-r--r--website/_layouts/blog.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/website/_layouts/blog.html b/website/_layouts/blog.html
index e6b880225..6c371ab50 100644
--- a/website/_layouts/blog.html
+++ b/website/_layouts/blog.html
@@ -6,7 +6,10 @@ layout: base
<div class="row">
<div class="col-lg-2"></div>
<div class="col-lg-8">
- <h1>{{ page.title }}</h1>
+ <h1>{{ page.title }}</h1>
+ {% if page.feed %}
+ <a class="btn-inverse" href="/blog/index.xml">Feed&nbsp;<i class="fas fa-rss ml-2"></i></a>
+ {% endif %}
{{ content }}
</div>
<div class="col-lg-2"></div>