adding the overview template + minor changes to the rest
This commit is contained in:
parent
69403e6c18
commit
9d535e0ec9
@ -19,7 +19,7 @@ TRANSLATION_FEED_ATOM = None
|
|||||||
AUTHOR_FEED_ATOM = None
|
AUTHOR_FEED_ATOM = None
|
||||||
AUTHOR_FEED_RSS = None
|
AUTHOR_FEED_RSS = None
|
||||||
|
|
||||||
#STATIC_PATHS = ['extra/favicon.ico', 'images']
|
STATIC_PATHS = ['extra/favicon.ico', 'images']
|
||||||
|
|
||||||
THEME = 'themes/default'
|
THEME = 'themes/default'
|
||||||
THEME_STATIC_DIR = 'theme'
|
THEME_STATIC_DIR = 'theme'
|
||||||
|
@ -13,15 +13,16 @@ header#banner{
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
nav#menu{
|
nav#menu{
|
||||||
width: 100%;
|
width: calc(100% - 1em);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: magenta;
|
background-color: magenta;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
nav#menu li{
|
nav#menu li{
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
margin:1em 0;
|
margin:0.5em 0;
|
||||||
padding:1em;
|
padding:1em;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -5,3 +5,18 @@
|
|||||||
{% block content_title %}
|
{% block content_title %}
|
||||||
<h1>Overview</h1>
|
<h1>Overview</h1>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
{% for category, articles in categories|sort %}
|
||||||
|
<h1 class="category">{{ category }}</h1>
|
||||||
|
{% for article in articles %}
|
||||||
|
<article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
||||||
|
</header>
|
||||||
|
<div class="entry-content"> {{ article.summary }} </div>
|
||||||
|
<footer class="post-info"></footer>
|
||||||
|
</article>
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endblock %}
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %}
|
{% block title %}{{ SITENAME }} - {{ category }} category{% endblock %}
|
||||||
|
|
||||||
{% block content_title %}
|
{% block content_title %}
|
||||||
<h1 class="category">{{ category }}</h1>
|
<h1 class="category">{{ category }}</h1>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user