Posts
page revision: f733075, last edited: 22 May 2022, 19:12
Page source
---
layout: page
title: Posts
tags:
js:
css:
---
<div class="js-PostSearch" id="js-PostSearch">
<input class="search form-control" placeholder="Search for posts" />
<ul class="list list-group my-3">
{% for post in site.posts %}
<li class="list-group-item">
<h4 class="js-PostSearch-title">
<a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
</h4>
<div class="js-PostSearch-tags">
{% include post_tags.html %}
</div>
</li>
{% endfor %}
</ul>
</div>
Page revisions
^f733075 1) ---
^f733075 2) title: Posts
^f733075 3) layout: page
^f733075 4) permalink: /posts # permalink must be specified because this file is not in the root
^f733075 5) ---
^f733075 6)
^f733075 7) <div class="js-PostSearch" id="js-PostSearch">
^f733075 8) <input class="search form-control" placeholder="Search for posts" />
^f733075 9)
^f733075 10) <ul class="list list-group my-3">
^f733075 11) {% for post in site.posts %}
^f733075 12) <li class="list-group-item">
^f733075 13) <h4 class="js-PostSearch-title">
^f733075 14) <a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
^f733075 15) </h4>
^f733075 16) <div class="js-PostSearch-tags">
^f733075 17) {% include post_tags.html %}
^f733075 18) </div>
^f733075 19) </li>
^f733075 20) {% endfor %}
^f733075 21) </ul>
^f733075 22) </div>
