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/assets.html | 5 +++++ _includes/feed.html | 2 ++ _includes/meta.html | 5 +++++ _includes/social.html | 22 ++++++++++++++++++++++ _includes/title.html | 23 +++++++++++++++++++++++ 5 files changed, 57 insertions(+) create mode 100644 _includes/assets.html create mode 100644 _includes/feed.html create mode 100644 _includes/meta.html create mode 100644 _includes/social.html create mode 100644 _includes/title.html (limited to '_includes') diff --git a/_includes/assets.html b/_includes/assets.html new file mode 100644 index 0000000..e0db38b --- /dev/null +++ b/_includes/assets.html @@ -0,0 +1,5 @@ +{% comment %}{% endcomment %} + + +{% comment %}{% endcomment %} + diff --git a/_includes/feed.html b/_includes/feed.html new file mode 100644 index 0000000..a8fdaf2 --- /dev/null +++ b/_includes/feed.html @@ -0,0 +1,2 @@ + + diff --git a/_includes/meta.html b/_includes/meta.html new file mode 100644 index 0000000..a7a0d2c --- /dev/null +++ b/_includes/meta.html @@ -0,0 +1,5 @@ + + + +{% capture description %}{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}{% endcapture %} + diff --git a/_includes/social.html b/_includes/social.html new file mode 100644 index 0000000..d3c06ab --- /dev/null +++ b/_includes/social.html @@ -0,0 +1,22 @@ +{% comment %}{% endcomment %} +{% if site.lang == "ca" %} + + + +{% else %} + + + +{% endif %} + + + +{% render_type_tags %} + +{% comment %}{% endcomment %} + + + + + +{% render_og_image %} 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