mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 19:42:37 +02:00
Update the theme with some changes
This commit is contained in:
parent
d827f038db
commit
702166cb0f
4 changed files with 14 additions and 25 deletions
|
@ -45,6 +45,8 @@ h3, h4, h5, h6 { margin-top: .8em; }
|
|||
|
||||
hr { border: 2px solid #EEEEEE; }
|
||||
|
||||
img { border: 10px black solid; display: block; margin: 20px auto;}
|
||||
|
||||
/* Anchors */
|
||||
a {outline: 0;}
|
||||
a img {border: 0px; text-decoration: none;}
|
||||
|
@ -65,7 +67,7 @@ h1 a:hover {
|
|||
}
|
||||
|
||||
/* Paragraphs */
|
||||
p {margin-bottom: 1.143em;}
|
||||
p {margin-bottom: 1.143em; text-align: justify}
|
||||
|
||||
strong, b {font-weight: bold;}
|
||||
em, i {font-style: italic;}
|
||||
|
|
|
@ -5,7 +5,8 @@ body {
|
|||
}
|
||||
|
||||
.published{
|
||||
float: right;
|
||||
display: block;
|
||||
font-style: italic;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,11 +4,8 @@
|
|||
<section id="content" class="body">
|
||||
<article>
|
||||
<header>
|
||||
<abbr class="published" title="{{ article.date.isoformat() }}">
|
||||
{{ article.locale_date }}
|
||||
</abbr>
|
||||
<h1 class="entry-title"><a href="{{ pagename }}" rel="bookmark" title="Permalink to {{ article.title }}">
|
||||
{{ article.title }}</a></h1>
|
||||
<h1 class="entry-title"><a href="{{ pagename }}" rel="bookmark" title="Permalink to {{ article.title }}"> {{ article.title }}</a></h1>
|
||||
<abbr class="published" title="{{ article.date.isoformat() }}"> {{ article.locale_date }} </abbr>
|
||||
{% include 'twitter.html' %} </header>
|
||||
<div class="entry-content">
|
||||
|
||||
|
|
|
@ -2,28 +2,17 @@
|
|||
{% block content_title %}{% endblock %}
|
||||
{% block content %}
|
||||
{% if articles %}
|
||||
<section id="content" class="body">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
{% for article in articles_page.object_list %}
|
||||
|
||||
{% if loop.first and articles_page.has_previous %}
|
||||
<section id="content" class="body">
|
||||
<ol id="posts-list" class="hfeed" start="{{ articles_paginator.per_page -1 }}">
|
||||
{% endif %}
|
||||
<li><article class="hentry">
|
||||
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
||||
title="Permalink to {{ article.title}}">{{ article.title
|
||||
}}</a></h1> {{ article.locale_date }}, in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>.
|
||||
</div><!-- /.entry-content -->
|
||||
<h1>
|
||||
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}"> {{ article.title }} </a>
|
||||
</h1> {{ article.locale_date }}, in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>.
|
||||
</article></li>
|
||||
|
||||
{% if loop.last and (articles_page.has_previous()
|
||||
or not articles_page.has_previous() and loop.length > 1) %}
|
||||
{% include 'pagination.html' %}
|
||||
{% endif %}
|
||||
{% if loop.last %}
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
{% else %}
|
||||
<section id="content" class="body">
|
||||
<h2>Pages</h2>
|
||||
|
|
Loading…
Reference in a new issue