get posts
Get a collection of all posts and display the title and the url in a list format.
<ul>
{% for post in site.posts %}
<li>
<a href="proxy.php?url=https%3A%2F%2Fshortcode.dev%2F%3Cspan+class%3D"p">{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
copy