mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Recent posts does no longer show current page
This commit is contained in:
parent
9dd75b594f
commit
ec7b02ec34
@ -1,10 +1,12 @@
|
|||||||
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||||
<h1 class="title delta">Recent Posts</h1>
|
<h1 class="title delta">Other Posts</h1>
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
{% for post in site.posts limit: site.recent_posts %}
|
{% for post in site.posts limit: site.recent_posts %}
|
||||||
<li class="post">
|
{% if post.url != page.url %}
|
||||||
<a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a>
|
<li class="post">
|
||||||
</li>
|
<a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user