flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit e63b6f23d72c93001d0e3907a23b9ab2466a44c7
parent 2799ede93e92daa87144e345d5b086aac4e8c037
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Thu,  5 Nov 2020 22:41:43 -0800

add emoji favicon to homepage

Diffstat:
Mexample-config.toml | 2+-
Mtemplates/header.html | 1+
Mtemplates/index.html | 2+-
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/example-config.toml b/example-config.toml @@ -1,5 +1,5 @@ # Used in HTML templates and titles -SiteTitle="๐ŸŸflounder" +SiteTitle="flounder" # Include port if running locally Host="localhost:8165" diff --git a/templates/header.html b/templates/header.html @@ -6,6 +6,7 @@ <title>{{.PageTitle }}</title> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" type="text/css" href="/style.css" /> + <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>๐ŸŸ</text></svg>"> </head> <body> <main> diff --git a/templates/index.html b/templates/index.html @@ -1,6 +1,6 @@ {{$domain := .Host}} {{template "header" .}} -<h1>{{.PageTitle}}!</h1> +<h1>๐ŸŸ{{.PageTitle}}!</h1> {{template "nav.html" .}} <br> Welcome to flounder! For more information and site updates, check out the <a href="//admin.{{$domain}}">admin page</a>