From b044dcc709a37ecf3da2bea713fdff479d4f285f Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Sun, 3 Feb 2019 13:39:46 +0100 Subject: Add subtitle support --- pelicanconf.py | 3 ++- themes/elenq/static/css/style.css | 5 ++++- themes/elenq/templates/base.html | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 9ae3b11..70c11de 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals AUTHOR = u'Ekaitz Zárraga' SITENAME = u'Ekaitz\'s tech blog' -SITESUBTITLE = u'' +SITESUBTITLE = u'I make stuff at ElenQ Technology and I talk about it' SITEURL = '' PATH = 'content' @@ -25,6 +25,7 @@ TRANSLATION_FEED_ATOM = None AUTHOR_FEED_ATOM = None AUTHOR_FEED_RSS = None + # Blogroll LINKS = (('ElenQ Technology', 'https://elenq.tech/'),) diff --git a/themes/elenq/static/css/style.css b/themes/elenq/static/css/style.css index 3906fce..0f9d057 100644 --- a/themes/elenq/static/css/style.css +++ b/themes/elenq/static/css/style.css @@ -199,11 +199,14 @@ h1, h2, h3, h4, h5, h6 { font-weight: 300; } h1.main-title { - font-size: 4.5rem; line-height: 1.2; text-align: center; + font-size: 4.5rem; line-height: 1; text-align: center; margin-bottom: 2rem; margin-top: 2rem; font-family: "LatoLatinLightWeb", Helvetica, Arial, sans-serif; } +h1 span.subtitle{ + font-size: 2.5rem; +} h2.entry-title{ font-size: 3.0rem; line-height: 1.2; } diff --git a/themes/elenq/templates/base.html b/themes/elenq/templates/base.html index 13593df..7d64a88 100644 --- a/themes/elenq/templates/base.html +++ b/themes/elenq/templates/base.html @@ -63,7 +63,7 @@
-

{{ SITENAME }}{% if SITESUBTITLE %}:
{{ SITESUBTITLE }}{% endif %}

+

{{ SITENAME }}{% if SITESUBTITLE %}:
{{ SITESUBTITLE }}{% endif %}

{% block content %} {% endblock content %}
-- cgit v1.2.3