fix rss
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<h4 class="home-title"><span role="img" aria-label="book">📘</span>blog posts</h4>
|
||||
<div class="content">
|
||||
{% for post in site.blog %}
|
||||
{% for post in site.categories.blog %}
|
||||
<article class="list-post blog">
|
||||
<header class="list-post-header">
|
||||
<h2 class="list-post-title">
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
{% assign url = page.url%}
|
||||
{% for menu in site.data.menus %}
|
||||
{% if url == menu.url %}
|
||||
<a class="page-link active" href="{{ menu.url }}">{{ menu.title }}</a>
|
||||
<a class="page-link active" href="{{ menu.url | absolute_url }}">{{ menu.title }}</a>
|
||||
{% else %}
|
||||
<a class="page-link" href="{{ menu.url }}">{{ menu.title }}</a>
|
||||
<a class="page-link" href="{{ menu.url | absolute_url }}">{{ menu.title }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h4 class="home-title"><span role="img" aria-label="coffee">☕️</span>programming tips</h4>
|
||||
<div class="content">
|
||||
{% for post in site.tips %}
|
||||
{% for post in site.categories.tips reversed %}
|
||||
<article class="list-post tips">
|
||||
<header class="list-post-header tips">
|
||||
<h2 class="list-post-title">
|
||||
|
||||
Reference in New Issue
Block a user