better fix for lists

This commit is contained in:
Anish Lakhwara 2022-02-08 22:51:31 +10:00
parent 15a96b5846
commit ef7a0c7812
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<ul class='listing'> <ul class='listing'>
{% for entry in entries %} {% for entry in entries %}
<div style='overflow: hidden; display:flex; justify-content: space-between;position:relative'> <div style='overflow: hidden; display:flex; justify-content: space-between;position:relative'>
<h3 style='float:left;'> <h3 style='float:left;padding-right:150px'>
{% if title %} {% if title %}
<a href='{{entry['slug']}}'>{{entry["title"]}}</a> <a href='{{entry['slug']}}'>{{entry["title"]}}</a>
{% else %} {% else %}
@ -19,7 +19,7 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</h3> </h3>
<p style='position:absolute;bottom:0;margin-left:21em'>{{entry['date']}}</p> <p style='position:absolute;bottom:0;margin-left:29em'>{{entry['date'].split(' ')[0]}}</p>
</div> </div>
{% for page in entry['tags'].split(' ') %} {% for page in entry['tags'].split(' ') %}
<a href="{{page}}_index.html"> <a href="{{page}}_index.html">

View file

@ -50,7 +50,7 @@ media="screen" title="no title" charset="utf-8">
<main> <main>
{{ page_navigation }} {{ page_navigation }}
<h1> {{page_title}} </h1> <h1> {{page_title}} </h1>
<div style='max-width:560px;'> <div style='max-width:660px;'>
<article class="flow"> <article class="flow">
{% if page_tags %} {% if page_tags %}
{% for page in page_tags %} {% for page in page_tags %}