mirror of
https://github.com/facundoolano/jorge.git
synced 2024-11-16 07:47:40 +01:00
fix meta tags in docs and initfiles
This commit is contained in:
parent
e344dcb6ad
commit
a07d4af5c2
3 changed files with 15 additions and 14 deletions
|
@ -15,17 +15,17 @@
|
||||||
|
|
||||||
<meta name="author" content="{{site.config.author}}">
|
<meta name="author" content="{{site.config.author}}">
|
||||||
<meta property="og:article:author" content="{{ site.config.author }}">
|
<meta property="og:article:author" content="{{ site.config.author }}">
|
||||||
<meta property="og:site_name" content="{{ site.config.title }}">
|
<meta property="og:site_name" content="{{ site.config.name }}">
|
||||||
|
|
||||||
{% if page.title %}
|
{% if page.title %}
|
||||||
<meta property="og:title" content="{{ page.title|default: site.config.title }}">
|
<meta property="og:title" content="{{ page.title|default: site.config.name }}">
|
||||||
<meta name="twitter:title" content="{{ page.title|default: site.config.title }}">
|
<meta name="twitter:title" content="{{ page.title|default: site.config.name }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.excerpt %}
|
{% if page.excerpt or site.config.description %}
|
||||||
<meta name="description" content="{{ page.excerpt }}">
|
<meta name="description" content="{{ page.excerpt | default:site.config.description }}">
|
||||||
<meta name="og:description" content="{{ page.excerpt }}">
|
<meta name="og:description" content="{{ page.excerpt | default:site.config.description }}">
|
||||||
<meta name="twitter:description" content="{{ page.excerpt }}">
|
<meta name="twitter:description" content="{{ page.excerpt | default:site.config.description }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.layout == "post" %}
|
{% if page.layout == "post" %}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
name: "jorge"
|
name: "jorge"
|
||||||
author: "Facundo Olano"
|
author: "Facundo Olano"
|
||||||
url: "https://jorge.olano.dev"
|
url: "https://jorge.olano.dev"
|
||||||
|
description: "jorge is a personal site generator with org-mode support."
|
||||||
|
|
|
@ -15,17 +15,17 @@
|
||||||
|
|
||||||
<meta name="author" content="{{site.config.author}}">
|
<meta name="author" content="{{site.config.author}}">
|
||||||
<meta property="og:article:author" content="{{ site.config.author }}">
|
<meta property="og:article:author" content="{{ site.config.author }}">
|
||||||
<meta property="og:site_name" content="{{ site.config.title }}">
|
<meta property="og:site_name" content="{{ site.config.name }}">
|
||||||
|
|
||||||
{% if page.title %}
|
{% if page.title %}
|
||||||
<meta property="og:title" content="{{ page.title|default: site.config.title }}">
|
<meta property="og:title" content="{{ page.title|default: site.config.name }}">
|
||||||
<meta name="twitter:title" content="{{ page.title|default: site.config.title }}">
|
<meta name="twitter:title" content="{{ page.title|default: site.config.name }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.excerpt %}
|
{% if page.excerpt or site.config.description %}
|
||||||
<meta name="description" content="{{ page.excerpt }}">
|
<meta name="description" content="{{ page.excerpt | default:site.config.description }}">
|
||||||
<meta name="og:description" content="{{ page.excerpt }}">
|
<meta name="og:description" content="{{ page.excerpt | default:site.config.description }}">
|
||||||
<meta name="twitter:description" content="{{ page.excerpt }}">
|
<meta name="twitter:description" content="{{ page.excerpt | default:site.config.description }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.layout == "post" %}
|
{% if page.layout == "post" %}
|
||||||
|
|
Loading…
Reference in a new issue