diff --git a/config/web.py b/config/web.py index c3d1227..68e4203 100644 --- a/config/web.py +++ b/config/web.py @@ -18,6 +18,7 @@ PLUGINS =["i18n_subsites"] NAV_VALUES = [ + {"slug": "programa", "text": "Programa"}, {"slug": "ciudad", "text": "Ciudad"}, {"slug": "viaje", "text": "Viaje"}, {"slug": "patrocinios", "text": "Patrocinios"}, @@ -53,6 +54,7 @@ 'OUTPUT_PATH': 'output/en', 'THEME': "theme/pycones23_en", 'NAV_VALUES': [ + {"slug": "programa", "text": "Schedule"}, {"slug": "ciudad", "text": "City"}, {"slug": "viaje", "text": "Trip"}, {"slug": "patrocinios", "text": "Sponsors"}, diff --git a/content/programa-en.md b/content/programa-en.md new file mode 100644 index 0000000..fcef4b6 --- /dev/null +++ b/content/programa-en.md @@ -0,0 +1,9 @@ +Title: Schedule +Date: 2023-09-05 10:00 +Lang: en +Slug: programa +url: en/programa +save_as: programa/index.html + + +# Schedule diff --git a/content/programa-es.md b/content/programa-es.md new file mode 100644 index 0000000..65d3b57 --- /dev/null +++ b/content/programa-es.md @@ -0,0 +1,8 @@ +Title: Programa +Date: 2023-09-05 10:00 +Slug: programa +Lang: es +save_as: programa/index.html + + +# Programa diff --git a/theme/pycones23/templates/article.html b/theme/pycones23/templates/article.html index 82ea0e6..2e1067c 100644 --- a/theme/pycones23/templates/article.html +++ b/theme/pycones23/templates/article.html @@ -10,6 +10,9 @@ {% elif article.slug == "ofertas" %} {{ article.content }} {% include 'lista-ofertas.html' %} +{% elif article.slug == "programa" %} +{{ article.content }} +{% include 'programa.html' %} {% else %} {{ article.content }} {% endif %} diff --git a/theme/pycones23/templates/programa.html b/theme/pycones23/templates/programa.html new file mode 100644 index 0000000..81c569a --- /dev/null +++ b/theme/pycones23/templates/programa.html @@ -0,0 +1,19 @@ +{% block extra_script %} + +{% endblock extra_script %} + + + + + +
+ Descargar ICal + Descargar XCal +
diff --git a/theme/pycones23_en/templates/article.html b/theme/pycones23_en/templates/article.html index 82ea0e6..2e1067c 100644 --- a/theme/pycones23_en/templates/article.html +++ b/theme/pycones23_en/templates/article.html @@ -10,6 +10,9 @@ {% elif article.slug == "ofertas" %} {{ article.content }} {% include 'lista-ofertas.html' %} +{% elif article.slug == "programa" %} +{{ article.content }} +{% include 'programa.html' %} {% else %} {{ article.content }} {% endif %} diff --git a/theme/pycones23_en/templates/programa.html b/theme/pycones23_en/templates/programa.html new file mode 100644 index 0000000..d1fbaa6 --- /dev/null +++ b/theme/pycones23_en/templates/programa.html @@ -0,0 +1,19 @@ +{% block extra_script %} + +{% endblock extra_script %} + + + + + +
+ Download ICal + Download XCal +