Remove left-overs from the old blog

This commit is contained in:
PapaTutuWawa 2020-09-22 19:37:50 +02:00
parent 75b43524f2
commit 20aff8dc83
2 changed files with 0 additions and 72 deletions

View File

@ -1,27 +0,0 @@
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
<author>
<name>{{ site.author.name }}</name>
<email>{{ site.author.email }}</email>
<uri>{{ site.author.url }}</uri>
</author>
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
<link href="{{ site.url }}{{ post.url }}"/>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
</item>
{% endfor %}
</channel>
</rss>

View File

@ -1,45 +0,0 @@
---
layout: default
---
<h2><center>Recent Posts</center></h2>
{% for post in paginator.posts %}
<div class="post-list-item">
<h3><a class="post-title" href="{{ post.url }}">{{ post.title }}</a></h3>
<p><b>&gt; {{ post.date | date_to_string }}</b></p>
<p class="post-summary">
<div class="quote">
{{ post.excerpt }}...
</div>
</p>
</div>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="container">
<div class="horizontal">
<div class="pagination">
{% if paginator.previous_page == 1 %}
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">&laquo;</a>
{% elsif paginator.previous_page%}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">&laquo;</a>
{% else %}
<span class="page-item">&laquo;</span>
{% endif %} {% for page in (1..paginator.total_pages) %} {% if page == paginator.page %}
<span class="page-item">{{ page }}</span>
{% elsif page == 1 %}
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">{{ page }}</a>
{% else %}
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}" class="page-item">{{ page }}</a>
{% endif %} {% endfor %} {% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">&raquo;</a>
{% else %}
<span class="page-item">&raquo;</span>
{% endif %}
</div>
</div>
</div>
{% endif %}