diff --git a/Gemfile b/Gemfile index 205752b7..bebb7509 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,4 @@ gem 'builder' gem 'rubysl-rexml' gem 'wdm', '>= 0.1.0' if Gem.win_platform? gem 'jekyll-multiple-languages-plugin' +gem 'jekyll-feed' diff --git a/Gemfile.lock b/Gemfile.lock index 6929ff41..aa006f5f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -28,6 +28,8 @@ GEM pathutil (~> 0.9) rouge (>= 1.7, < 4) safe_yaml (~> 1.0) + jekyll-feed (0.11.0) + jekyll (~> 3.3) jekyll-multiple-languages-plugin (1.5.1) jekyll (>= 2.0, < 4.0) jekyll-paginate (1.1.0) @@ -62,6 +64,7 @@ PLATFORMS DEPENDENCIES builder jekyll + jekyll-feed jekyll-multiple-languages-plugin jekyll-paginate rubysl-rexml diff --git a/_config.yml b/_config.yml index 57e697ad..f3e40c24 100644 --- a/_config.yml +++ b/_config.yml @@ -22,6 +22,11 @@ paginate_path: blog/page:num/ plugins: - jekyll-paginate - jekyll-multiple-languages-plugin + - jekyll-feed + +feed: + path: feed.atom + posts_limit: 20 # jekyll-multiple-languages-plugin settings: languages: ["en", "es", "it", "pl", "fr", "ar", "ru", "de", "nl", "pt-br", "tr", "zh-cn", "zh-tw"] diff --git a/_data/lang/ar/footer-1.yml b/_data/lang/ar/footer-1.yml index 5dd54e68..4b84e93e 100644 --- a/_data/lang/ar/footer-1.yml +++ b/_data/lang/ar/footer-1.yml @@ -9,7 +9,7 @@ - name: دليل المستخدم url: resources/user-guides/ - name: RSS Feed - url: https://getmonero.org/feed.xml + url: feed.atom - title: IRC قنوات الدردشة subfolderitems: - name: مونيرو diff --git a/_data/lang/de/footer-1.yml b/_data/lang/de/footer-1.yml index 8d4ba1db..a5b5bae8 100644 --- a/_data/lang/de/footer-1.yml +++ b/_data/lang/de/footer-1.yml @@ -11,7 +11,7 @@ - name: Bibliothek url: library - name: RSS-Feed - url: https://getmonero.org/feed.xml + url: feed.atom - title: IRC-Channels subfolderitems: - name: monero diff --git a/_data/lang/en/footer-1.yml b/_data/lang/en/footer-1.yml index 79980261..1a129231 100644 --- a/_data/lang/en/footer-1.yml +++ b/_data/lang/en/footer-1.yml @@ -11,7 +11,7 @@ - name: Library url: library - name: RSS Feed - url: rss + url: feed.atom - title: IRC Channels subfolderitems: - name: monero diff --git a/_data/lang/es/footer-1.yml b/_data/lang/es/footer-1.yml index d2939549..06af6741 100644 --- a/_data/lang/es/footer-1.yml +++ b/_data/lang/es/footer-1.yml @@ -11,7 +11,7 @@ - name: Librería url: library - name: RSS Feed - url: https://getmonero.org/feed.xml + url: feed.atom - title: Canales IRC subfolderitems: - name: monero diff --git a/_data/lang/fr/footer-1.yml b/_data/lang/fr/footer-1.yml index 4968602a..cff985fb 100644 --- a/_data/lang/fr/footer-1.yml +++ b/_data/lang/fr/footer-1.yml @@ -11,7 +11,7 @@ - name: Librairie url: library - name: Flux RSS - url: https://getmonero.org/feed.xml + url: feed.atom - title: Canaux IRC subfolderitems: - name: monero diff --git a/_data/lang/it/footer-1.yml b/_data/lang/it/footer-1.yml index 0cfd356b..9ff085a6 100644 --- a/_data/lang/it/footer-1.yml +++ b/_data/lang/it/footer-1.yml @@ -11,7 +11,7 @@ - name: Libreria url: library - name: Feed RSS - url: https://getmonero.org/feed.xml + url: feed.atom - title: Chat IRC subfolderitems: - name: monero diff --git a/_data/lang/nl/footer-1.yml b/_data/lang/nl/footer-1.yml index bf23153c..09661255 100644 --- a/_data/lang/nl/footer-1.yml +++ b/_data/lang/nl/footer-1.yml @@ -11,7 +11,7 @@ - name: Bibliotheek url: library - name: RSS-kanaal - url: https://getmonero.org/feed.xml + url: feed.atom - title: IRC-kanalen subfolderitems: - name: monero diff --git a/_data/lang/pl/footer-1.yml b/_data/lang/pl/footer-1.yml index d2a92163..46d421c1 100644 --- a/_data/lang/pl/footer-1.yml +++ b/_data/lang/pl/footer-1.yml @@ -11,7 +11,7 @@ - name: Księgarnia url: library - name: Kanał RSS - url: https://getmonero.org/feed.xml + url: feed.atom - title: Kanały IRC subfolderitems: - name: monero diff --git a/_data/lang/pt-br/footer-1.yml b/_data/lang/pt-br/footer-1.yml index dfd48d1a..823736e4 100644 --- a/_data/lang/pt-br/footer-1.yml +++ b/_data/lang/pt-br/footer-1.yml @@ -11,7 +11,7 @@ - name: Biblioteca url: library - name: RSS Feed - url: https://getmonero.org/feed.xml + url: feed.atom - title: Canais no IRC subfolderitems: - name: monero diff --git a/_data/lang/ru/footer-1.yml b/_data/lang/ru/footer-1.yml index d034a3fc..b0921463 100644 --- a/_data/lang/ru/footer-1.yml +++ b/_data/lang/ru/footer-1.yml @@ -11,7 +11,7 @@ - name: Библиотека url: library - name: Канал RSS - url: https://getmonero.org/feed.xml + url: feed.atom - title: Каналы IRC subfolderitems: - name: monero diff --git a/_data/lang/tr/footer-1.yml b/_data/lang/tr/footer-1.yml index 32a82fc8..b7c66b36 100644 --- a/_data/lang/tr/footer-1.yml +++ b/_data/lang/tr/footer-1.yml @@ -11,7 +11,7 @@ - name: Kütüphane url: library - name: RSS Besleme - url: https://getmonero.org/feed.xml + url: feed.atom - title: IRC Kanalları subfolderitems: - name: monero diff --git a/_data/lang/zh-cn/footer-1.yml b/_data/lang/zh-cn/footer-1.yml index e0bd2c30..1a129231 100644 --- a/_data/lang/zh-cn/footer-1.yml +++ b/_data/lang/zh-cn/footer-1.yml @@ -11,7 +11,7 @@ - name: Library url: library - name: RSS Feed - url: https://getmonero.org/feed.xml + url: feed.atom - title: IRC Channels subfolderitems: - name: monero diff --git a/_data/lang/zh-tw/footer-1.yml b/_data/lang/zh-tw/footer-1.yml index 098a8030..b6d42e9a 100644 --- a/_data/lang/zh-tw/footer-1.yml +++ b/_data/lang/zh-tw/footer-1.yml @@ -11,7 +11,7 @@ - name: 圖書出版品 url: library - name: RSS 摘要 - url: https://getmonero.org/feed.xml + url: feed.atom - title: IRC 頻道 subfolderitems: - name: monero diff --git a/_includes/head.html b/_includes/head.html index c0fff453..e980098b 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -48,4 +48,7 @@ + + {% feed_meta %} + diff --git a/_layouts/blog_by_tag.html b/_layouts/blog_by_tag.html index cd4ae8a2..5a26a7d4 100644 --- a/_layouts/blog_by_tag.html +++ b/_layouts/blog_by_tag.html @@ -53,10 +53,10 @@ layout: custom {% else %}
diff --git a/blog/index.html b/blog/index.html index f9a41d75..f2d91e43 100644 --- a/blog/index.html +++ b/blog/index.html @@ -39,7 +39,10 @@ title: titles.blogbytag