RSS Feed!
This commit is contained in:
parent
8086ae3f19
commit
62e9235e66
2
Gemfile
2
Gemfile
@ -16,6 +16,8 @@ gem "minima", "~> 2.5"
|
||||
# If you have any plugins, put them here!
|
||||
group :jekyll_plugins do
|
||||
gem "jekyll-feed", "~> 0.12"
|
||||
gem "jekyll-sitemap"
|
||||
gem "jekyll-file-size"
|
||||
end
|
||||
|
||||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
|
@ -36,10 +36,13 @@ GEM
|
||||
webrick (~> 1.7)
|
||||
jekyll-feed (0.17.0)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-file-size (0.0.7)
|
||||
jekyll-sass-converter (3.0.0)
|
||||
sass-embedded (~> 1.54)
|
||||
jekyll-seo-tag (2.8.0)
|
||||
jekyll (>= 3.8, < 5.0)
|
||||
jekyll-sitemap (1.4.0)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-watch (2.2.1)
|
||||
listen (~> 3.0)
|
||||
kramdown (2.4.0)
|
||||
@ -80,6 +83,8 @@ DEPENDENCIES
|
||||
http_parser.rb (~> 0.6.0)
|
||||
jekyll (~> 4.3.3)
|
||||
jekyll-feed (~> 0.12)
|
||||
jekyll-file-size
|
||||
jekyll-sitemap
|
||||
minima (~> 2.5)
|
||||
tzinfo (>= 1, < 3)
|
||||
tzinfo-data
|
||||
|
@ -14,3 +14,5 @@ defaults:
|
||||
type: "comic"
|
||||
values:
|
||||
layout: "comic"
|
||||
|
||||
url: https://abslimeware.neocities.org
|
||||
|
@ -1,4 +1,8 @@
|
||||
<a href="/">back</a><br><br>
|
||||
<a href="/assets/rss/comic.xml">
|
||||
<img src="/assets/images/blinkers/rss.png" />
|
||||
RSS
|
||||
</a>
|
||||
{% for post in site.comic %}
|
||||
{% if post.title == "comic index" %}
|
||||
{% continue %}
|
||||
|
BIN
assets/images/blinkers/rss.png
Normal file
BIN
assets/images/blinkers/rss.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
26
assets/rss/comic.xml
Normal file
26
assets/rss/comic.xml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
layout: null
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>slime pond comics</title>
|
||||
<link>https://abslimeware.neocities.org</link>
|
||||
<description>a very slimy themed comic
|
||||
FEED MAY BE BUGGY
|
||||
</description>
|
||||
{% for post in site.comic reversed limit:10 %}
|
||||
<item>
|
||||
<title>{{ post.title | downcase }}</title>
|
||||
<link>{{ post.url | absolute_url }}</link>
|
||||
<guid>{{ post.url }}</guid>
|
||||
<pubDate>{{ post.date | date_to_xmlscema }}</pubDate>
|
||||
<description>Click to add description..</description>
|
||||
{% capture fullimg %}/assets/images/{{ post.image }}{% endcapture %}
|
||||
<enclosure url="{{ fullimg | absolute_url }}"
|
||||
length="{{ fullimg | prepend: '.' | file_size }}"
|
||||
type="image/png" />
|
||||
</item>
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
Loading…
x
Reference in New Issue
Block a user