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_RSS = None
|
||||
|
||||
#STATIC_PATHS = ['extra/favicon.ico', 'images']
|
||||
STATIC_PATHS = ['extra/favicon.ico', 'images']
|
||||
|
||||
THEME = 'themes/default'
|
||||
THEME_STATIC_DIR = 'theme'
|
||||
|
@ -13,15 +13,16 @@ header#banner{
|
||||
text-decoration: none;
|
||||
}
|
||||
nav#menu{
|
||||
width: 100%;
|
||||
width: calc(100% - 1em);
|
||||
text-align: center;
|
||||
background-color: magenta;
|
||||
border-radius: 1em;
|
||||
padding: 0.5em;
|
||||
}
|
||||
nav#menu li{
|
||||
background-color: white;
|
||||
border-radius: 1em;
|
||||
margin:1em 0;
|
||||
margin:0.5em 0;
|
||||
padding:1em;
|
||||
list-style: none;
|
||||
display: inline-block;
|
||||
|
@ -5,3 +5,18 @@
|
||||
{% block content_title %}
|
||||
<h1>Overview</h1>
|
||||
{% 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 content_title %}
|
||||
<h1 class="category">{{ category }}</h1>
|
||||
<h1 class="category">{{ category }}</h1>
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user