Fix Atom feed path
This commit is contained in:
parent
7f1286f620
commit
95e5cc6e17
@ -2,10 +2,7 @@ base_url = "https://em.0x45.cz"
|
|||||||
title = "Emil Miler"
|
title = "Emil Miler"
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
build_search_index = false
|
build_search_index = false
|
||||||
|
generate_feeds = true
|
||||||
generate_feed = true
|
|
||||||
feed_filename = "atom.xml"
|
|
||||||
feed_limit = 10
|
|
||||||
|
|
||||||
taxonomies = [
|
taxonomies = [
|
||||||
{name = "categories", feed = false}
|
{name = "categories", feed = false}
|
||||||
|
@ -2,5 +2,4 @@
|
|||||||
title = "Search All Posts"
|
title = "Search All Posts"
|
||||||
template = "posts.html"
|
template = "posts.html"
|
||||||
sort_by = "date"
|
sort_by = "date"
|
||||||
generate_feed = true
|
|
||||||
+++
|
+++
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>{% block title %}{{ config.title }}{% endblock %}</title>
|
<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="stylesheet" href="/style.css">
|
||||||
<link rel="icon" href="favicon.svg">
|
<link rel="icon" href="favicon.svg">
|
||||||
</head>
|
</head>
|
||||||
@ -17,7 +17,7 @@
|
|||||||
{% if config.extra.repository_url %}
|
{% if config.extra.repository_url %}
|
||||||
<a href="{{ config.extra.repository_url }}">Source</a>,
|
<a href="{{ config.extra.repository_url }}">Source</a>,
|
||||||
{% endif %}
|
{% 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>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user