chore: now page layout

This commit is contained in:
Cory Dransfeldt 2023-06-03 17:19:45 -07:00
parent 8c341c9909
commit b7a56263b6
No known key found for this signature in database
2 changed files with 16 additions and 17 deletions

1
.env
View file

@ -1,4 +1,3 @@
API_KEY_LASTFM=
API_KEY_TRAKT=
API_KEY_WEBMENTIONS_CORYD_DEV=
API_KEY_PINBOARD=

View file

@ -39,6 +39,22 @@ layout: main
<a href="https://github.com/cdransf/awesome-adblock">Assembling lists of ad and tracker-blocking tools.</a>
</p>
</div>
{% if books.size > 0 %}
<h2 class="m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-6 mb-4">
Reading: books
</h2>
<div>
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for book in books %}
<li class="mt-1.5 mb-2">
<a href="{{book.link}}" title="{{book.title | escape}}">
{{ book.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if artists.size > 0 %}
<h2 class="m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
Listening: artists
@ -89,22 +105,6 @@ layout: main
</div>
</div>
{% endif %}
{% if books.size > 0 %}
<h2 class="m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-6 mb-4">
Reading: books
</h2>
<div>
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for book in books %}
<li class="mt-1.5 mb-2">
<a href="{{book.link}}" title="{{book.title | escape}}">
{{ book.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if movies.size > 0 %}
<h2 class="m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-6 mb-4">
Watching: movies