forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
e549c26fcb
commit
1a8327186e
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Impressum"
|
title: "Impressum"
|
||||||
layout: "imprint"
|
layout: "generic_single"
|
||||||
---
|
---
|
||||||
Angaben gemäß § 5 TMG
|
Angaben gemäß § 5 TMG
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Newsletter"
|
title: "Newsletter"
|
||||||
layout: "newsletter"
|
layout: "generic_single"
|
||||||
---
|
---
|
||||||
Wenn ihr in unseren Newsletter aufgenommen werden wollt, schickt uns eine email!
|
Wenn ihr in unseren Newsletter aufgenommen werden wollt, schickt uns eine email!
|
||||||
|
|
||||||
|
|
12
docs/todo.de
12
docs/todo.de
|
@ -9,19 +9,14 @@ todo buha.de
|
||||||
|
|
||||||
- links in content unterstrichen
|
- links in content unterstrichen
|
||||||
|
|
||||||
- runde ecken? 2px
|
|
||||||
|
|
||||||
- stiftung via prefix filename vom bild. maximale hoehe =s wenigst hohe bild. beim footer
|
- stiftung via prefix filename vom bild. maximale hoehe =s wenigst hohe bild. beim footer
|
||||||
|
|
||||||
- generator "nachtrag": lastmod in frontmatter
|
|
||||||
|
|
||||||
- dokumentiere, das artikel der alten homepage "lastmod" mit demgenau bis ungefaehren datum der damligen erstellung, im frontmatter haben sollten, wann sie erstellt wurden.
|
- dokumentiere, das artikel der alten homepage "lastmod" mit demgenau bis ungefaehren datum der damligen erstellung, im frontmatter haben sollten, wann sie erstellt wurden.
|
||||||
|
|
||||||
- rss: das macht, das nur neue und if (Lastmod = Date) or (Lastmod gt Date.AddDate 0 0 -1)
|
- rss: das macht, das nur neue und if (Lastmod = Date) or (Lastmod gt Date.AddDate 0 0 -1)
|
||||||
|
|
||||||
- push.sh: pushen optional? commit extra? commit --amend?
|
- push.sh: pushen optional? commit extra? commit --amend?
|
||||||
|
|
||||||
- https://schlomp.space/Bunteshaus/bunteshaus.de/src/branch/main/docs/artikel_formatierung.md#absatz: durcheinander
|
|
||||||
|
|
||||||
listen:
|
listen:
|
||||||
mit preview:
|
mit preview:
|
||||||
|
@ -45,8 +40,5 @@ article
|
||||||
|
|
||||||
|
|
||||||
_default/list.html entscheided ueber home oder section
|
_default/list.html entscheided ueber home oder section
|
||||||
laedt dann partial/layout/$section
|
laedt dann partial/l1/$layout oder spezielle vorlagen, je nach layout: der section.
|
||||||
|
|
||||||
partial/layout/$section
|
|
||||||
definend dann titel, content, main
|
|
||||||
snippets dafuer
|
|
||||||
|
|
|
@ -0,0 +1,76 @@
|
||||||
|
article {
|
||||||
|
flex-grow: 1;
|
||||||
|
flex-shrink: 0;
|
||||||
|
margin-left: 1rem;
|
||||||
|
background-color: var(--background);
|
||||||
|
padding: 1rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#articletitle h2 {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
article a {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#article_list a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
article p:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
article #readmore {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#articlemeta {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#articletext img {
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#articlemeta div:first-child {
|
||||||
|
font-size: medium;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#articletext {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.multiple_small {
|
||||||
|
flex: 0 0 24%;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.multiple_big {
|
||||||
|
flex: 0 0 72%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.solo {
|
||||||
|
flex: 0 0 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#articleinner {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column-reverse;
|
||||||
|
}
|
||||||
|
|
||||||
|
#article_footer {
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-top: 0rem;
|
||||||
|
margin-bottom: 0rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
font-size: x-small;
|
||||||
|
color: var(--text-muted);
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
|
@ -0,0 +1,44 @@
|
||||||
|
@media only screen and (min-width: 600px) {
|
||||||
|
content {
|
||||||
|
min-height: 60vh;
|
||||||
|
}
|
||||||
|
details {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#sidebar {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 2rem;
|
||||||
|
}
|
||||||
|
#main {
|
||||||
|
padding-top: 1rem;
|
||||||
|
}
|
||||||
|
footer {
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
.infobox {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.minmax {
|
||||||
|
width: calc(100vw - 5rem);
|
||||||
|
max-width: 800px;
|
||||||
|
}
|
||||||
|
article {
|
||||||
|
margin-left: 0rem;
|
||||||
|
}
|
||||||
|
#article_footer {
|
||||||
|
margin-left: .8rem;
|
||||||
|
}
|
||||||
|
#articlemeta {
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
#articletext {
|
||||||
|
margin-top: -0.4rem;
|
||||||
|
}
|
||||||
|
#articleinner {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,62 @@
|
||||||
|
.minmax {
|
||||||
|
width: auto;
|
||||||
|
max-width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dfjcc {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stretch {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grow {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.style_less {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font_size_smaller {
|
||||||
|
font-size: smaller;
|
||||||
|
}
|
||||||
|
|
||||||
|
.margin_left_1rem {
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.margin_top_1rem {
|
||||||
|
margin-top: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.underline {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.align_menu {
|
||||||
|
list-style: none;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notgrow {
|
||||||
|
display: flex; flex-grow: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.min_height {
|
||||||
|
min-height: 50vh;
|
||||||
|
min-width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.no_underline {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
|
@ -259,8 +259,8 @@ h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 1rem;
|
||||||
margin-top: 24px;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
flex-direction: column-reverse;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer_color {
|
||||||
|
color: var(--links);
|
||||||
|
}
|
||||||
|
|
||||||
|
.infobox {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer div {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
fieldset {
|
||||||
|
display: flex; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#result {
|
||||||
|
white-space: pre; display: none; background: var(--background-body); padding: .6rem 0 1rem 1rem; margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#display {
|
||||||
|
-webkit-user-select: all;
|
||||||
|
user-select: all;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
input, textarea {
|
||||||
|
background-color: var(--background-body);
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
#headerinner {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
background-color: #741e94;
|
||||||
|
background: url(/images/logo_back_full.svg);
|
||||||
|
padding: .2rem;
|
||||||
|
padding-right: .7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
details {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
summary {
|
||||||
|
background-color: var(--background-alt);
|
||||||
|
padding-bottom: .2rem;
|
||||||
|
padding-top: .2rem;
|
||||||
|
list-style: none;
|
||||||
|
text-align: right;
|
||||||
|
}
|
|
@ -1,307 +0,0 @@
|
||||||
#headerinner {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
background-color: #741e94;
|
|
||||||
background: url(/images/logo_back_full.svg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
background-color: var(--background-alt);
|
|
||||||
background-image: linear-gradient(var(--background-alt), var(--background));
|
|
||||||
}
|
|
||||||
|
|
||||||
details {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
summary {
|
|
||||||
background-color: var(--background-alt);
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
details p, details section {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
aside {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
margin-left: .4rem;
|
|
||||||
font-size: 180%;
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right-sidebar {
|
|
||||||
display: none;
|
|
||||||
margin-left: 1rem;
|
|
||||||
justify-content: flex-end;
|
|
||||||
margin-right: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right-sidebar a {
|
|
||||||
color: var(--text-muted);
|
|
||||||
}
|
|
||||||
|
|
||||||
#pagination {
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-start;
|
|
||||||
margin: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pagination a {
|
|
||||||
padding-right: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu {
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
padding-right: .5rem;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu a {
|
|
||||||
margin-left: .5rem;
|
|
||||||
color: var(--text-header);
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
margin-top: 1rem;
|
|
||||||
margin-left: 1rem;
|
|
||||||
margin-right: 1rem;
|
|
||||||
flex-direction: column-reverse;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer_color {
|
|
||||||
color: var(--links);
|
|
||||||
}
|
|
||||||
|
|
||||||
.infobox {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer div {
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
p a {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
#articletitle h2 {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
article a:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
article p:first-child {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
article #readmore {
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
article {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
padding: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#articletext img {
|
|
||||||
|
|
||||||
width: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#articlemeta {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#articlemeta div:first-child {
|
|
||||||
font-size: medium;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#articleinner {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column-reverse;
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#articletext {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#articlepicture {
|
|
||||||
margin-top: .3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#articledata {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column-reverse;
|
|
||||||
}
|
|
||||||
|
|
||||||
#article_footer {
|
|
||||||
margin-left: 1rem;
|
|
||||||
margin-top: 2rem;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: stretch;
|
|
||||||
font-size: x-small;
|
|
||||||
border-top: 1px solid var(--background);
|
|
||||||
color: var(--text-muted);
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.articlebgcol1 {
|
|
||||||
background-color: var(--background);
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav-posts {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post_tag {
|
|
||||||
text-transform: capitalize;
|
|
||||||
margin-left: .5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.result {
|
|
||||||
-webkit-user-select: all;
|
|
||||||
user-select: all;
|
|
||||||
}
|
|
||||||
|
|
||||||
input, textarea {
|
|
||||||
background-color: var(--background-body);
|
|
||||||
}
|
|
||||||
|
|
||||||
.underline {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.multiple_small {
|
|
||||||
flex: 0 0 24%;
|
|
||||||
margin-right: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.multiple_big {
|
|
||||||
flex: 0 0 72%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.solo {
|
|
||||||
flex: 0 0 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.borderrad25 {
|
|
||||||
border-radius: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.borderrad4px {
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.minmax {
|
|
||||||
width: auto;
|
|
||||||
max-width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.align_menu {
|
|
||||||
list-style: none; text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.margin_left_1rem {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
.margin_top_1rem {
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.lightborder {
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Extra small devices (phones, 600px and down) */
|
|
||||||
@media only screen and (max-width: 600px) {...}
|
|
||||||
|
|
||||||
/* Small devices (portrait tablets and large phones, 600px and up) */
|
|
||||||
@media only screen and (min-width: 600px) {
|
|
||||||
details {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#headerinner {
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
.container {
|
|
||||||
min-height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 10px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
min-height: 70vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right-sidebar {
|
|
||||||
display: flex;
|
|
||||||
flex-shrink: 0;
|
|
||||||
flex-grow: 0;
|
|
||||||
margin-left: 2rem;
|
|
||||||
text-align: right;
|
|
||||||
flex-direction: column;
|
|
||||||
min-width: 15%;
|
|
||||||
min-height: 100vh;
|
|
||||||
margin-top: 1rem;
|
|
||||||
margin-right: .5rem;
|
|
||||||
justify-content: flex-start;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 10px;
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
|
|
||||||
.infobox {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
#articleinner {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
|
|
||||||
#article_footer {
|
|
||||||
margin-left: 2rem;
|
|
||||||
}
|
|
||||||
.minmax {
|
|
||||||
width: calc(100vw - 5rem);
|
|
||||||
max-width: 800px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Medium devices (landscape tablets, 768px and up) */
|
|
||||||
@media only screen and (min-width: 768px) {...}
|
|
||||||
|
|
||||||
/* Large devices (laptops/desktops, 992px and up) */
|
|
||||||
@media only screen and (min-width: 992px) {...}
|
|
||||||
|
|
||||||
/* Extra large devices (large laptops and desktops, 1200px and up) */
|
|
||||||
@media only screen and (min-width: 1200px) {...}
|
|
|
@ -0,0 +1,60 @@
|
||||||
|
img {
|
||||||
|
border-radius: 4px;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
background-color: var(--background);
|
||||||
|
background-image: linear-gradient(var(--background-alt), var(--background));
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
min-height: 60vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin-left: .4rem;
|
||||||
|
font-size: 180%;
|
||||||
|
margin-top: 0rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main {
|
||||||
|
padding-left: 1rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
aside {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
margin-left: 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes color {
|
||||||
|
0% { background: #00007f; }
|
||||||
|
20% { background: #550000; }
|
||||||
|
40% { background: #005500; }
|
||||||
|
60% { background: #55007f; }
|
||||||
|
80% { background: #00557f; }
|
||||||
|
100% { background: #00007f; }
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: #33CCCC; /* Fallback */
|
||||||
|
animation: color 60s infinite linear;
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
#pagination {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pagination a {
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
|
@ -1,18 +1,14 @@
|
||||||
[news]
|
[news]
|
||||||
one = "Neuigkeit"
|
|
||||||
other = "Neuigkeiten"
|
other = "Neuigkeiten"
|
||||||
|
|
||||||
[events]
|
[events]
|
||||||
one = "Termin"
|
|
||||||
other = "Termine"
|
other = "Termine"
|
||||||
|
|
||||||
[event]
|
[event]
|
||||||
one = "Termin"
|
|
||||||
other = "Termine"
|
other = "Termine"
|
||||||
|
|
||||||
[contact]
|
[contact]
|
||||||
one = "Kontakt"
|
other = "Kontakt"
|
||||||
other = "Kontakte"
|
|
||||||
|
|
||||||
[pobox]
|
[pobox]
|
||||||
other = "Posfach"
|
other = "Posfach"
|
||||||
|
@ -36,23 +32,15 @@ other = "Über uns"
|
||||||
other = "weiterlesen"
|
other = "weiterlesen"
|
||||||
|
|
||||||
[content]
|
[content]
|
||||||
one = "Inhalt"
|
|
||||||
other = "Inhalte"
|
other = "Inhalte"
|
||||||
|
|
||||||
[categories]
|
[categories]
|
||||||
one = "Kategorie"
|
|
||||||
other = "Kategorien"
|
other = "Kategorien"
|
||||||
|
|
||||||
[category]
|
[category]
|
||||||
one = "Kategorie"
|
|
||||||
other = "Kategorien"
|
other = "Kategorien"
|
||||||
|
|
||||||
[tags]
|
[tags]
|
||||||
one = "Tag"
|
|
||||||
other = "Tags"
|
|
||||||
|
|
||||||
[tag]
|
|
||||||
one = "Tag"
|
|
||||||
other = "Tags"
|
other = "Tags"
|
||||||
|
|
||||||
[new]
|
[new]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ $url := (printf "%s#%s" .Page.Permalink .Anchor) | safeURL }}
|
{{ $url := (printf "%s#%s" .Page.Permalink .Anchor) | safeURL }}
|
||||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
||||||
|
|
||||||
<a class="heading-anchor" href="{{ $url }}">
|
<a class="no_underline" href="{{ $url }}">
|
||||||
{{ .Text | safeHTML }}
|
{{ .Text | safeHTML }}
|
||||||
</a>
|
</a>
|
||||||
</h{{ .Level }}>
|
</h{{ .Level }}>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{{- if strings.HasPrefix .Destination "http" -}}
|
{{- if strings.HasPrefix .Destination "http" -}}
|
||||||
<a href="{{- .Destination -}}">
|
<a href="{{- .Destination -}}" class="no_underline">
|
||||||
<img loading="lazy"
|
<img loading="lazy"
|
||||||
src="{{ .Destination | safeURL }}"
|
src="{{ .Destination | safeURL }}"
|
||||||
alt="{{ .Text }}"
|
alt="{{ .Text }}"
|
||||||
{{ with .Title}} title="{{ . }}"{{ end }} />
|
{{ with .Title}} title="{{ . }}"{{ end }} />
|
||||||
<div style="display: flex; justify-content: center;">{{ .Text }}</div>
|
<div class="dfjcc">{{ .Text }}</div>
|
||||||
</a>
|
</a>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ if .Page.Resources.ByType "image" }}
|
{{ if .Page.Resources.ByType "image" }}
|
||||||
|
@ -12,24 +12,24 @@
|
||||||
{{- $pic := index (.Page.Resources.ByType "image") (int $nr) -}}
|
{{- $pic := index (.Page.Resources.ByType "image") (int $nr) -}}
|
||||||
{{- $image := .Page.Resources.GetMatch (printf "%s" ($pic | safeURL)) -}}
|
{{- $image := .Page.Resources.GetMatch (printf "%s" ($pic | safeURL)) -}}
|
||||||
<div>
|
<div>
|
||||||
<a href="{{- $image.Permalink -}}">
|
<a href="{{- $image.Permalink -}}" class="no_underline">
|
||||||
{{- $permalink := "" -}}
|
{{- $permalink := "" -}}
|
||||||
|
|
||||||
{{- if ne $image nil -}}
|
{{- if ne $image nil -}}
|
||||||
{{- $permalink = $image.RelPermalink -}}
|
{{- $permalink = $image.RelPermalink -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $image = imageConfig (printf "static/%s" (.Destination | safeURL)) -}}
|
{{- $image = imageConfig (printf "static/%s" (.Destination | safeURL)) -}}
|
||||||
{{- $permalink = (printf "/%s" (.Destination | safeURL)) -}}
|
{{- $permalink = (printf "/%s" (.Destination | safeURL)) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<div style="display: flex; justify-content: center;"><img loading="lazy"
|
<div class="dfjcc"><img loading="lazy"
|
||||||
src="{{ $permalink }}"
|
src="{{ $permalink }}"
|
||||||
alt="{{ .Text }}"
|
alt="{{ .Text }}"
|
||||||
{{ with .Title}} title="{{ . }}"{{ end }}
|
{{ with .Title}} title="{{ . }}"{{ end }}
|
||||||
width={{ $image.Width }}
|
width={{ $image.Width }}
|
||||||
height="{{ $image.Height }}" class="borderrad4px" /></div>
|
height="{{ $image.Height }}" /></div>
|
||||||
<div style="display: flex; justify-content: center;">{{ .Text }}</div>
|
<div class="dfjcc">{{ .Text }}</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -3,22 +3,22 @@
|
||||||
{{- partial "structure/head.html" . -}}
|
{{- partial "structure/head.html" . -}}
|
||||||
{{ block "css" . -}}{{- end }}
|
{{ block "css" . -}}{{- end }}
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div id="container">
|
||||||
<header>
|
<header>
|
||||||
{{ partialCached "structure/header" . }}
|
{{ partialCached "structure/header" . }}
|
||||||
{{ partial "structure/submenu" . }}
|
{{ partial "structure/submenu" . }}
|
||||||
</header>
|
</header>
|
||||||
<div class="content">
|
<main id="main">
|
||||||
<main>
|
<div id="content">
|
||||||
{{ block "title" . -}}{{- end }}
|
{{ block "title" . -}}{{- end }}
|
||||||
{{ block "calc" . -}}{{- end }}
|
{{ block "calc" . -}}{{- end }}
|
||||||
{{ block "content" . -}}{{- end }}
|
{{ block "content" . -}}{{- end }}
|
||||||
</main>
|
{{ block "pagefooter" . -}}{{- end }}
|
||||||
<aside class="right-sidebar">
|
</div>
|
||||||
|
<aside id="sidebar">
|
||||||
{{ block "sidebar" . -}}{{- end }}
|
{{ block "sidebar" . -}}{{- end }}
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</main>
|
||||||
{{ block "pagefooter" . -}}{{- end }}
|
|
||||||
<footer>
|
<footer>
|
||||||
{{- partial "snippets/footer" . -}}
|
{{- partial "snippets/footer" . -}}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if gt (len $posts) 1 }}
|
{{ if gt (len $posts) 1 }}
|
||||||
{{ partial "l1/article_list" (dict "context" . "paginator" $paginator "amount" "5" "title" "News" "type" "list") }}
|
{{ partial "l1/article_list" (dict "context" . "paginator" $paginator "amount" "5" "title" "News" "type" "list") }}
|
||||||
<div id="pagination_outer" style="display: flex; justify-content: center;">
|
<div id="pagination_outer" class="df_row_center">
|
||||||
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
|
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<article>
|
{{ if ne .context.Content "" }}
|
||||||
|
<section>
|
||||||
|
{{ partial "snippets/content" (dict "content" .context.Content) }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
<section>
|
||||||
{{ partial "debug" (dict "context" . "caller" "archive.html" )}}
|
{{ partial "debug" (dict "context" . "caller" "archive.html" )}}
|
||||||
{{ $prev := 3000}}
|
{{ $prev := 3000}}
|
||||||
{{range where site.RegularPages "Type" "in" site.Params.searchSections }}
|
{{range where site.RegularPages "Type" "in" site.Params.searchSections }}
|
||||||
|
@ -7,9 +12,9 @@
|
||||||
<h2>{{ $date.Format "2006" }}</h2>
|
<h2>{{ $date.Format "2006" }}</h2>
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="frow">
|
<div class="frow">
|
||||||
<div class="underline" style="margin-right: 1em;"><a href="{{.Permalink}}">{{ .Title }}</a></div>
|
<div class="underline"><a href="{{.Permalink}}">{{ .Title }}</a></div>
|
||||||
<div class="frow" style="margin-right: 1em;">{{- $date.Format "02" }}. {{ if $date.Format "Jan" | i18n }}{{ $date.Format "Jan" | i18n -}}{{- else -}} {{- $date.Format "Jan" -}}{{- end }} {{ $date.Format "2006 15:04" }}</div><br>
|
<div>{{- $date.Format "02" }}. {{ if $date.Format "Jan" | i18n }}{{ $date.Format "Jan" | i18n -}}{{- else -}} {{- $date.Format "Jan" -}}{{- end }} {{ $date.Format "2006 15:04" }}</div><br>
|
||||||
</div>
|
</div>
|
||||||
{{ $prev = $date.Format "2006"}}
|
{{ $prev = $date.Format "2006"}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</article>
|
</section>
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if gt (len $pages) 0 -}}
|
{{- if gt (len $pages) 0 -}}
|
||||||
{{ if .title }}<h2 style="margin-left: .6rem;">{{ .title }}</h2>{{ end }}
|
{{ if .title }}<h2>{{ .title }}</h2>{{ end }}
|
||||||
{{- range first $amount $pages -}}
|
{{- range first $amount $pages -}}
|
||||||
<article class="articlebgcol1 borderrad25">
|
<article id="article_list">
|
||||||
<a href="{{- .Permalink -}}">
|
<a href="{{- .Permalink -}}">
|
||||||
<div id="articletitle">
|
<div id="articletitle">
|
||||||
<h2>{{- .Title -}}</h2>
|
<h2>{{- .Title -}}</h2>
|
||||||
|
@ -28,9 +28,7 @@
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .paginate }}
|
{{ if .paginate }}
|
||||||
<div id="pagination_outer" style="display: flex; justify-content: center;">
|
|
||||||
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
|
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
{{ $small := "solo" }}
|
{{ $pic := "solo" }}
|
||||||
{{ $big := "solo" }}
|
{{ $text := "solo" }}
|
||||||
|
{{- if and (.context.Resources.ByType "image") (.content) -}}
|
||||||
|
{{ $pic = "multiple_small" }}
|
||||||
|
{{ $text = "multiple_big" }}
|
||||||
|
{{ end }}
|
||||||
{{ $img := "" }}
|
{{ $img := "" }}
|
||||||
{{ $thumb := "" }}
|
{{ $thumb := "" }}
|
||||||
|
{{- .Resources.ByType "image" -}}
|
||||||
{{- if .context.Resources.ByType "image" -}}
|
{{- if .context.Resources.ByType "image" -}}
|
||||||
{{- $img = index (.context.Resources.ByType "image") 0 -}}
|
{{- $img = index (.context.Resources.ByType "image") 0 -}}
|
||||||
{{- $thumb = $img.Resize "1024x" }}
|
{{- $thumb = $img.Resize "1024x" }}
|
||||||
|
@ -9,25 +14,21 @@
|
||||||
{{- $thumb = $img.Resize "500x" }}
|
{{- $thumb = $img.Resize "500x" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if or (.context.Resources.ByType "image") (.context.Summary) ($img) -}}
|
<section>
|
||||||
{{ $small = "multiple_small" }}
|
|
||||||
{{ $big = "multiple_big" }}
|
|
||||||
{{ else }}
|
|
||||||
{{ $small = "multiple_big"}}
|
|
||||||
{{ end }}
|
|
||||||
<div id="articleinner">
|
<div id="articleinner">
|
||||||
{{ if and (ne $img "") (eq .pic true)}}
|
{{ if and (ne $img "") (eq .pic true)}}
|
||||||
<div id="articlepicture" class="{{ $small }}">
|
<div id="articlepicture" class="{{ $pic }}">
|
||||||
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
||||||
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
||||||
{{ if ne .type "list" }}</a>{{ end }}
|
{{ if ne .type "list" }}</a>{{ end }}
|
||||||
{{ if eq .type "article" }}{{ end }}
|
{{ if eq .type "article" }}{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div id="articletext" class="{{ $big }}">
|
<div id="articletext" class="{{ $text }}">
|
||||||
{{ if .partial_before }}
|
{{ if .partial_before }}
|
||||||
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
|
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .content }}
|
{{ .content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{{ $small := "solo" }}
|
{{ $pic := "solo" }}
|
||||||
{{ $big := "solo" }}
|
{{ $text := "solo" }}
|
||||||
|
{{- if and (.context.Resources.ByType "image") (.context.Content) -}}
|
||||||
|
{{ $pic = "multiple_small" }}
|
||||||
|
{{ $text = "multiple_big" }}
|
||||||
|
{{ end }}
|
||||||
{{ $img := "" }}
|
{{ $img := "" }}
|
||||||
{{ $thumb := "" }}
|
{{ $thumb := "" }}
|
||||||
{{- if .context.Resources.ByType "image" -}}
|
{{- if .context.Resources.ByType "image" -}}
|
||||||
|
@ -9,25 +13,22 @@
|
||||||
{{- $thumb = $img.Resize "500x" }}
|
{{- $thumb = $img.Resize "500x" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if or (.context.Resources.ByType "image") (.context.Summary) ($img) -}}
|
|
||||||
{{ $small = "multiple_small" }}
|
<section>
|
||||||
{{ $big = "multiple_big" }}
|
|
||||||
{{ else }}
|
|
||||||
{{ $small = "multiple_big"}}
|
|
||||||
{{ end }}
|
|
||||||
<div id="articleinner">
|
<div id="articleinner">
|
||||||
{{ if and (ne $img "") (eq .pic true)}}
|
{{ if and (ne $img "") (eq .pic true)}}
|
||||||
<div id="articlepicture" class="{{ $small }}">
|
<div id="articlepicture" class="{{ $pic }}">
|
||||||
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
||||||
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
||||||
{{ if ne .type "list" }}</a>{{ end }}
|
{{ if ne .type "list" }}</a>{{ end }}
|
||||||
{{ if eq .type "article" }}{{ end }}
|
{{ if eq .type "article" }}{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div id="articletext" class="{{ $big }}">
|
<div id="articletext" class="{{ $text }}">
|
||||||
{{ if .partial_before }}
|
{{ if .partial_before }}
|
||||||
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
|
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .content }}
|
{{ .content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
|
@ -1,6 +1,12 @@
|
||||||
{{ range .context.Pages }}
|
{{ if ne .context.Content "" }}
|
||||||
<article>
|
<section>
|
||||||
<a href="{{ .Params.link }}" class="underline">{{ .Params.link }}</a>
|
{{ partial "snippets/content" (dict "content" .context.Content) }}
|
||||||
{{ .Title }}
|
</section>
|
||||||
</article>
|
{{ end }}
|
||||||
|
{{ range .context.Pages }}
|
||||||
|
<section>
|
||||||
|
<a href="{{ .Params.link }}" class="underline">{{ .Params.link }}</a><br>
|
||||||
|
{{ .Title }}<br>
|
||||||
|
<br>
|
||||||
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
<article>
|
{{ if ne .context.Content "" }}
|
||||||
|
<section>
|
||||||
|
{{ partial "snippets/content" (dict "content" .context.Content) }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
<section>
|
||||||
{{ range .context.Resources.ByType "image" }}
|
{{ range .context.Resources.ByType "image" }}
|
||||||
<img src="{{ .Permalink }}" class="borderrad4px"/>
|
<img src="{{ .Permalink }}" class="borderrad4px"/>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</article>
|
</section>
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
{{ $small := "solo" }}
|
|
||||||
{{ $big := "solo" }}
|
|
||||||
{{ $img := "" }}
|
|
||||||
{{ $thumb := "" }}
|
|
||||||
{{- if .context.Resources.ByType "image" -}}
|
|
||||||
{{- $img = index (.context.Resources.ByType "image") 0 -}}
|
|
||||||
{{- $thumb = $img.Resize "1024x" }}
|
|
||||||
{{ if .content }}
|
|
||||||
{{- $thumb = $img.Resize "500x" }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{- if or (.context.Resources.ByType "image") (.context.Summary) ($img) -}}
|
|
||||||
{{ $small = "multiple_small" }}
|
|
||||||
{{ $big = "multiple_big" }}
|
|
||||||
{{ else }}
|
|
||||||
{{ $small = "multiple_big"}}
|
|
||||||
{{ end }}
|
|
||||||
<div id="articleinner">
|
|
||||||
{{ if and (ne $img "") (eq .pic true)}}
|
|
||||||
<div id="articlepicture" class="{{ $small }}">
|
|
||||||
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
|
||||||
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
|
||||||
{{ if ne .type "list" }}</a>{{ end }}
|
|
||||||
{{ if eq .type "article" }}{{ end }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
<div id="articletext" class="{{ $big }}">
|
|
||||||
{{ if .partial_before }}
|
|
||||||
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
|
|
||||||
{{ end }}
|
|
||||||
{{ .content }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
|
@ -1,5 +0,0 @@
|
||||||
<article>
|
|
||||||
{{ range .context.Pages }}
|
|
||||||
<a href="{{ .Permalink }}">🗀 {{ .Title }}</a>
|
|
||||||
{{ end }}
|
|
||||||
</article>
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{{ if ne .context.Content "" }}
|
||||||
|
<section>
|
||||||
|
{{ partial "snippets/content" (dict "content" .context.Content) }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<section>
|
||||||
|
{{ range .context.Pages }}
|
||||||
|
<div>🗀 <a href="{{ .Permalink }}" class="underline">{{ .Title }}</a></div>
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
|
@ -1,14 +0,0 @@
|
||||||
|
|
||||||
{{ partial "debug" (dict "context" . "caller" "archive.html" )}}
|
|
||||||
{{ $prev := 3000}}
|
|
||||||
{{range where site.RegularPages "Type" "in" site.Params.searchSections }}
|
|
||||||
{{ $date := .Date }}
|
|
||||||
{{ if gt $prev ($date.Format "2006") }}
|
|
||||||
<h2>{{ $date.Format "2006" }}</h2>
|
|
||||||
{{end}}
|
|
||||||
<div class="frow">
|
|
||||||
<div class="underline" style="margin-right: 1em;"><a href="{{.Permalink}}">{{ .Title }}</a></div>
|
|
||||||
<div class="frow" style="margin-right: 1em;">{{- $date.Format "02" }}. {{ if $date.Format "Jan" | i18n }}{{ $date.Format "Jan" | i18n -}}{{- else -}} {{- $date.Format "Jan" -}}{{- end }} {{ $date.Format "2006 15:04" }}</div><br>
|
|
||||||
</div>
|
|
||||||
{{ $prev = $date.Format "2006"}}
|
|
||||||
{{end}}
|
|
|
@ -4,20 +4,16 @@
|
||||||
{{ $metas = dict "when" .context.Params.when "price" .context.Params.price }}
|
{{ $metas = dict "when" .context.Params.when "price" .context.Params.price }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $small := "solo" }}
|
{{ $pic := "solo" }}
|
||||||
{{ $big := "solo" }}
|
{{ $text := "solo" }}
|
||||||
|
|
||||||
{{- if or (.context.Resources.ByType "image") (.context.Summary) -}}
|
{{- if and (.context.Resources.ByType "image") (.context.Content) -}}
|
||||||
{{ $small = "multiple_small" }}
|
{{ $pic = "multiple_small" }}
|
||||||
{{ $big = "multiple_big" }}
|
{{ $text = "multiple_big" }}
|
||||||
{{ else }}
|
|
||||||
{{ $small = "multiple_big"}}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{ partial "snippets/article_metadata" $metas }}
|
{{ partial "snippets/article_metadata" $metas }}
|
||||||
<div id="articleinner">
|
<div id="articleinner"{{- if eq .type "article" }} class="min_height"{{- end -}}>
|
||||||
{{- if and (.context.Resources.ByType "image") (eq .pic "true") -}}
|
{{- if and (.context.Resources.ByType "image") (eq .pic "true") -}}
|
||||||
{{ $resize := "500x" }}
|
{{ $resize := "500x" }}
|
||||||
{{- $img := index (.context.Resources.ByType "image") 0 -}}
|
{{- $img := index (.context.Resources.ByType "image") 0 -}}
|
||||||
|
@ -28,7 +24,7 @@
|
||||||
{{- $thumb = $img.Resize "500x" }}
|
{{- $thumb = $img.Resize "500x" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- $thumb = $img.Resize $resize }}
|
{{- $thumb = $img.Resize $resize }}
|
||||||
<div id="articlepicture" class="{{ $small }}" >
|
<div id="articlepicture" class="{{ $pic }}" >
|
||||||
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
||||||
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
||||||
{{ if ne .type "list" }}</a>{{ end }}
|
{{ if ne .type "list" }}</a>{{ end }}
|
||||||
|
@ -36,7 +32,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if or .context.Content .context.Summary -}}
|
{{- if or .context.Content .context.Summary -}}
|
||||||
<div id="articletext" class="{{ $big }}">
|
<div id="articletext" class="{{ $text }}">
|
||||||
{{ if eq .type "contact" }}{{ partial "structure/contact" }}{{ end }}
|
{{ if eq .type "contact" }}{{ partial "structure/contact" }}{{ end }}
|
||||||
{{ if eq .type "list" }}{{- .context.Summary -}}{{ else }}{{- .context.Content -}}{{ end }}
|
{{ if eq .type "list" }}{{- .context.Summary -}}{{ else }}{{- .context.Content -}}{{ end }}
|
||||||
{{ if and .context.Truncated (eq .type "list") }}
|
{{ if and .context.Truncated (eq .type "list") }}
|
||||||
|
@ -51,7 +47,7 @@
|
||||||
<div id="article_footer">
|
<div id="article_footer">
|
||||||
{{ with .Params.foundations }}
|
{{ with .Params.foundations }}
|
||||||
<b>Träger der Veranstaltung:</b>
|
<b>Träger der Veranstaltung:</b>
|
||||||
<div style="display: flex; flex-direction: row; height: 2rem; margin-bottom: 1rem; margin-top: .4rem;">
|
<div style="display: flex; flex-direction: row; height: 2rem; margin-bottom: 1rem; margin-top: .5rem;">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
{{ $l := . }}
|
{{ $l := . }}
|
||||||
{{ $url := "" }}
|
{{ $url := "" }}
|
||||||
|
@ -69,14 +65,14 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div style="display: flex; flex-direction: row; justify-content: space-between; flex-grow: 1; align-items: stretch;">
|
<div style="display: flex; flex-direction: row; flex-grow: 1; align-items: stretch;">
|
||||||
<div style="display: flex; flex-grow: 1; flex-direction: column;">
|
<div style="display: flex; flex-grow: 1; flex-direction: column;">
|
||||||
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b><br>
|
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b>
|
||||||
{{ .Date | time.Format ":date_full" }}
|
{{ .Date | time.Format ":date_full" }}
|
||||||
</div>
|
</div>
|
||||||
{{ if ne .Date .Lastmod }}
|
{{ if ne .Date .Lastmod }}
|
||||||
<div style="display: flex; flex-grow: 1; flex-direction: column;">
|
<div style="display: flex; flex-grow: 1; flex-direction: column;">
|
||||||
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b><br>
|
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b>
|
||||||
{{ .Lastmod | time.Format ":date_full" }}
|
{{ .Lastmod | time.Format ":date_full" }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
|
||||||
<article class="minmax">
|
<article class="minmax">
|
||||||
<div style="flex-direction: row;">
|
<div>
|
||||||
{{ .context.Content }}
|
{{ .context.Content }}
|
||||||
</div>
|
</div>
|
||||||
<noscript><p><b>Bitte aktiviere Javascript, sonst funktioniert der Generator nicht.</b></p></noscript>
|
<noscript><p><b>Bitte aktiviere Javascript, sonst funktioniert der Generator nicht.</b></p></noscript>
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<label><input type="checkbox" name="{{ .title }}" id="{{ .title }}" value="{{ .name }}" {{ .Scratch.Get "requiredtext" }}>{{- $name -}}{{- if .required -}}{{- " *" -}}{{- end -}}</label>
|
<label><input type="checkbox" name="{{ .title }}" id="{{ .title }}" value="{{ .name }}" {{ .Scratch.Get "requiredtext" }}>{{- $name -}}{{- if .required -}}{{- " *" -}}{{- end -}}</label>
|
||||||
</div>
|
</div>
|
||||||
{{ else if eq .input_type "results" }}
|
{{ else if eq .input_type "results" }}
|
||||||
<div id='display' class="result" style="white-space: pre; display: none; background: var(--background-body); padding: .6rem 0 1rem 1rem; margin-top: 1rem;"></div>
|
<div id='resut'><div id='display'></div></div>
|
||||||
{{ else if eq .input_type "submit" }}
|
{{ else if eq .input_type "submit" }}
|
||||||
<div class="margin_top_1rem {{ if .group }}visibleIf margin_left_1rem" data-visibleif-rule="{{ .group }}group == 'true'{{ end }}">
|
<div class="margin_top_1rem {{ if .group }}visibleIf margin_left_1rem" data-visibleif-rule="{{ .group }}group == 'true'{{ end }}">
|
||||||
<input type="{{ .input_type }}" value="{{- $name -}}" onclick="showInput(event);" />
|
<input type="{{ .input_type }}" value="{{- $name -}}" onclick="showInput(event);" />
|
||||||
|
@ -55,8 +55,14 @@
|
||||||
{{ $pages := where site.RegularPages "Type" "in" site.Params.searchSections }}
|
{{ $pages := where site.RegularPages "Type" "in" site.Params.searchSections }}
|
||||||
{{ if eq .title "tags" }}
|
{{ if eq .title "tags" }}
|
||||||
{{ range $pages }}
|
{{ range $pages }}
|
||||||
{{- if .Params.tags -}}
|
{{- with .Params.tags -}}
|
||||||
{{- $finale = $finale | append .Params.tags -}}
|
{{- $finale = $finale | append . -}}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ else if eq .title "foundations" }}
|
||||||
|
{{ range $pages }}
|
||||||
|
{{- with .Params.foundations -}}
|
||||||
|
{{- $finale = $finale | append . -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
@ -68,7 +74,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- $finale = $finale | uniq -}}
|
{{- $finale = $finale | uniq -}}
|
||||||
|
|
||||||
<div class="margin_top_1rem {{- if .group }} visibleIf" data-visibleif-rule="{{ .group }}group == 'true'"{{ else }}"{{ end }} style="flex-direction: column;">
|
<div class="margin_top_1rem column {{- if .group }} visibleIf" data-visibleif-rule="{{ .group }}group == 'true'{{ end }}">
|
||||||
<div class="{{- if .group }}margin_left_1rem{{ end }}">
|
<div class="{{- if .group }}margin_left_1rem{{ end }}">
|
||||||
{{ .name }}
|
{{ .name }}
|
||||||
{{ if ne .expanded true }}{{ partial "layout/generator/expand" (dict "name" (printf "%scat" $in0)) }}{{ end }}{{- if .required -}}{{- " *" -}}{{- end -}}
|
{{ if ne .expanded true }}{{ partial "layout/generator/expand" (dict "name" (printf "%scat" $in0)) }}{{ end }}{{- if .required -}}{{- " *" -}}{{- end -}}
|
||||||
|
@ -76,17 +82,17 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="checkbox {{ if ne .expanded true }}visibleIf" data-visibleif-rule="{{ $in0 }}cat == 'true'{{end}}">
|
<div class="checkbox {{ if ne .expanded true }}visibleIf margin_left_1rem stretch" data-visibleif-rule="{{ $in0 }}cat == 'true'{{end}}">
|
||||||
|
|
||||||
|
|
||||||
<div class="{{- if .group }} margin_left_1rem{{ end }} minmax" style="display: flex; flex-direction: column;">
|
<div class="column margin_left_1rem">
|
||||||
<fieldset id="{{ $in0 }}" name="{{ $in0 }}" style="display: flex; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem;">
|
<fieldset id="{{ $in0 }}" name="{{ $in0 }}" class="fieldset">
|
||||||
{{ range sort $finale }}
|
{{ range sort $finale }}
|
||||||
<input type="checkbox" name="{{ $in0 }}" id="{{ $in0 }}-cat" value="{{ . }}"><label for="{{ $in0 }}-cat">{{ . }}</label>
|
<input type="checkbox" name="{{ $in0 }}" id="{{ $in0 }}-cat" value="{{ . }}"><label for="{{ $in0 }}-cat">{{ . }}</label>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{{ if .new }}
|
{{ if .new }}
|
||||||
<label id="label" for="new{{- .title -}}">{{ .new }} <span style="font-size: x-small;">({{- $divide -}}{{- if .help -}}, {{ .help }}{{ end }})</span></label>
|
<label id="label" for="new{{- .title -}}">{{ .new }} <span class="font_size_smaller">({{- $divide -}}{{- if .help -}}, {{ .help }}{{ end }})</span></label>
|
||||||
<input type="text" name="new{{- .title -}}" id="new{{- .title -}}" value="" placeholder="{{ .eg }}" />
|
<input type="text" name="new{{- .title -}}" id="new{{- .title -}}" value="" placeholder="{{ .eg }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -128,8 +134,8 @@
|
||||||
<input type="text" name="postalcode" id="postalcode" {{ if $pageform.names }}placeholder="Postal code{{ .Scratch.Get "requiredstar" }}"{{ end }} {{ .Scratch.Get "requiredtext" }}>
|
<input type="text" name="postalcode" id="postalcode" {{ if $pageform.names }}placeholder="Postal code{{ .Scratch.Get "requiredstar" }}"{{ end }} {{ .Scratch.Get "requiredtext" }}>
|
||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div class="margin_top_1rem {{ if .group }} visibleIf margin_left_1rem" data-visibleif-rule=" {{ .group }}group == 'true' {{ end }}" class="minmax">
|
<div class="margin_top_1rem {{ if .group }} visibleIf stretch margin_left_1rem" data-visibleif-rule=" {{ .group }}group == 'true' {{ end }}">
|
||||||
<div class="minmax" style="display: flex; flex-direction: column;">
|
<div class="column">
|
||||||
<label class="{{ if $pageform.names }}sr-only{{ end }}" for="{{ .title }}">{{ .name }}{{- if .required -}}{{- " *" -}}{{- end -}}</label>
|
<label class="{{ if $pageform.names }}sr-only{{ end }}" for="{{ .title }}">{{ .name }}{{- if .required -}}{{- " *" -}}{{- end -}}</label>
|
||||||
<input type="{{ .input_type }}" name="{{ .title }}" id="{{ .title }}" {{ if $pageform.names }}placeholder="{{ .name }}"{{ end }}>
|
<input type="{{ .input_type }}" name="{{ .title }}" id="{{ .title }}" {{ if $pageform.names }}placeholder="{{ .name }}"{{ end }}>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
{{ $missing = $missing | append "all translations" }}
|
{{ $missing = $missing | append "all translations" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if $missing }}
|
{{ if $missing }}
|
||||||
<a href="{{ .Permalink}}" style="margin-top: 1rem;" class="underline">{{ .Name }}:</a>
|
<a href="{{ .Permalink}}" class="underline">{{ .Name }}:</a>
|
||||||
<div>missing: {{ index $missing 0 }}</div>
|
<div>missing: {{ index $missing 0 }}</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{ if or .when .price .contact .covid }}
|
{{ if or .when .price .contact .covid }}
|
||||||
|
|
||||||
<div id="articlemeta" style="font-size: smaller;">
|
<div id="articlemeta" class="font_size_smaller">
|
||||||
{{ if .when }}
|
{{ if .when }}
|
||||||
<div>{{ .when }}</div>
|
<div>{{ .when }}</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<article>{{ .content }}</article>
|
<section>{{ .content }}</section>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{ if gt .Site.Taxonomies.categories 0 }}
|
{{ if gt .Site.Taxonomies.categories 0 }}
|
||||||
<li class="align_menu"><a href="{{ "/news" | relLangURL}}"><h3>{{ if i18n "news" }}{{ i18n "news" }}{{ else }}{{ "News" }}{{ end }}</h3></a></li>
|
<a href="{{ "/news" | relLangURL}}"><h3 class="align_menu">{{ if i18n "news" }}{{ i18n "news" }}{{ else }}{{ "News" }}{{ end }}</h3></a>
|
||||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||||
{{ $orig := $taxonomyname }}
|
{{ $orig := $taxonomyname }}
|
||||||
{{ if ne (i18n $taxonomyname) "" }}
|
{{ if ne (i18n $taxonomyname) "" }}
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if gt .Site.Taxonomies.events 0 }}
|
{{ if gt .Site.Taxonomies.events 0 }}
|
||||||
<li class="align_menu"><a href="{{ "/events" | relLangURL}}"><h3>{{ if i18n "events" }}{{ i18n "events" }}{{ else }}{{ "Events" }}{{ end }}</h3></a></li>
|
<a href="{{ "/events" | relLangURL}}"><h3 class="align_menu">{{ if i18n "events" }}{{ i18n "events" }}{{ else }}{{ "Events" }}{{ end }}</h3></a>
|
||||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
||||||
{{ $orig := $taxonomyname }}
|
{{ $orig := $taxonomyname }}
|
||||||
{{ if ne (i18n $taxonomyname) "" }}
|
{{ if ne (i18n $taxonomyname) "" }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{ $paginator := .paginator}}
|
{{ $paginator := .paginator}}
|
||||||
<div id="pagination_outer" style="display: flex; justify-content: center;">
|
<div id="pagination_outer" class="df_row_center">
|
||||||
<div id="pagination">
|
<div id="pagination">
|
||||||
<!-- Number of links either side of the current page. -->
|
<!-- Number of links either side of the current page. -->
|
||||||
{{ $adjacent_links := 2 }}
|
{{ $adjacent_links := 2 }}
|
||||||
|
@ -99,4 +99,4 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,9 +2,16 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
{{ $stylecolor := resources.Get "css/color.css" }}
|
{{ $water := resources.Get "css/color.css" }}
|
||||||
{{ $stylelayout := resources.Get "css/layout.css" }}
|
{{ $header := resources.Get "css/header.css" }}
|
||||||
{{ $allcss := slice $stylecolor $stylelayout | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }}
|
{{ $main := resources.Get "css/main.css" }}
|
||||||
|
{{ $article := resources.Get "css/article.css" }}
|
||||||
|
{{ $paginator := resources.Get "css/paginator.css" }}
|
||||||
|
{{ $footer := resources.Get "css/footer.css" }}
|
||||||
|
{{ $classes := resources.Get "css/classes.css" }}
|
||||||
|
{{ $generator := resources.Get "css/generator.css" }}
|
||||||
|
{{ $big := resources.Get "css/big.css" }}
|
||||||
|
{{ $allcss := slice $water $header $main $article $paginator $footer $generator $big $classes | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }}
|
||||||
<link rel="stylesheet" href="{{ $allcss.RelPermalink }}" integrity="{{ $allcss.Data.Integrity }}">
|
<link rel="stylesheet" href="{{ $allcss.RelPermalink }}" integrity="{{ $allcss.Data.Integrity }}">
|
||||||
|
|
||||||
{{ $title := print .Site.Title " | " .Title }}
|
{{ $title := print .Site.Title " | " .Title }}
|
||||||
|
|
|
@ -1,102 +0,0 @@
|
||||||
{{ $paginator := .paginator}}
|
|
||||||
<div id="pagination_outer" style="display: flex; justify-content: center;">
|
|
||||||
<div id="pagination">
|
|
||||||
<!-- Number of links either side of the current page. -->
|
|
||||||
{{ $adjacent_links := 2 }}
|
|
||||||
|
|
||||||
<!-- $max_links = ($adjacent_links * 2) + 1 -->
|
|
||||||
{{ $max_links := (add (mul $adjacent_links 2) 1) }}
|
|
||||||
|
|
||||||
<!-- $lower_limit = $adjacent_links + 1 -->
|
|
||||||
{{ $lower_limit := (add $adjacent_links 1) }}
|
|
||||||
|
|
||||||
<!-- $upper_limit = $paginator.TotalPages - $adjacent_links -->
|
|
||||||
{{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) }}
|
|
||||||
|
|
||||||
<!-- If there's more than one page. -->
|
|
||||||
{{ if gt $paginator.TotalPages 1 }}
|
|
||||||
|
|
||||||
<!-- First page. -->
|
|
||||||
{{ if ne $paginator.PageNumber 1 }}
|
|
||||||
<a class="pagination__link pagination__link--first" href="{{ $paginator.First.URL }}">
|
|
||||||
««
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Previous page. -->
|
|
||||||
{{ if $paginator.HasPrev }}
|
|
||||||
<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous">
|
|
||||||
«
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Page numbers. -->
|
|
||||||
{{ range $paginator.Pagers }}
|
|
||||||
{{ $page_number_flag := false }}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Advanced page numbers. -->
|
|
||||||
{{ if gt $paginator.TotalPages $max_links }}
|
|
||||||
|
|
||||||
<!-- Lower limit pages. -->
|
|
||||||
<!-- If the user is on a page which is in the lower limit. -->
|
|
||||||
{{ if le $paginator.PageNumber $lower_limit }}
|
|
||||||
|
|
||||||
<!-- If the current loop page is less than max_links. -->
|
|
||||||
{{ if le .PageNumber $max_links }}
|
|
||||||
{{ $page_number_flag = true }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Upper limit pages. -->
|
|
||||||
<!-- If the user is on a page which is in the upper limit. -->
|
|
||||||
{{ else if ge $paginator.PageNumber $upper_limit }}
|
|
||||||
|
|
||||||
<!-- If the current loop page is greater than total pages minus $max_links -->
|
|
||||||
{{ if gt .PageNumber (sub $paginator.TotalPages $max_links) }}
|
|
||||||
{{ $page_number_flag = true }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Middle pages. -->
|
|
||||||
{{ else }}
|
|
||||||
|
|
||||||
{{ if and ( ge .PageNumber (sub $paginator.PageNumber $adjacent_links) ) ( le .PageNumber (add $paginator.PageNumber $adjacent_links) ) }}
|
|
||||||
{{ $page_number_flag = true }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Simple page numbers. -->
|
|
||||||
{{ else }}
|
|
||||||
|
|
||||||
{{ $page_number_flag = true }}
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Output page numbers. -->
|
|
||||||
{{ if eq $page_number_flag true }}
|
|
||||||
<a href="{{ .URL }}" class="pagination__link">
|
|
||||||
{{ if eq $paginator.PageNumber .PageNumber }}<b>{{ end }}
|
|
||||||
{{ .PageNumber }}
|
|
||||||
{{ if eq $paginator.PageNumber .PageNumber }}</b>{{ end }}
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Next page. -->
|
|
||||||
{{ if $paginator.HasNext }}
|
|
||||||
<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">
|
|
||||||
»
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Last page. -->
|
|
||||||
{{ if ne $paginator.PageNumber $paginator.TotalPages }}
|
|
||||||
<a class="pagination__link pagination__link--last" href="{{ $paginator.Last.URL }}">
|
|
||||||
»»
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div>
|
<div>
|
||||||
<details>
|
<details>
|
||||||
<summary style="list-style: none; text-align: right;">Menü ☰</summary>
|
<summary>Menü ☰</summary>
|
||||||
<p>
|
<p>
|
||||||
{{ partial "snippets/menu" . }}
|
{{ partial "snippets/menu" . }}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -21,4 +21,4 @@ tr.visibleIf-visible, tr.visibleif-visible {
|
||||||
.visibleIf-rule, .mandatoryIf-rule, .visibleif-rule, .mandatoryif-rule {
|
.visibleIf-rule, .mandatoryIf-rule, .visibleif-rule, .mandatoryif-rule {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue