personal-website

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

commit 3b2222c6919fabeb3e23d8193d403b86f4245385
parent ea219864cec72af87cacaec28c3c6ecc66256390
Author: regexghost <regexghost@protonmail.com>
Date:   Tue,  5 May 2026 21:52:13 +0100

added some gozer templates and config

Diffstat:
Agozer-files/config.toml | 14++++++++++++++
Agozer-files/templates/blog-page.html | 12++++++++++++
Agozer-files/templates/blog.html | 21+++++++++++++++++++++
Agozer-files/templates/default.html | 11+++++++++++
Agozer-files/templates/devlog.html | 20++++++++++++++++++++
Agozer-files/templates/top.html | 25+++++++++++++++++++++++++
6 files changed, 103 insertions(+), 0 deletions(-)

diff --git a/gozer-files/config.toml b/gozer-files/config.toml @@ -0,0 +1,14 @@ +url = "http://localhost:8080" +title = "regexghost" + +[[feeds]] +title = "regexghost's blog" +path = "content/blog" +filename = "blog.xml" +length = 0 + +[[feeds]] +title = "devlog" +path = "content/devlog" +filename = "devlog.xml" +length = 0 diff --git a/gozer-files/templates/blog-page.html b/gozer-files/templates/blog-page.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<head> + <title>{{ .Page.Title }}</title> + +{{template "top.html"}} + +<h1>{{ .Title }}</h1> +<h2>{{ .Page.DatePublished.Format "2006-01-02" }}</h2> +{{ .Content }} + +{{template "bottom.html"}} + diff --git a/gozer-files/templates/blog.html b/gozer-files/templates/blog.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<head> + <title>{{ .Page.Title }}</title> + +{{template "top.html"}} + +<h1>{{ .Title }}</h1> +{{ .Content }} + +<h2>Posts</h2> + +</ul> +{{ range .Pages }} + {{ if HasPrefix .Filepath "content/blog" }} + <li>{{ .DatePublished.Format "2006-01-02" }} - <a href="{{ .Permalink }}">{{ .Title }}</a></li> + {{ end }} +{{ end }} +</ul> + +{{template "bottom.html"}} + diff --git a/gozer-files/templates/default.html b/gozer-files/templates/default.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<head> + <title>{{ .Title }}</title> + +{{template "top.html"}} + +<h1>{{ .Title }}</h1> +{{ .Content }} + +{{template "bottom.html"}} + diff --git a/gozer-files/templates/devlog.html b/gozer-files/templates/devlog.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<head> + <title>{{ .Page.Title }}</title> + +{{template "top.html"}} + +<h1>{{ .Title }}</h1> +{{ .Content }} + +<h2>Posts</h2> + +{{ range .Pages }} + {{ if HasPrefix .Filepath "content/devlog" }} + <h3>{{ .Title }}</h3> + {{ Content . }} + {{ end }} +{{ end }} + +{{template "bottom.html"}} + diff --git a/gozer-files/templates/top.html b/gozer-files/templates/top.html @@ -0,0 +1,25 @@ + <link rel="stylesheet" href = "/style.css"> + +</head> +<body> +<div class="header"> +<div class="root-link"> +<a href="https://www.regexghost.com">regexghost.com</a><br> +</div> +<div class="header-left"> +<a href="https://www.regexghost.com/linux">Linux</a> +<a href="https://www.regexghost.com/coding">Coding</a> +<a href="https://git.regexghost.com">Git</a> +<a href="https://blog.regexghost.com">Blog</a> +<a href="https://www.regexghost.com/coding/devlog">Devlog</a> +<a href="https://photo.regexghost.com">Photos</a> +<a href="https://www.regexghost.com/categories">Other</a> +</div> +<div class="header-right"> +<a href="https://github.com/regexghost"><img src="/images/github.svg" alt="GitHub logo" style="width:26px;height:26px;"></a> +<a href="https://codeberg.org/regexghost"><img src="/images/codeberg.svg" alt="Codeberg logo" style="width:26px;height:26px;"></a> +<a href="https://bsky.app/profile/regexghost"><img src="/images/bluesky.svg" alt="Bluesky logo" style="width:26px;height:26px;"></a> +<a href="https://www.regexghost.com/about#contact"><img src="/images/email.svg" alt="email logo" style="width:26px;height:26px;"></a> +<!-- https://icon-sets.iconify.design/material-icon-theme/ --> +</div> +</div>