From 261b5e3e80d1e75fdcd042675154a82c2ce469fb Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 5 Jul 2021 21:56:06 +0200 Subject: Added CV section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- _includes/title.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 _includes/title.html (limited to '_includes/title.html') diff --git a/_includes/title.html b/_includes/title.html new file mode 100644 index 0000000..d167a8b --- /dev/null +++ b/_includes/title.html @@ -0,0 +1,23 @@ +{% comment %} + +{% endcomment %} +{% if page.title %} + {% if page.title contains "titles." %} + {% capture title %}{{ site.title }} - {% t page.title %}{% endcapture %} + {% capture raw_title %}{% t page.title %}{% endcapture %} + {% else %} + {% capture title %}{{ site.title }} - {{ page.title }}{% endcapture %} + {% capture raw_title %}{{ page.title }}{% endcapture %} + {% endif %} +{% else %} + {% capture title %}{{ site.title }}{% endcapture %} + {% capture raw_title %}{% endcapture %} +{% endif %} + +{{ title }} -- cgit v1.2.3