fix: title having whitespace, stylesheet copyright year
This commit is contained in:
@ -7,13 +7,13 @@
|
||||
<link rel="canonical" href="{{ current_url | default(value='/') }}" />
|
||||
|
||||
<title>
|
||||
{% if page.title %}
|
||||
{{ page.title }} - {{ config.title }}
|
||||
{% elif section.title %}
|
||||
{{ section.title }} - {{ config.title }}
|
||||
{% else %}
|
||||
{{ config.title }}
|
||||
{% endif %}
|
||||
{%- if page.title -%}
|
||||
{{- page.title }} - {{ config.title -}}
|
||||
{%- elif section.title -%}
|
||||
{{- section.title }} - {{ config.title -}}
|
||||
{%- else -%}
|
||||
{{- config.title -}}
|
||||
{%- endif -%}
|
||||
</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ get_url(path='style.css') }}" />
|
||||
@ -50,10 +50,9 @@
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:site_name" content="{{ config.title }}" />
|
||||
<meta property="og:title" content="
|
||||
{% if page.title %} {{ page.title }} - {{ config.title }}
|
||||
{% elif section.title %} {{ section.title }} - {{ config.title }}
|
||||
{% else %} {{ config.title }} {% endif %}" />
|
||||
<meta property="og:title" content="{%- if page.title -%} {{- page.title }} - {{ config.title -}}
|
||||
{%- elif section.title -%} {{- section.title }} - {{ config.title -}}
|
||||
{%- else -%} {{- config.title -}} {%- endif -%}" />
|
||||
<meta property="og:url" content="{{ current_url | default(value='/') }}" />
|
||||
<meta property="og:description" content="{{ page.description | default(value=config.description) }}" />
|
||||
<meta property="og:image" content="{{ get_url(path='card.png') }}" />
|
||||
|
Reference in New Issue
Block a user