Add an index page

This commit is contained in:
Bill Niblock 2024-03-06 18:07:05 -05:00
parent 32ef5808fa
commit aa9789b36d
5 changed files with 205 additions and 5 deletions

8
_layouts/adventures.html Normal file
View file

@ -0,0 +1,8 @@
<a href="/{{ page.source }}/{{ page.slug }}/">
<div class="card" id="adventure">
<h1>{{ page.title }}</h1>
<h3>An Adventure For {{ page.system }}</h3>
<hr>
<p>{{ content }}</p>
</div>
</a>

15
_layouts/cards.html Normal file
View file

@ -0,0 +1,15 @@
<a href="/{{ page.source }}/{{ page.slug }}/">
<div class="card">
<h1>{{ page.title }}</h1>
<hr>
<figure>
<img src="/assets/{{ page.slug }}.png" alt="{{ page.title }} Logo">
<hr>
<figcaption>{{ content }}</figcaption>
<hr>
</figure>
{% if page.system %}
<h3>An Adventure For {{ page.system }}</h3>
{% endif %}
</div>
</a>

12
_layouts/journals.html Normal file
View file

@ -0,0 +1,12 @@
<a href="/{{ page.source }}/{{ page.slug }}/">
<div class="card" id="journal">
<h1>{{ page.title }}</h1>
<hr>
<figure>
<img src="/assets/{{ page.slug }}.png" alt="{{ page.title }} Logo">
<hr>
<figcaption>{{ content }}</figcaption>
<hr>
</figure>
</div>
</a>