first
This commit is contained in:
18
src/index.njk
Normal file
18
src/index.njk
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
layout: base.njk
|
||||
---
|
||||
|
||||
<h1>Fediverse Classifieds</h1>
|
||||
|
||||
<div id="ads">
|
||||
{% for tag in collections | getKeys | removeCoreTags | sortAlphabetically %}
|
||||
<h2 class="category">{{ tag }}</h2>
|
||||
<p class="tagline">{{ tag | getTagline }}</p>
|
||||
{% for post in collections[tag] %}
|
||||
<h3>{{ post.data.title }}</h3>
|
||||
<a href="https://{{ post.data.server }}/@{{ post.data.handle }}"
|
||||
target="_blank">@{{ post.data.handle }}@{{ post.data.server}}</a>
|
||||
<p>{{ post.data.blurb }}</p>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user