personal-website

source for my personal website regexghost.com
git clone https://git.regexghost.com/personal-website.git
Log | Files | Refs | README

commit a1b3c73a7f90baba9bb2ffad3d3ff0415f893c03
parent 775aba5b106d12072ce095ee486305f589be75fc
Author: regexghost <dev@regexghost.com>
Date:   Fri,  7 Aug 2026 21:36:16 +0100

meta description, lang and content type

Diffstat:
Mgozer-files/templates/blog-page.html | 5+++++
Mgozer-files/templates/blog.html | 5+++++
Mgozer-files/templates/bottom.html | 1+
Mgozer-files/templates/default.html | 5+++++
Mgozer-files/templates/devlog.html | 5+++++
5 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/gozer-files/templates/blog-page.html b/gozer-files/templates/blog-page.html @@ -1,5 +1,10 @@ <!DOCTYPE html> +<html lang="en"> <head> +{{ if index .Page.Meta "description" }} + <meta name="description" content="{{ index .Page.Meta "description" }}"> +{{ end }} + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="/style.css"> <title>{{ .Page.Title }}</title> </head> diff --git a/gozer-files/templates/blog.html b/gozer-files/templates/blog.html @@ -1,5 +1,10 @@ <!DOCTYPE html> +<html lang="en"> <head> +{{ if index .Page.Meta "description" }} + <meta name="description" content="{{ index .Page.Meta "description" }}"> +{{ end }} + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{{ .Page.Title }}</title> <link rel="stylesheet" href="/style.css"> </head> diff --git a/gozer-files/templates/bottom.html b/gozer-files/templates/bottom.html @@ -10,3 +10,4 @@ </div> </div> </body> +</html> diff --git a/gozer-files/templates/default.html b/gozer-files/templates/default.html @@ -1,5 +1,10 @@ <!DOCTYPE html> +<html lang="en"> <head> +{{ if index .Page.Meta "description" }} + <meta name="description" content="{{ index .Page.Meta "description" }}"> +{{ end }} + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="/style.css"> <title>{{ .Title }}</title> </head> diff --git a/gozer-files/templates/devlog.html b/gozer-files/templates/devlog.html @@ -1,5 +1,10 @@ <!DOCTYPE html> +<html lang="en"> <head> +{{ if index .Page.Meta "description" }} + <meta name="description" content="{{ index .Page.Meta "description" }}"> +{{ end }} + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{{ .Page.Title }}</title> <link rel="stylesheet" href="/style.css"> </head>