worked on footer
This commit is contained in:
parent
de725062fd
commit
1b01ffc3b9
@ -35,11 +35,19 @@ ARTICLE_SAVE_AS = '{category}/{slug}.html'
|
||||
ARTICLE_LANG_SAVE_AS = '{category}/{slug}.html'
|
||||
|
||||
|
||||
DEFAULT_DATE = "fs"
|
||||
|
||||
DEFAULT_PAGINATION = 5
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
RELATIVE_URLS = True
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Main Menu Settings #
|
||||
###############################################################################
|
||||
|
||||
DISPLAY_PAGES_ON_MENU = DISPLAY_CATEGORIES_ON_MENU = False
|
||||
MENUITEMS = (
|
||||
("Werke", (
|
||||
|
||||
@ -446,6 +446,31 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
#leave-empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img.impr {
|
||||
height: 1.2lh;
|
||||
}
|
||||
|
||||
.main-footer {
|
||||
font-size: calc(var(--pico-font-size) * .7);
|
||||
|
||||
a {
|
||||
color: var(--pico-text-color);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.muted {
|
||||
--pico-color: var(--pico-muted-color);
|
||||
}
|
||||
|
||||
.heart {
|
||||
color: red;
|
||||
}
|
||||
|
||||
/*
|
||||
.article-footer {
|
||||
margin-left: calc(var(--pico-nav-element-spacing-horizontal) * -1);
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<div class="container">
|
||||
<p>Dies ist der Footer. Trololol.</p>
|
||||
<div class="container main-footer" >
|
||||
{% set t = [ pages | map(attribute="modified") | list | max , articles | map(attribute="modified") | list | max ] | max %}
|
||||
<p>erstellt mit <a href="https://www.getpelican.com/" target="_blank">Pelican</a> und viel <span class="heart">♥</span> von Tobias Radloff | {{ t.strftime("%Y") }}</p>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user