mirror of
https://github.com/writefreely/writefreely
synced 2024-11-14 05:07:07 +00:00
73ec3e3016
This adds a new `wf_modesty` config option that removes the copious mentions of WriteFreely in places like the About page and site footers. WriteFreely remains boastful and bumptious by default; but enabling the modesty option will tone it down and likely lead to less confusion among average users. Ref T676
29 lines
1.3 KiB
Cheetah
29 lines
1.3 KiB
Cheetah
{{define "head"}}<title>{{.ContentTitle}} — {{.SiteName}}</title>
|
|
<meta name="description" content="{{.PlainContent}}">
|
|
{{end}}
|
|
{{define "content"}}
|
|
<div class="content-container snug">
|
|
<h1>{{.ContentTitle}}</h1>
|
|
|
|
{{.Content}}
|
|
|
|
{{if .PublicStats}}
|
|
<hr style="margin:1.5em 0;" />
|
|
<p><em>{{.SiteName}}</em> is home to <strong>{{largeNumFmt .AboutStats.NumPosts}}</strong> {{pluralize "article" "articles" .AboutStats.NumPosts}} across <strong>{{largeNumFmt .AboutStats.NumBlogs}}</strong> {{pluralize "blog" "blogs" .AboutStats.NumBlogs}}.</p>
|
|
{{end}}
|
|
|
|
{{if not .WFModesty}}
|
|
<h2 style="margin-top:2em">About WriteFreely</h2>
|
|
<p><a href="https://writefreely.org">WriteFreely</a> is a self-hosted, decentralized blogging platform for publishing beautiful, simple blogs.</p>
|
|
<p>It lets you publish a single blog, or host a community of writers who can create multiple blogs under one account. You can also enable federation, which allows people in the fediverse to follow your blog, bookmark your posts, and share them with others.</p>
|
|
<div class="clearfix blurbs" style="font-size: 1.3em;text-align:center">
|
|
<div class="half big">
|
|
<p><a href="https://writefreely.org/start">Start an instance</a></p>
|
|
</div>
|
|
<div class="half big">
|
|
<p><a href="https://writefreely.org">WriteFreely</a></p>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|