mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
Add atom feed (at previous URL).
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 <i class="fas fa-rss ml-2"></i></a>
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</div>
|
||||
<div class="col-lg-2"></div>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,6 +1,7 @@
|
||||
---
|
||||
title: Blog
|
||||
layout: blog
|
||||
feed: true
|
||||
pagination:
|
||||
enabled: true
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user