pedf
/
pomocskolam
Archived
1
0
Fork 0
form
Emil Miler 4 years ago
parent 327c977b30
commit 563cfe787b

@ -5,3 +5,5 @@ highlight_code = false
build_search_index = false
[extra]
institution = "Pedagogická Fakulta UK"
institution_url = "https://pedf.cuni.cz/"

@ -36,3 +36,28 @@ header {
}
}
}
footer {
background-color: #C61730;
color: #fff;
display: flex;
justify-content: center;
padding: 1em;
p {
border-left: 1px solid #fff;
border-right: 1px solid #fff;
text-align: center;
display: inline-block;
padding: .5em 2em;
a {
color: inherit;
text-decoration: inherit;
&:hover {
text-decoration: underline;
}
}
}
}

@ -21,7 +21,16 @@
Lorem ipsum.
</main>
<footer>
{{ config.title }}
<p>
{% if config.extra.institution and config.extra.institution_url -%}
<a href="{{ config.extra.institution_url }}">{{ config.extra.institution }}</a>
{%- elif config.extra.institution -%}
{{ config.extra.institution }}
{%- else -%}
{{ config.title }}
{%- endif -%}
, {{ now() | date(format="%Y") }}
</p>
</footer>
</body>
</html>