Enable Atom feed
This commit is contained in:
parent
132296db66
commit
030045935b
@ -3,6 +3,9 @@ title = "em.0x45.cz"
|
||||
compile_sass = true
|
||||
build_search_index = false
|
||||
|
||||
generate_feed = false
|
||||
feed_filename = "atom.xml"
|
||||
|
||||
taxonomies = [
|
||||
{name = "categories", feed = false}
|
||||
]
|
||||
|
@ -1,4 +1,5 @@
|
||||
+++
|
||||
title = "All posts"
|
||||
template = "posts.html"
|
||||
generate_feed = true
|
||||
+++
|
||||
|
@ -5,6 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}{{ config.title }}{% endblock %}</title>
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom" href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
<body>
|
||||
@ -13,7 +14,7 @@
|
||||
<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
|
||||
<nav>
|
||||
<a href="">Source</a>,
|
||||
<a href="">RSS</a>
|
||||
<a href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user