mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-25 13:59:25 +01:00
fix parsing my html and html stripping
This commit is contained in:
parent
5c60586fd8
commit
460b8f7e83
@ -28,6 +28,10 @@ lang: en
|
|||||||
|
|
||||||
# Build settings
|
# Build settings
|
||||||
markdown: kramdown
|
markdown: kramdown
|
||||||
|
|
||||||
|
kramdown:
|
||||||
|
parse_block_html: true
|
||||||
|
|
||||||
theme: minima
|
theme: minima
|
||||||
#theme: jekyll-theme-midnight
|
#theme: jekyll-theme-midnight
|
||||||
redcarpet:
|
redcarpet:
|
||||||
|
6
_includes/head.html
vendored
6
_includes/head.html
vendored
@ -4,8 +4,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex, nofollow, noai">
|
<meta name="robots" content="noindex, nofollow, noai">
|
||||||
<link rel="icon prefetch" href="{{site.icon}}">
|
<link rel="icon prefetch" href="{{site.icon}}">
|
||||||
<title>{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
|
<title>{% if page.title %}{{ page.title }} ~~ {{ site.title | strip_html }}{% else %}{{ site.title }}{% endif %}</title>
|
||||||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}">
|
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | strip_html | strip_newlines }}{% endif %}">
|
||||||
<link rel="me prefetch" href="{{ site.url }}" />
|
<link rel="me prefetch" href="{{ site.url }}" />
|
||||||
|
|
||||||
<link rel="openid.delegate" href="https://aminda.eu/" />
|
<link rel="openid.delegate" href="https://aminda.eu/" />
|
||||||
@ -23,7 +23,7 @@
|
|||||||
<meta name="referrer" content="no-referrer" />
|
<meta name="referrer" content="no-referrer" />
|
||||||
<!-- OpenGraph -->
|
<!-- OpenGraph -->
|
||||||
<meta name="og:title" content="{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}" />
|
<meta name="og:title" content="{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}" />
|
||||||
<meta name="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}" />
|
<meta name="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | strip_html | strip_newlines }}{% endif %}" />
|
||||||
<meta name="og:site_name" content="{{site.title}}" />
|
<meta name="og:site_name" content="{{site.title}}" />
|
||||||
<meta name="og:image" content="{{site.icon}}"/>
|
<meta name="og:image" content="{{site.icon}}"/>
|
||||||
<!-- https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain#How_to_setup_RelMeAuth - regardless of antipattern, the things I do for verified checkboxes at Mastodon... -->
|
<!-- https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain#How_to_setup_RelMeAuth - regardless of antipattern, the things I do for verified checkboxes at Mastodon... -->
|
||||||
|
Loading…
Reference in New Issue
Block a user