diff --git a/Gemfile b/Gemfile index fe8d471..2053075 100644 --- a/Gemfile +++ b/Gemfile @@ -5,4 +5,5 @@ gem 'jekyll', '4.1.1' group :jekyll_plugins do gem 'jekyll-sitemap', '1.4.0' gem 'jekyll-last-modified-at','1.1.0' + gem 'jekyll-image-size' end diff --git a/Gemfile.lock b/Gemfile.lock index 2c1117a..eda727d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,10 +5,11 @@ GEM public_suffix (>= 2.0.2, < 5.0) colorator (1.1.0) concurrent-ruby (1.1.7) - em-websocket (0.5.1) + em-websocket (0.5.2) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) eventmachine (1.2.7) + fastimage (2.2.0) ffi (1.13.1) forwardable-extended (2.6.0) http_parser.rb (0.6.0) @@ -29,6 +30,9 @@ GEM rouge (~> 3.0) safe_yaml (~> 1.0) terminal-table (~> 1.8) + jekyll-image-size (1.2.1) + fastimage (>= 1.8) + jekyll (>= 3.7) jekyll-last-modified-at (1.1.0) jekyll (>= 3.7, < 5.0) posix-spawn (~> 0.3.9) @@ -43,7 +47,7 @@ GEM kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.3) - listen (3.2.1) + listen (3.3.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) @@ -55,7 +59,7 @@ GEM rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.4) - rouge (3.23.0) + rouge (3.25.0) safe_yaml (1.0.5) sassc (2.4.0) ffi (~> 1.9) @@ -68,6 +72,7 @@ PLATFORMS DEPENDENCIES jekyll (= 4.1.1) + jekyll-image-size jekyll-last-modified-at (= 1.1.0) jekyll-sitemap (= 1.4.0) diff --git a/_config.yml b/_config.yml index f8bd0d6..d4b49f9 100644 --- a/_config.yml +++ b/_config.yml @@ -161,8 +161,9 @@ _explore: -# plugins: +plugins: # - jekyll-pwa-plugin + - jekyll-image-size # pwa: # enabled: false # Optional diff --git a/atom.xml b/atom.xml new file mode 100644 index 0000000..393ab02 --- /dev/null +++ b/atom.xml @@ -0,0 +1,38 @@ +--- +layout: nil +--- + + + {{ site.title }} + {{ site.description | xml_escape }} + + + {{ site.time | date_to_xmlschema }} + {{ site.url }}/atom.xml + + {{ site.publisher.name }} + {{ site.publisher.mail }} + + Copyleft {{ site.time | date: '%Y' }} {{ site.publisher.name }} + {{ site.url }}{{ site.icon }} + {{ site.url }}{{ site.icon }} + + {% for post in site.posts limit:10 %} + + {{ post.title }} + + {{ post.date | date_to_xmlschema }} + {{ post.last_modified_at | date_to_xmlschema }} + {{ site.url }}{{ post.url }} + {{ post.content | strip_html | truncate: 220 | xml_escape }} + {{ post.description }} + +{% assign author_id = post.author | prepend: "/authors/" | append: "/" %} +{% assign author = site.authors | where: "url", author_id | first %} + {{ author.name }} + {{ author.email }} + {{ author.url_staff }} + + + {% endfor %} + \ No newline at end of file diff --git a/feed.xml b/feed.xml index 1c49000..d1db814 100644 --- a/feed.xml +++ b/feed.xml @@ -2,54 +2,40 @@ layout: nil title : To Setto Setto RSS Feed --- - - - + + + {{ site.title | xml_escape }} - + {{ site.url }} {{ site.description | xml_escape }} {{ site.time | date_to_rfc822 }} en-US - hourly - 1 https://jekyllrb.com/ - {{ site.url }}/siteicon.png {{ site.title | xml_escape }} {{ site.url }} - - {{ site.social.mail }} - yes - - - {{ site.publisher.name | xml_escape }} - {{ site.publisher.mail }} - {{ site.publisher.mail }} ({{ site.publisher.name }}) Anti-Copyright 2018 {{ site.title }} - {{ site.title }} - - + {% for post in site.posts limit: 7 %} {{ post.title | xml_escape }} - {{ site.url }}{{ post.url }}?pk_campaign=RSS + {{ site.url }}{{ post.url }}?pk_campaign=rss {{ site.url }}{{ post.url }} {{ post.description | truncate: 200 | xml_escape }} Hi-Lights - {{ site.social.mail | xml_escape }} ({{ site.social.name }}) + {% assign author_id = post.author | prepend: "/authors/" | append: "/" %} + {% assign author = site.authors | where: "url", author_id | first %} + {{ author.name }} + {{ author.email }} ({{ author.name }}) {{ post.date | date_to_rfc822 }} - {{ site.publisher.mail }} - No - {{ post.description | truncate: 200 | xml_escape }} - {{ post.description | xml_escape }} - {% for tags in post.tags %}{{ tags | xml_escape | strip_html }}{% unless forloop.last %}, {% endunless %}{% endfor %} - + + {{ post.title | xml_escape }} {% endfor %}