From 59f91482c08c7bc1a224dd7b8e81cf0c36d69ded Mon Sep 17 00:00:00 2001 From: handlerug Date: Sat, 12 Jun 2021 22:01:24 +0700 Subject: [PATCH] Replace the old name with the new one --- README.md | 2 +- cfg/config.go | 2 +- gemini.go | 2 +- main.go | 2 +- views/modal.qtpl | 2 +- views/modal.qtpl.go | 2 +- views/stuff.qtpl | 2 +- views/stuff.qtpl.go | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 395e378..620cf08 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 🍄 MycorrhizaWiki 1.2 +# 🍄 Mycorrhiza Wiki 1.2 A wiki engine. [Main wiki](https://mycorrhiza.lesarbr.es) diff --git a/cfg/config.go b/cfg/config.go index 3b86425..786fa1c 100644 --- a/cfg/config.go +++ b/cfg/config.go @@ -92,7 +92,7 @@ type Authorization struct { // Note that it may log.Fatal. func ReadConfigFile() { cfg := &Config{ - WikiName: "MycorrhizaWiki", + WikiName: "Mycorrhiza Wiki", NaviTitleIcon: "🍄", Hyphae: Hyphae{ HomeHypha: "home", diff --git a/gemini.go b/gemini.go index ba50649..216484b 100644 --- a/gemini.go +++ b/gemini.go @@ -25,7 +25,7 @@ import ( func geminiHomeHypha(w *gemini.ResponseWriter, rq *gemini.Request) { log.Println(rq.URL) - _, _ = io.WriteString(w, `# MycorrhizaWiki + _, _ = io.WriteString(w, `# Mycorrhiza Wiki You have successfully served the wiki through Gemini. Currently, support is really work-in-progress; you should resort to using Mycorrhiza through the web protocols. diff --git a/main.go b/main.go index 5f1cb7e..6bc1091 100644 --- a/main.go +++ b/main.go @@ -29,7 +29,7 @@ func main() { log.Fatal(err) } - log.Println("Running MycorrhizaWiki 1.2.0 indev") + log.Println("Running Mycorrhiza Wiki 1.2.0 indev") if err := os.Chdir(cfg.WikiDir); err != nil { log.Fatal(err) } diff --git a/views/modal.qtpl b/views/modal.qtpl index 45c9dd3..7f28a8e 100644 --- a/views/modal.qtpl +++ b/views/modal.qtpl @@ -9,7 +9,7 @@ "", "Delete "+util.BeautifulName(hyphaName)+"?") %} {%= modalReallyWant(hyphaName, "unattach") %} -

In this version of MycorrhizaWiki you cannot undelete a deleted hypha but the history can still be accessed.

+

In this version of Mycorrhiza Wiki you cannot undelete a deleted hypha but the history can still be accessed.

{%= modalEnd(hyphaName, true) %} {% endfunc %} diff --git a/views/modal.qtpl.go b/views/modal.qtpl.go index 5dfba56..3c6bf4b 100644 --- a/views/modal.qtpl.go +++ b/views/modal.qtpl.go @@ -46,7 +46,7 @@ func StreamDeleteAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName streammodalReallyWant(qw422016, hyphaName, "unattach") //line views/modal.qtpl:11 qw422016.N().S(` -

In this version of MycorrhizaWiki you cannot undelete a deleted hypha but the history can still be accessed.

+

In this version of Mycorrhiza Wiki you cannot undelete a deleted hypha but the history can still be accessed.

`) //line views/modal.qtpl:13 streammodalEnd(qw422016, hyphaName, true) diff --git a/views/stuff.qtpl b/views/stuff.qtpl index b3b359f..f3af9e1 100644 --- a/views/stuff.qtpl +++ b/views/stuff.qtpl @@ -100,7 +100,7 @@ for u := range user.YieldUsers() {

About {%s cfg.WikiName %}