flounder

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

commit a378f18ded7aa8cdf4819d53e4d66b5e67d681fa
parent 9a4607cc0a6462ff08fe0ab5bdfe3b71abd13c67
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat,  9 Jan 2021 21:09:10 -0800

Remove hardcoded flounder.online from css

Diffstat:
ACaddyfile | 9+++++++++
Mtemplates/header.html | 2+-
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/Caddyfile b/Caddyfile @@ -0,0 +1,9 @@ +# FOR TESTING ONLY! Not suitable for production + +https://, flounder.local, *.flounder.local { + reverse_proxy 127.0.0.1:8165 + tls { + on_demand + } +} + diff --git a/templates/header.html b/templates/header.html @@ -5,7 +5,7 @@ <meta charset="utf-8" /> <title>{{.Config.SiteTitle}}</title> <meta name="viewport" content="width=device-width" /> - <link rel="stylesheet" type="text/css" href="https://flounder.online/style.css" /> + <link rel="stylesheet" type="text/css" href="https://{{.Config.Host}}/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>