Add atom feed (at previous URL).

This commit is contained in:
Adin Scannell
2020-05-06 14:15:19 -07:00
parent c4775351d1
commit 97ef6434aa
6 changed files with 17 additions and 11 deletions
+2 -1
View File
@@ -7,5 +7,6 @@ RUN gem install \
jekyll-inline-svg:1.1.4 \
jekyll-paginate:1.1.0 \
kramdown-parser-gfm:1.1.0 \
jekyll-relative-links:0.6.1
jekyll-relative-links:0.6.1 \
jekyll-feed:0.13.0
CMD ["/usr/gem/gems/jekyll-4.0.0/exe/jekyll", "build", "-t", "-s", "/input", "-d", "/output"]
+3
View File
@@ -11,7 +11,10 @@ plugins:
- jekyll-autoprefixer
- jekyll-inline-svg
- jekyll-relative-links
- jekyll-feed
site_url: https://gvisor.dev
feed:
path: blog/index.xml
svg:
optimize: true
defaults:
+4 -1
View File
@@ -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>
-8
View File
@@ -13,12 +13,4 @@
margin-bottom: 0;
font-weight: 300;
}
.btn {
color: $text-color;
background-color: $inverse-link-color;
}
.btn-inverse {
color: $text-color;
background-color: #ffffff;
}
}
+7 -1
View File
@@ -104,7 +104,13 @@ code {
}
.btn {
background-color: $primary;
color: $text-color;
background-color: $inverse-link-color;
}
.btn-inverse {
color: $text-color;
background-color: #ffffff;
}
.well {
+1
View File
@@ -1,6 +1,7 @@
---
title: Blog
layout: blog
feed: true
pagination:
enabled: true
---