diff --git a/src/layouts/base.html b/src/layouts/base.html index c8d74f0..450815f 100644 --- a/src/layouts/base.html +++ b/src/layouts/base.html @@ -6,22 +6,39 @@ - {% if title %} {% assign title = title | append:" — Enreda" %} {% else %} {% - assign title = "Enreda" %} {% endif %} {% if metadescription %} {% assign - description = metadescription %} {% else %} {% assign description = "Web de - la Cooperativa Enreda" %} {% endif %} {% assign url = 'https://enreda.coop' - | append: page.url %} + {% if title %} + {% assign title = title | append:" — Enreda" %} + {% else %} + {% assign title = "Enreda" %} + {% endif %} + {% if description %} + {% assign description = description %} + {% else %} + {% assign description = "Soluciones para la Transformación Social" %} + {% endif %} + {% if image %} + {% assign image = image %} + {% else %} + {% assign image = '/assets/img/enreda-black.png' %} + {% endif %} + {% assign url = 'https://enreda.coop' | append: page.url %} + {% if layout == 'noticia.html' %} + {% assign description = firstParagraph %} + {% assign ogtype = 'article' %} + {% endif %} + {{title}} + @@ -32,7 +49,7 @@