Added RSS Feeds

This commit is contained in:
Silas Bartha 2024-08-15 21:47:13 -04:00
parent 6d2f00dfe6
commit 73332a62e3
Signed by: soaos
GPG Key ID: 9BD3DCC0D56A09B2
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,11 @@ compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library # Whether to build a search index to be used later on by a JavaScript library
build_search_index = false build_search_index = false
generate_feeds = true
feed_filenames = ["atom.xml", "rss.xml"]
author = "Silas Bartha"
taxonomies = [ taxonomies = [
{ name = "categories", render = false }, { name = "categories", render = false },
{ name = "languages", render = false }, { name = "languages", render = false },

View File

@ -4,6 +4,9 @@
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title>silas</title> <title>silas</title>
<link rel="stylesheet" href="/style.css"/> <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> </head>
<body> <body>
<section class="section"> <section class="section">