Indent subsequent lines, misc other fixes
alex wennerberg alex@alexwennerberg.com
Sun, 31 Jan 2021 12:59:25 -0800
4 files changed,
10 insertions(+),
2 deletions(-)
M
README.md
→
README.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.toml
→
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=["
M
templates/index.html
→
templates/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.css
→
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;