chore: now page layout
This commit is contained in:
parent
8c341c9909
commit
b7a56263b6
2 changed files with 16 additions and 17 deletions
1
.env
1
.env
|
@ -1,4 +1,3 @@
|
|||
API_KEY_LASTFM=
|
||||
API_KEY_TRAKT=
|
||||
API_KEY_WEBMENTIONS_CORYD_DEV=
|
||||
API_KEY_PINBOARD=
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue