aboutsummaryrefslogtreecommitdiff
path: root/_includes/title.html
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-09-17 07:16:43 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-09-17 07:16:43 +0200
commit40013704cf16f53468940a7d0160b40e8241a87c (patch)
treef8ddc584fd90a450733332a3b9e6bbb898b4ab4e /_includes/title.html
parent71a1444ec305d537cbfadb1a599df7dcacde13a1 (diff)
downloadjo.mssola.com-40013704cf16f53468940a7d0160b40e8241a87c.tar.gz
jo.mssola.com-40013704cf16f53468940a7d0160b40e8241a87c.zip
Remove jekyll
This is a complete rewrite of my blog to a vastly simpler form. That is, we only need HTML and a couple of build scripts to have something equivalent, without all the dependencies that jekyll brings. I have also taken the chance to remove a lot of stuff that was actually not needed. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '_includes/title.html')
-rw-r--r--_includes/title.html23
1 files changed, 0 insertions, 23 deletions
diff --git a/_includes/title.html b/_includes/title.html
deleted file mode 100644
index d167a8b..0000000
--- a/_includes/title.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% comment %}
-<!--
- There are three situations:
-
- 1. We have a page title and it needs translation (it starts with "titles.blabla").
- 2. We have a page title and it has to be as it is.
- 3. We don't have a page title (e.g. the main page)
--->
-{% 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>{{ title }}</title>