[12/03/23] attempted fix for permalink issues
This commit is contained in:
parent
56514e3cef
commit
38d1a136e2
4 changed files with 4 additions and 4 deletions
|
@ -1,24 +0,0 @@
|
|||
---
|
||||
layout: default
|
||||
title: latest posts
|
||||
permalink: /blog
|
||||
---
|
||||
|
||||
|
||||
<hr>
|
||||
<ul style="list-style-type:none;margin:0;padding:0;">
|
||||
{% for post in site.posts %}
|
||||
{% assign categories = post.categories %}
|
||||
{% assign category = site.data.categories[categories.first] %}
|
||||
<li>
|
||||
<h4><a href="{{ post.url }}">{{ post.title }}</a></h4>
|
||||
<div style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> {{ post.date | date_to_string }} |
|
||||
<span style="background-color:{{category.backColor}};color:{{category.textColor}};"> <i class="fas fa-folder"></i> {{ categories.first }} </span>
|
||||
</div>
|
||||
{{ post.content | strip_html | truncatewords: 30 }}
|
||||
<br>
|
||||
<br>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
Loading…
Add table
Add a link
Reference in a new issue