mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-02-07 14:40:16 +00:00
Replace the old name with the new one
This commit is contained in:
parent
d4ac58b2d8
commit
59f91482c0
@ -1,4 +1,4 @@
|
|||||||
# 🍄 MycorrhizaWiki 1.2
|
# 🍄 Mycorrhiza Wiki 1.2
|
||||||
A wiki engine.
|
A wiki engine.
|
||||||
|
|
||||||
[Main wiki](https://mycorrhiza.lesarbr.es)
|
[Main wiki](https://mycorrhiza.lesarbr.es)
|
||||||
|
@ -92,7 +92,7 @@ type Authorization struct {
|
|||||||
// Note that it may log.Fatal.
|
// Note that it may log.Fatal.
|
||||||
func ReadConfigFile() {
|
func ReadConfigFile() {
|
||||||
cfg := &Config{
|
cfg := &Config{
|
||||||
WikiName: "MycorrhizaWiki",
|
WikiName: "Mycorrhiza Wiki",
|
||||||
NaviTitleIcon: "🍄",
|
NaviTitleIcon: "🍄",
|
||||||
Hyphae: Hyphae{
|
Hyphae: Hyphae{
|
||||||
HomeHypha: "home",
|
HomeHypha: "home",
|
||||||
|
@ -25,7 +25,7 @@ import (
|
|||||||
|
|
||||||
func geminiHomeHypha(w *gemini.ResponseWriter, rq *gemini.Request) {
|
func geminiHomeHypha(w *gemini.ResponseWriter, rq *gemini.Request) {
|
||||||
log.Println(rq.URL)
|
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.
|
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.
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -29,7 +29,7 @@ func main() {
|
|||||||
log.Fatal(err)
|
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 {
|
if err := os.Chdir(cfg.WikiDir); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"",
|
"",
|
||||||
"Delete "+util.BeautifulName(hyphaName)+"?") %}
|
"Delete "+util.BeautifulName(hyphaName)+"?") %}
|
||||||
{%= modalReallyWant(hyphaName, "unattach") %}
|
{%= modalReallyWant(hyphaName, "unattach") %}
|
||||||
<p>In this version of MycorrhizaWiki you cannot undelete a deleted hypha but the history can still be accessed.</p>
|
<p>In this version of Mycorrhiza Wiki you cannot undelete a deleted hypha but the history can still be accessed.</p>
|
||||||
{%= modalEnd(hyphaName, true) %}
|
{%= modalEnd(hyphaName, true) %}
|
||||||
{% endfunc %}
|
{% endfunc %}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ func StreamDeleteAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName
|
|||||||
streammodalReallyWant(qw422016, hyphaName, "unattach")
|
streammodalReallyWant(qw422016, hyphaName, "unattach")
|
||||||
//line views/modal.qtpl:11
|
//line views/modal.qtpl:11
|
||||||
qw422016.N().S(`
|
qw422016.N().S(`
|
||||||
<p>In this version of MycorrhizaWiki you cannot undelete a deleted hypha but the history can still be accessed.</p>
|
<p>In this version of Mycorrhiza Wiki you cannot undelete a deleted hypha but the history can still be accessed.</p>
|
||||||
`)
|
`)
|
||||||
//line views/modal.qtpl:13
|
//line views/modal.qtpl:13
|
||||||
streammodalEnd(qw422016, hyphaName, true)
|
streammodalEnd(qw422016, hyphaName, true)
|
||||||
|
@ -100,7 +100,7 @@ for u := range user.YieldUsers() {
|
|||||||
<section>
|
<section>
|
||||||
<h1>About {%s cfg.WikiName %}</h1>
|
<h1>About {%s cfg.WikiName %}</h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li><b><a href="https://mycorrhiza.lesarbr.es">MycorrhizaWiki</a> version:</b> 1.2.0 indev</li>
|
<li><b><a href="https://mycorrhiza.lesarbr.es">Mycorrhiza Wiki</a> version:</b> 1.2.0 indev</li>
|
||||||
{%- if user.AuthUsed -%}
|
{%- if user.AuthUsed -%}
|
||||||
<li><b>User count:</b> {%d user.Count() %}</li>
|
<li><b>User count:</b> {%d user.Count() %}</li>
|
||||||
<li><b>Home page:</b> <a href="/">{%s cfg.HomeHypha %}</a></li>
|
<li><b>Home page:</b> <a href="/">{%s cfg.HomeHypha %}</a></li>
|
||||||
|
@ -361,7 +361,7 @@ func StreamAboutHTML(qw422016 *qt422016.Writer) {
|
|||||||
//line views/stuff.qtpl:101
|
//line views/stuff.qtpl:101
|
||||||
qw422016.N().S(`</h1>
|
qw422016.N().S(`</h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li><b><a href="https://mycorrhiza.lesarbr.es">MycorrhizaWiki</a> version:</b> 1.2.0 indev</li>
|
<li><b><a href="https://mycorrhiza.lesarbr.es">Mycorrhiza Wiki</a> version:</b> 1.2.0 indev</li>
|
||||||
`)
|
`)
|
||||||
//line views/stuff.qtpl:104
|
//line views/stuff.qtpl:104
|
||||||
if user.AuthUsed {
|
if user.AuthUsed {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user