Add PDF button to footer
This commit is contained in:
2
Makefile
2
Makefile
@@ -47,7 +47,7 @@ server:
|
|||||||
|
|
||||||
build: dist
|
build: dist
|
||||||
@cd '$(PROJDIR)' && \
|
@cd '$(PROJDIR)' && \
|
||||||
lektor build --output-path ../bin --buildstate-path ../build-state -f ENABLE_APPCACHE -f ENABLE_PDF_EXPORT
|
lektor build --output-path ../bin --buildstate-path ../build-state -f ENABLE_PDF_EXPORT # -f ENABLE_APPCACHE
|
||||||
@echo
|
@echo
|
||||||
@echo 'Checking dead links ...'
|
@echo 'Checking dead links ...'
|
||||||
@python3 extras/find-dead-links.py
|
@python3 extras/find-dead-links.py
|
||||||
|
|||||||
@@ -65,6 +65,8 @@ nav ul { padding: unset }
|
|||||||
nav ul li { display: inline-block; margin: 0.1em 0.5em }
|
nav ul li { display: inline-block; margin: 0.1em 0.5em }
|
||||||
nav ul li a.active { text-decoration: overline }
|
nav ul li a.active { text-decoration: overline }
|
||||||
footer table { margin: -10px 0 }
|
footer table { margin: -10px 0 }
|
||||||
|
footer .buttons { width: 3em; }
|
||||||
|
footer .buttons a { margin-left: .5em; }
|
||||||
|
|
||||||
@media screen and (max-width: 485px) { body { font-size: 1.4em } }
|
@media screen and (max-width: 485px) { body { font-size: 1.4em } }
|
||||||
@media print {
|
@media print {
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
measures: EL TL kg g L dl cl ml cm Msp Prise Tasse Tassen Dose Dosen kleine große Bund Packung Packungen Scheibe Scheiben Schuss Stängel Tropfen Tube
|
measures: EL TL kg g L dl cl ml cm Msp Prise Tasse Tassen Dose Dosen kleine große Bund Packung Packungen Scheibe Scheiben Spritzer Stängel Tropfen Tube
|
||||||
@@ -43,7 +43,8 @@
|
|||||||
<footer>{#--#}
|
<footer>{#--#}
|
||||||
<table width="100%">{#--#}
|
<table width="100%">{#--#}
|
||||||
<td>Build with <a href="https://www.getlektor.com/">Lektor</a>, template by <a href="https://github.com/relikd/lektor-recipes">relikd</a>.</td>{#--#}
|
<td>Build with <a href="https://www.getlektor.com/">Lektor</a>, template by <a href="https://github.com/relikd/lektor-recipes">relikd</a>.</td>{#--#}
|
||||||
<td class="xlarge" width="1em">
|
<td class="buttons xlarge">
|
||||||
|
<a href="/static/pdf-{{ this.alt }}.pdf" download="recipes-{{ this.alt }}.pdf" title="{{ localize(this.alt, 'other', 'get_pdf') }}"><img class="h1em" alt="(PDF)" height="20" src="{{ '/img/icon-pdf.svg'|url }}"></a>
|
||||||
{%- if this.alt == 'de' -%}
|
{%- if this.alt == 'de' -%}
|
||||||
<a href="{{ '.'|url(alt='en') }}" title="zur englischen Seite wechseln">🇺🇸</a>
|
<a href="{{ '.'|url(alt='en') }}" title="zur englischen Seite wechseln">🇺🇸</a>
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user