From 5716bfd7548e386b12703e76cdf273bce839116c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Fri, 12 Mar 2021 18:44:41 +0300 Subject: Initial commit Essential functional website. --- templates/index.es.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 templates/index.es.html (limited to 'templates/index.es.html') diff --git a/templates/index.es.html b/templates/index.es.html new file mode 100644 index 0000000..26ac2b8 --- /dev/null +++ b/templates/index.es.html @@ -0,0 +1,45 @@ +{% extends "base.html" %} +{% block h1title %} +

Bienvenidos a {{ config.title }}

+

Un simple sitio de recetas que no apesta.

+{% endblock %} +{% block body %} +{% if lang != "en" %} +{% set section_path = "recipes/_index." ~ lang ~ ".md" %} +{% else %} +{% set section_path = "recipes/_index.md" %} +{% endif %} +{% set section = get_section(path=section_path) %} +

Última receta

+{% set latest = section.pages[0] %} +
+

+ {{ latest.title }} + {{ latest.date | date }} +

+ {% if latest.summary %} + {{ latest.summary | safe }} + {% endif %} +
+ +

Contribuye

+

+Si quieres publicar tu receta o mejorar este sitio, no dudes en ayudar. Puedes +encontrar más información acerca de como contribuir +aquí. +

+

Otros idiomas

+

+El sitio está actualmente disponible en los siguientes idiomas: +

+ +

+Ten en cuenta que las recetas no van a estar traducidas a todos los idiomas en +que este sitio se encuentra disponible. +

+{% endblock %} -- cgit v1.2.3