Compare commits

..

No commits in common. "7ae1f0c106e086b1b9750824dd6457df0753451c" and "88f8c6a9a6937ccc32b814f4f5acc94790004ef5" have entirely different histories.

8 changed files with 1 additions and 33 deletions

View file

@ -34,7 +34,5 @@ columns:
tags:
type: tags
labe: Tags
seo:
extends: sections/seo
files:
type: files

View file

@ -20,5 +20,3 @@ sections:
extends: sections/articles
label: Published
status: listed
seo:
extends: sections/seo

View file

@ -19,5 +19,3 @@ columns:
template: default
files:
type: files
seo:
extends: sections/seo

View file

@ -45,5 +45,3 @@ columns:
template: default
files:
type: files
seo:
extends: sections/seo

View file

@ -28,5 +28,3 @@ columns:
label: Published on
time: true
required: true
seo:
extends: sections/seo

View file

@ -20,5 +20,3 @@ sections:
date:
label: Published on
width: 1/6
seo:
extends: sections/seo

View file

@ -1,5 +0,0 @@
type: fields
fields:
description:
type: text
label: Description

View file

@ -10,13 +10,11 @@
</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="<?= $site->author() ?>" />
<?php $description = $page->description()->isNotEmpty() ? $page->description() : h($page->text()->excerpt(100)) ?>
<meta name="description" content="<?= $description ?>" />
<meta name="description" content="<?= $site->description() ?>" />
<meta name="keywords" content="<?= $site->keywords() ?>" />
<?= css('assets/build/main.css') ?>
<link rel="canonical" href="<?= url($page->url()) ?>" />
<link rel="alternate" type="application/rss+xml" href="<?= url('feed') ?>" title="<?= $site->title() ?>" />
<link rel="apple-touch-icon-precomposed" sizes="256x256" href="/assets/img/favicon/favicon-256.png">
@ -26,19 +24,6 @@
<link rel="apple-touch-icon-precomposed" href="/assets/img/favicon/favicon.png">
<link rel="shortcut icon" href="/assets/img/favicon/favicon.png">
<meta property="og:title" content="<?= $page->title() . ' - ' . $site->title() ?>" />
<meta property="og:description" content="<?= $description ?>" />
<meta property="og:type" content="<?= $page->template() == 'article' ? 'article' : 'website' ?>" />
<meta property="og:url" content="<?= url($page->url()) ?>" />
<meta property="og:image" content="<?= url('/assets/img/favicon/favicon-256.png') ?>" />
<meta property="og:site_name" content="<?= $site->title() ?>" />
<?php if ($page->template() == 'article'): ?>
<meta property="og:article:publish_time" content="<?= $page->date()->toDate(DATE_ISO8601) ?>" />
<meta property="og:article:author" content="<?= $site->author() ?>" />
<meta property="og:article:section" content="<?= $page->categories() ?>" />
<meta property="og:article:tag" content="<?= $page->tags() ?>" />
<?php endif ?>
<script data-goatcounter="https://<?= option('analytics.goatcounter') ?>/count" async src="https://<?= option('analytics.goatcounter') ?>/count.js"></script>
</head>
<body>