Fix category name being slugified
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<meta property="og:url" content="{{ site.url | absolute_url }}" />
|
||||
{% endif %}
|
||||
<meta property="og:site_name" content="{{ site.title }}" />
|
||||
<meta property="og:title" content="{{ page.title | default: site.title | strip_html }}" />
|
||||
<meta property="og:title" content="{{ page.autopages.display_name | default: page.autopage.display_name | default: page.title | default: site.title | strip_html }}" />
|
||||
{% if site.xaymar.opengraph.excerpt.enabled == true %}
|
||||
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncatewords: site.xaymar.opengraph.excerpt.length }}" />
|
||||
<meta property="og:description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncatewords: site.xaymar.opengraph.excerpt.length }}" />
|
||||
@@ -45,7 +45,7 @@
|
||||
{% if page.title == nil %}
|
||||
<title>{{ site.title }} - {{ site.tagline }} </title>
|
||||
{% else %}
|
||||
<title>{{ page.title }} | {{ site.title }} - {{ site.tagline }} </title>
|
||||
<title>{{ page.autopages.display_name | default: page.autopage.display_name | default: page.title }} | {{ site.title }} - {{ site.tagline }} </title>
|
||||
{% endif %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" href="{{ site.xaymar.data.logo | absolute_url }}">
|
||||
|
||||
Reference in New Issue
Block a user