flounder

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

commit a297c298b1ae42c18be5d1092888c98b76410540
parent adfb299fd694cf126a163e4b5baa586006037bb5
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 31 Jan 2021 12:59:25 -0800

Indent subsequent lines, misc other fixes

Diffstat:
MREADME.md | 4++++
Mexample-config.toml | 1-
Mtemplates/index.html | 2+-
Mtemplates/static/style.css | 5+++++
4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -41,6 +41,10 @@ An example simple Caddyfile using on-demand certs is available in Caddyfile.exam If you want to host using a server other than Caddy, there's no reason you can't, but it may be more cumbersome to setup the http certs. +## Administration + +Flounder is designed to be small, easy to host, and easy to administer. Signups require manual admin approval. + ## Development Patches are welcome! diff --git a/example-config.toml b/example-config.toml @@ -30,4 +30,3 @@ MaxFileBytes=128000 # 128 KB MaxUserBytes=10000000 # 10 MB OkExtensions=[".gmi", ".txt", ".jpg", ".jpeg", ".gif", ".png", ".svg", ".webp", ".midi", ".json", ".csv", ".gemini", ".mp3", ".css", ".ttf", ".otf", ".woff", ".woff2"] -BannedNames=[" diff --git a/templates/index.html b/templates/index.html @@ -6,7 +6,7 @@ Welcome to {{.Config.SiteTitle}}! For more information and site updates, check out the <a href="//admin.{{$.Config.Host}}">admin page</a></p> <h2>Recently updated files:</h2> {{ range .Files }} -<div> +<div class="indent-wrap"> <a href="//{{.Creator}}.{{$.Config.Host}}" class='person-link'> {{ .Creator }}</a> <em>{{.TimeAgo}}</em> diff --git a/templates/static/style.css b/templates/static/style.css @@ -122,6 +122,11 @@ ul { padding-left: 1.5rem; } +.indent-wrap { + padding-left: 1em; + text-indent: -1em; +} + blockquote { margin-left: 1.5em; font-style: italic;