summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml5
-rw-r--r--templates/base.html3
2 files changed, 8 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index f6740e7..597031c 100644
--- a/config.toml
+++ b/config.toml
@@ -7,6 +7,11 @@ compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
+generate_feeds = true
+feed_filenames = ["atom.xml", "rss.xml"]
+
+author = "Silas Bartha"
+
taxonomies = [
{ name = "categories", render = false },
{ name = "languages", render = false },
diff --git a/templates/base.html b/templates/base.html
index c74aceb..ba2a57e 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -4,6 +4,9 @@
<meta charset="utf-8"/>
<title>silas</title>
<link rel="stylesheet" href="/style.css"/>
+ {% block rss %}
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml", trailing_slash=false) }}">
+ {% endblock %}
</head>
<body>
<section class="section">