mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-21 07:46:52 +00:00
mycorrhiza.lesarbr.es -> mycorrhiza.wiki
This commit is contained in:
parent
9dfbcedd19
commit
80414dd748
@ -14,7 +14,7 @@ import (
|
||||
|
||||
// These variables represent the configuration. You are not meant to modify
|
||||
// them after they were set.
|
||||
// See https://mycorrhiza.lesarbr.es/hypha/configuration/fields for the
|
||||
// See https://mycorrhiza.wiki/hypha/configuration/fields for the
|
||||
// documentation.
|
||||
var (
|
||||
WikiName string
|
||||
|
@ -1,6 +1,6 @@
|
||||
package cfg
|
||||
|
||||
// See https://mycorrhiza.lesarbr.es/hypha/configuration/header
|
||||
// See https://mycorrhiza.wiki/hypha/configuration/header
|
||||
import (
|
||||
"github.com/bouncepaw/mycomarkup/blocks"
|
||||
"strings"
|
||||
|
@ -20,7 +20,7 @@
|
||||
<div class="non-existent-hypha__ways">
|
||||
<section class="non-existent-hypha__way">
|
||||
<h3 class="non-existent-hypha__subtitle">📝 Write a text</h3>
|
||||
<p>Write a note, a diary, an article, a story or anything textual using <a href="https://mycorrhiza.lesarbr.es/hypha/mycomarkup" class="shy-link">Mycomarkup</a>. Full history of edits to the document will be saved.</p>
|
||||
<p>Write a note, a diary, an article, a story or anything textual using <a href="https://mycorrhiza.wiki/hypha/mycomarkup" class="shy-link">Mycomarkup</a>. Full history of edits to the document will be saved.</p>
|
||||
<p>Make sure to follow this wiki's writing conventions if there are any.</p>
|
||||
<a class="btn btn_accent stick-to-bottom" href="/edit/{%s h.Name %}">Create</a>
|
||||
</section>
|
||||
|
@ -68,7 +68,7 @@ func streamnonExistentHyphaNotice(qw422016 *qt422016.Writer, h *hyphae.Hypha, u
|
||||
<div class="non-existent-hypha__ways">
|
||||
<section class="non-existent-hypha__way">
|
||||
<h3 class="non-existent-hypha__subtitle">📝 Write a text</h3>
|
||||
<p>Write a note, a diary, an article, a story or anything textual using <a href="https://mycorrhiza.lesarbr.es/hypha/mycomarkup" class="shy-link">Mycomarkup</a>. Full history of edits to the document will be saved.</p>
|
||||
<p>Write a note, a diary, an article, a story or anything textual using <a href="https://mycorrhiza.wiki/hypha/mycomarkup" class="shy-link">Mycomarkup</a>. Full history of edits to the document will be saved.</p>
|
||||
<p>Make sure to follow this wiki's writing conventions if there are any.</p>
|
||||
<a class="btn btn_accent stick-to-bottom" href="/edit/`)
|
||||
//line views/hypha.qtpl:25
|
||||
|
@ -40,7 +40,7 @@
|
||||
</button>
|
||||
{% endfor %}
|
||||
</section>
|
||||
<p class="edit-toolbar__ad"><a href="https://mycorrhiza.lesarbr.es/hypha/mycomarkup" target="_blank" class="shy-link">Learn more</a> about mycomarkup</p>
|
||||
<p class="edit-toolbar__ad"><a href="https://mycorrhiza.wiki/hypha/mycomarkup" target="_blank" class="shy-link">Learn more</a> about mycomarkup</p>
|
||||
<h2 class="edit-toolbar__title layout-card__title">Actions</h2>
|
||||
<section class="edit-toolbar__buttons">
|
||||
{% for _, el := range []struct{
|
||||
|
@ -88,7 +88,7 @@ func StreamToolbar(qw422016 *qt422016.Writer, u *user.User) {
|
||||
//line views/mutators.qtpl:41
|
||||
qw422016.N().S(`
|
||||
</section>
|
||||
<p class="edit-toolbar__ad"><a href="https://mycorrhiza.lesarbr.es/hypha/mycomarkup" target="_blank" class="shy-link">Learn more</a> about mycomarkup</p>
|
||||
<p class="edit-toolbar__ad"><a href="https://mycorrhiza.wiki/hypha/mycomarkup" target="_blank" class="shy-link">Learn more</a> about mycomarkup</p>
|
||||
<h2 class="edit-toolbar__title layout-card__title">Actions</h2>
|
||||
<section class="edit-toolbar__buttons">
|
||||
`)
|
||||
|
@ -112,7 +112,7 @@ for u := range user.YieldUsers() {
|
||||
<section>
|
||||
<h1>About {%s cfg.WikiName %}</h1>
|
||||
<ul>
|
||||
<li><b><a href="https://mycorrhiza.lesarbr.es">Mycorrhiza Wiki</a> version:</b> 1.3.0</li>
|
||||
<li><b><a href="https://mycorrhiza.wiki">Mycorrhiza Wiki</a> version:</b> 1.3.0</li>
|
||||
{%- if cfg.UseAuth -%}
|
||||
<li><b>User count:</b> {%dul user.Count() %}</li>
|
||||
<li><b>Home page:</b> <a href="/">{%s cfg.HomeHypha %}</a></li>
|
||||
|
@ -373,7 +373,7 @@ func StreamAboutHTML(qw422016 *qt422016.Writer) {
|
||||
//line views/stuff.qtpl:113
|
||||
qw422016.N().S(`</h1>
|
||||
<ul>
|
||||
<li><b><a href="https://mycorrhiza.lesarbr.es">Mycorrhiza Wiki</a> version:</b> 1.3.0</li>
|
||||
<li><b><a href="https://mycorrhiza.wiki">Mycorrhiza Wiki</a> version:</b> 1.3.0</li>
|
||||
`)
|
||||
//line views/stuff.qtpl:116
|
||||
if cfg.UseAuth {
|
||||
|
@ -51,7 +51,7 @@ func handlerReindex(w http.ResponseWriter, rq *http.Request) {
|
||||
|
||||
// handlerUpdateHeaderLinks updates header links by reading the configured hypha, if there is any, or resorting to default values.
|
||||
//
|
||||
// See https://mycorrhiza.lesarbr.es/hypha/configuration/header
|
||||
// See https://mycorrhiza.wiki/hypha/configuration/header
|
||||
func handlerUpdateHeaderLinks(w http.ResponseWriter, rq *http.Request) {
|
||||
util.PrepareRq(rq)
|
||||
if ok := user.CanProceed(rq, "update-header-links"); !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user