all repos — flounder @ e63b6f23d72c93001d0e3907a23b9ab2466a44c7

A small site builder for the Gemini protocol

add emoji favicon to homepage
alex wennerberg alex@alexwennerberg.com
Thu, 05 Nov 2020 22:41:43 -0800
commit

e63b6f23d72c93001d0e3907a23b9ab2466a44c7

parent

2799ede93e92daa87144e345d5b086aac4e8c037

3 files changed, 3 insertions(+), 2 deletions(-)

jump to
M example-config.tomlexample-config.toml

@@ -1,5 +1,5 @@

# Used in HTML templates and titles -SiteTitle="๐ŸŸflounder" +SiteTitle="flounder" # Include port if running locally Host="localhost:8165"
M templates/header.htmltemplates/header.html

@@ -6,6 +6,7 @@ <meta charset="utf-8" />

<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>
M templates/index.htmltemplates/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>