Add footer content

master
Emil Miler 2 years ago
parent 5eda540dd4
commit e3cb52787c

@ -11,6 +11,7 @@ external_links_no_referrer = true
smart_punctuation = true smart_punctuation = true
[extra] [extra]
git = "https://git.microlab.space/microlab/website"
nav_items = [ nav_items = [
{name="Úvod", path="/"}, {name="Úvod", path="/"},
{name="Projekty", path="/projekty/"}, {name="Projekty", path="/projekty/"},

@ -95,8 +95,9 @@ body>main {
body>footer { body>footer {
width: 100%; width: 100%;
padding: 1em; padding: 1rem;
margin-top: auto; margin-top: auto;
font-size: .8em;
@media only screen and (min-width: $width-wrap) { @media only screen and (min-width: $width-wrap) {
padding: 1em 0; padding: 1em 0;

@ -44,6 +44,9 @@
{% endblock content %} {% endblock content %}
</main> </main>
<footer> <footer>
... Build time: {{ now() | date(format="%Y-%m-%d %H:%M") }}
{% if config.extra.git %}
, <a href="{{ config.extra.git }}">Source</a>
{% endif %}
</footer> </footer>
</html> </html>

Loading…
Cancel
Save