diff --git a/config/config.go b/config/config.go index be8d154..2d86c9e 100644 --- a/config/config.go +++ b/config/config.go @@ -67,6 +67,7 @@ type ( JSDisabled bool `ini:"disable_js"` WebFonts bool `ini:"webfonts"` Landing string `ini:"landing"` + WFModesty bool `ini:"wf_modesty"` // Users SingleUser bool `ini:"single_user"` diff --git a/pages.go b/pages.go index e10227f..405b34f 100644 --- a/pages.go +++ b/pages.go @@ -65,9 +65,9 @@ func defaultPrivacyTitle() sql.NullString { func defaultAboutPage(cfg *config.Config) string { if cfg.App.Federation { - return `_` + cfg.App.SiteName + `_ is an interconnected place for you to write and publish, powered by WriteFreely and ActivityPub.` + return `_` + cfg.App.SiteName + `_ is an interconnected place for you to write and publish, powered by [WriteFreely](https://writefreely.org) and ActivityPub.` } - return `_` + cfg.App.SiteName + `_ is a place for you to write and publish, powered by WriteFreely.` + return `_` + cfg.App.SiteName + `_ is a place for you to write and publish, powered by [WriteFreely](https://writefreely.org).` } func defaultPrivacyPolicy(cfg *config.Config) string { diff --git a/pages/about.tmpl b/pages/about.tmpl index 0fae12b..7c502dc 100644 --- a/pages/about.tmpl +++ b/pages/about.tmpl @@ -12,6 +12,7 @@
{{.SiteName}} is home to {{largeNumFmt .AboutStats.NumPosts}} {{pluralize "article" "articles" .AboutStats.NumPosts}} across {{largeNumFmt .AboutStats.NumBlogs}} {{pluralize "blog" "blogs" .AboutStats.NumBlogs}}.
{{end}} + {{if not .WFModesty}}WriteFreely is a self-hosted, decentralized blogging platform for publishing beautiful, simple blogs.
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.
@@ -23,5 +24,6 @@ + {{end}} {{end}} diff --git a/templates/include/footer.tmpl b/templates/include/footer.tmpl index 32a7e68..16434b9 100644 --- a/templates/include/footer.tmpl +++ b/templates/include/footer.tmpl @@ -1,13 +1,21 @@ {{define "footer"}} -