Fix the <title> of markdown docs

I noticed all the markdown doc files declare their own page title, but on the live website all have the same title of "</> htmx - high power tools for html". It appears the title var wasn't getting used in the base layout template
This commit is contained in:
Angus Holder 2021-04-14 02:29:39 +01:00 committed by GitHub
parent bb924813dd
commit b146120c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>&lt;/> htmx - high power tools for html</title>
<title>{{ title | default("&lt;/> htmx - high power tools for html") }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/css/site.css"/>
<link rel="stylesheet" href="/css/prism-htmx.css"/>