forked from openSUSE/planet-o-o
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,3 @@ | ||
--- | ||
layout: default | ||
--- | ||
<link rel="alternate" | ||
type="application/rss+xml" | ||
title="{{ locale[site.title] }} - {{ page.locale.name }}" | ||
href="{{ page.locale.id | append: '/rss20.xml' | absolute_url }}"> | ||
<link rel="alternate" | ||
type="application/atom+xml" | ||
title="{{ locale[site.title] }} - {{ page.locale.name }}" | ||
href="{{ page.locale.id | append: '/atom.xml' | absolute_url }}"> | ||
<script> | ||
const header_links = document.querySelectorAll('.nav-link'); | ||
// Replace rss and atom links with the local versions | ||
header_links[1].href = "{{ page.locale.id | append: '/atom.xml' | absolute_url }}"; | ||
header_links[2].href = "{{ page.locale.id | append: '/rss20.xml' | absolute_url }}"; | ||
</script> | ||
{% if paginator.page == 1 %} | ||
{% include main-info.html %} | ||
{% else %} | ||
{% include breadcrumbs.html %} | ||
{% endif %} | ||
<div class="container my-4 p-0"> | ||
{% for post in paginator.posts %} | ||
{% include calendar.html %} | ||
{% include single-post.html %} | ||
{% endfor %} | ||
{% include pagination.html %} | ||
</div> |