Getting the index page to be pretty-er

This commit is contained in:
Jeff MacKinnon 2022-06-17 17:42:09 -03:00
parent d8fc6a15b0
commit a7c60901af
2 changed files with 6 additions and 2 deletions

View file

@ -2280,4 +2280,8 @@ button,
padding-top: 0; } padding-top: 0; }
/* index header size */
#indexheader {
min-height: 80px;
vertical-align:bottom;
}

View file

@ -7,7 +7,7 @@
<div class="posts"> <div class="posts">
{% for article in articles_page.object_list %} {% for article in articles_page.object_list %}
<article> <article>
<header> <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header> <header> <h2 id="indexheader"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
{% if article.photo_image %} {% if article.photo_image %}
<a href="{{ SITEURL }}/{{ article.url }}" class="image"><img src="{{ SITEURL }}/{{ article.photo_image[1] }}" style="max-width: 100%; display: inline; float: center;" /></a> <a href="{{ SITEURL }}/{{ article.url }}" class="image"><img src="{{ SITEURL }}/{{ article.photo_image[1] }}" style="max-width: 100%; display: inline; float: center;" /></a>