[12/03/23] added subdomains for blog and til, sorted category links accordingly
This commit is contained in:
parent
66983f0a5c
commit
56514e3cef
46 changed files with 3106 additions and 48 deletions
24
blog/index.html
Normal file
24
blog/index.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
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