all repos — flounder @ a297c298b1ae42c18be5d1092888c98b76410540

A small site builder for the Gemini protocol

Indent subsequent lines, misc other fixes
alex wennerberg alex@alexwennerberg.com
Sun, 31 Jan 2021 12:59:25 -0800
commit

a297c298b1ae42c18be5d1092888c98b76410540

parent

adfb299fd694cf126a163e4b5baa586006037bb5

4 files changed, 10 insertions(+), 2 deletions(-)

jump to
M README.mdREADME.md

@@ -41,6 +41,10 @@ An example simple Caddyfile using on-demand certs is available in Caddyfile.example

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!
M example-config.tomlexample-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=["
M templates/index.htmltemplates/index.html

@@ -6,7 +6,7 @@ <p>

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>
M templates/static/style.csstemplates/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;