From 93e66d4088b348899715e1f1a891c8a6092f4116 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Wed, 3 Jun 2020 18:19:53 +0300 Subject: new feed url; exclude recipes from feed, at least for now --- config.toml | 13 ++++++++++--- templates/base.html | 2 +- templates/feed.xml | 28 ++++++++++++++++++++++++++++ templates/index.html | 2 +- 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 templates/feed.xml diff --git a/config.toml b/config.toml index 009ac8a..f4edb34 100644 --- a/config.toml +++ b/config.toml @@ -1,17 +1,24 @@ title = "A weblog by Yaroslav de la Peña Smirnov" base_url = "https://www.yaroslavps.com/" -generate_rss = true +generate_feed = true +feed_filename = "feed.xml" + compile_sass = true build_search_index = true highlight_code = true highlight_theme = "ayu-dark" +taxonomies = [ + # {name = "sections", feed = true}, + {name = "categories"}, +] + default_language = "en" languages = [ - {code = "es", search = true}, - {code = "ru", search = true}, + {code = "es", search = true, feed = false}, + {code = "ru", search = true, feed = false}, ] [extra] diff --git a/templates/base.html b/templates/base.html index bcf1487..cb9fcb7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -30,7 +30,7 @@

Navigation