diff --git a/Makefile b/Makefile index c9d7dab..fb81d47 100644 --- a/Makefile +++ b/Makefile @@ -72,17 +72,14 @@ publish: .PHONY: html help clean regenerate serve serve-global devserver publish +# Print -pdfs: - pandoc --pdf-engine=weasyprint -c themes/basic/static/css/print.css content/text.md -o print/text.pdf - pandoc --pdf-engine=weasyprint -c themes/basic/static/css/print.css content/zabala_warning.md -o print/zabala_warning.pdf - - - - - - - +md=$(wildcard content/*.md) +md2pdf=$(md:%.md=%.pdf) +%.pdf: %.md themes/basic/static/css/print.css + pandoc --pdf-engine=weasyprint -c themes/basic/static/css/print.css $< -o $@ +print: $(md2pdf) + $(shell mv content/*.pdf content/print/) diff --git a/content/zabala_warning.md b/content/zabala_warning.md index 6a57e83..deef1d8 100644 --- a/content/zabala_warning.md +++ b/content/zabala_warning.md @@ -1,4 +1,6 @@ - +Title: The Philosophy of Warnings +Author: Santiago Zabala +Category: Articles
Title of the publication
AMRO Servus etc
diff --git a/pelicanconf.py b/pelicanconf.py index 0d21ed2..cb99f6d 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -4,8 +4,8 @@ # Pelican's documentation page on the pelicanconf.py # https://docs.getpelican.com/en/stable/settings.html -AUTHOR = 'Alice & Manetta' -SITENAME = 'AMRO 2020 Publication' +AUTHOR = 'Servus' +SITENAME = 'Nourishing Network' SITEURL = 'https://vvvvvvaria.org/amro/' TIMEZONE = 'Europe/Amsterdam' diff --git a/themes/basic/templates/base.html b/themes/basic/templates/base.html index 71f0a0e..8a82565 100644 --- a/themes/basic/templates/base.html +++ b/themes/basic/templates/base.html @@ -27,10 +27,10 @@

Subscribe

Subscribe to this feed!

diff --git a/themes/basic/templates/index.html b/themes/basic/templates/index.html index 6e80639..d1873bb 100644 --- a/themes/basic/templates/index.html +++ b/themes/basic/templates/index.html @@ -3,7 +3,7 @@ {% block content %}
-{% for article in articles_page.object_list|sort(attribute="slug")%} +{% for article in articles %}
- {{ article.summary }} +
{% endfor %}