little fixes

This commit is contained in:
Lukasz Skotarek 2020-04-04 17:04:23 +02:00
parent 73dd6adab0
commit 1cb3079324
4 changed files with 15 additions and 14 deletions

View file

@ -29,7 +29,7 @@
<nav>
<a href="{{ site.baseurl }}/">Blog</a>
<a href="{{ site.baseurl }}/tags">Tags</a>
<!-- <a href="{{ site.baseurl }}/categories">Posts by categories</a> -->
<a href="{{ site.baseurl }}/categories">Categories</a>
<a href="{{ site.baseurl }}/about">About</a>
</nav>
</header>

View file

@ -6,6 +6,6 @@ post_date: 2020-04-04 08:00:00
categories: [announcements, new_blog]
---
#Hello! I'm back!
### Hello! I'm back!
Decided to return to blogging. As you can see I have new layout (also decided to go with more minimalist approach). While I may not be better writer as I almost didn't write since last post, I surely have a bit more things to say. Stay tuned!

13
categories.html Normal file
View file

@ -0,0 +1,13 @@
---
layout: page
title: Posts by categories
permalink: /categories/
---
{% for category in site.categories %}
<h3>{{ category[0] }}</h3>
<ul>
{% for post in category[1] %}
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endfor %}

View file

@ -1,12 +0,0 @@
---
layout: page
title: Posts by categories
permalink: /categories/
---
{% for category in site.categories %}
*{{ category[0] }}
{% for post in category[1] %}
⋅⋅*[{{ post.title }}]({{ post.url }}
{% endfor %}
{% endfor %}