Fix Atom feed path
This commit is contained in:
parent
641c214743
commit
bf15b50c84
@ -2,10 +2,7 @@ base_url = "https://em.0x45.cz"
|
||||
title = "Emil Miler"
|
||||
compile_sass = true
|
||||
build_search_index = false
|
||||
|
||||
generate_feed = true
|
||||
feed_filename = "atom.xml"
|
||||
feed_limit = 10
|
||||
generate_feeds = true
|
||||
|
||||
taxonomies = [
|
||||
{name = "categories", feed = false}
|
||||
|
@ -2,5 +2,4 @@
|
||||
title = "Search All Posts"
|
||||
template = "posts.html"
|
||||
sort_by = "date"
|
||||
generate_feed = true
|
||||
+++
|
||||
|
@ -5,7 +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="alternate" type="application/atom+xml" title="Atom" href="{{ get_url(path="/atom.xml", trailing_slash=false) }}">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="icon" href="favicon.svg">
|
||||
</head>
|
||||
@ -17,7 +17,7 @@
|
||||
{% if config.extra.repository_url %}
|
||||
<a href="{{ config.extra.repository_url }}">Source</a>,
|
||||
{% endif %}
|
||||
<a href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
|
||||
<a href="{{ get_url(path="/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user