From 460b8f7e832692b8aae6124d18813af2a0b067b1 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 30 May 2024 08:47:22 +0300 Subject: [PATCH] fix parsing my html and html stripping --- _config.yml | 4 ++++ _includes/head.html | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 8a6dd6b..6da41cb 100644 --- a/_config.yml +++ b/_config.yml @@ -28,6 +28,10 @@ lang: en # Build settings markdown: kramdown + +kramdown: + parse_block_html: true + theme: minima #theme: jekyll-theme-midnight redcarpet: diff --git a/_includes/head.html b/_includes/head.html index 9a024b8..a499fef 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,8 +4,8 @@ - {% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %} - + {% if page.title %}{{ page.title }} ~~ {{ site.title | strip_html }}{% else %}{{ site.title }}{% endif %} + @@ -23,7 +23,7 @@ - +