Edit editorcongif file and indentation style

This commit is contained in:
Paul Nicoué 2022-07-07 17:02:05 +02:00
parent dac66b054d
commit 4bb1ea6b1c
47 changed files with 2392 additions and 2405 deletions

View file

@ -1,16 +1,16 @@
<!-- Basic metadata -->
{# Basic metadata #}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<html lang="fr">
<!-- Schema -->
{# Schema #}
<style itemscope itemtype="https://schema.org/WebSite" itemref="schema_name schema_description schema_image"></style>
<!-- Title -->
{# Title #}
<title>{{ site.title }} | {{ page.title }}</title>
<meta id="schema_name" itemprop="name" content="{{ site.title }} | {{ page.title }}">
<!-- Description -->
{# Description #}
{% if page.meta_description is not empty %}
<meta name="description" content="{{ page.meta_description }}">
<meta id="schema_description" itemprop="description" content="{{ page.meta_description }}">
@ -19,16 +19,16 @@
<meta id="schema_description" itemprop="description" content="{{ site.homePage.meta_description }}">
{% endif %}
<!-- Canonical URL -->
{# Canonical URL #}
<link rel="canonical" href="{{ page.url }}">
<!-- Author -->
{# Author #}
<meta name="author" content="{{ site.title }}">
<!-- Date -->
{# Date #}
<meta name="date" content="{{ page.modified('Y-m-d') }}">
<!-- Image -->
{# Image #}
{% if page.meta_image is not empty %}
<meta id="schema_image" itemprop="image" content="{{ page.meta_image.toImage.url }}">
{% elseif site.homePage.meta_image is not empty %}
@ -37,7 +37,7 @@
{% if page.template != 'error' %}
<!-- Open Graph -->
{# Open Graph #}
<meta property="og:title" content="{{ site.title ~ ' | ' ~ page.title }}">
{% if page.meta_description is not empty %}
<meta property="og:description" content="{{ page.meta_description }}">
@ -56,7 +56,7 @@
<meta property="og:url" content="{{ page.url }}">
<meta property="og:type" content="{{ page.og_type }}">
<!-- Twitter Card -->
{# Twitter Card #}
<meta name="twitter:card" content="{{ page.twitter_card_type.value }}">
<meta name="twitter:title" content="{{ site.title ~ ' | ' ~ page.title }}">
{% if page.meta_description is not empty %}