blog-page: include descriptions in the html meta description tag

This commit is contained in:
Colin 2022-04-05 21:32:00 +00:00
parent e08a5dce92
commit 7b08cc2938
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,7 @@
+++
title = "Self Hosting in More Detail Than You Asked For"
date = 2022-03-29
description = "in which i chronicle this site's past, present, and purpose"
+++
well i fell down the rabbit hole. this domain hosts 6 services and counting:

View File

@ -3,10 +3,11 @@
<head>
<meta charset="utf-8">
<title>{% block title%}Perfectly Sane{% endblock %}</title>
<title>{% block title %}Perfectly Sane{% endblock %}</title>
<link rel="stylesheet" href="{{ get_url(path="static/style.css") | safe }}">
{# i have no favicon: this disable requests to /favicon.ico #}
<link rel="icon" href="data:,">
{% block head %}{% endblock %}
</head>
{% set about = get_page(path="about.md") %}

View File

@ -8,6 +8,10 @@
{{ page.title }}
{% endblock title %}
{% block head %}
<meta name="description" content="{{ page.description }}">
{% endblock head %}
{% block content %}
<h1>