mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-19 07:02:51 +00:00
Fix the hamburger on wikis without auth
This commit is contained in:
parent
ea1f0a8e51
commit
6e47ea0cfe
@ -30,8 +30,8 @@
|
|||||||
<input type="text" name="q" placeholder="Title search" class="top-bar__search-bar">
|
<input type="text" name="q" placeholder="Title search" class="top-bar__search-bar">
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
{% if cfg.UseAuth %}
|
|
||||||
<li class="top-bar__section top-bar__section_auth">
|
<li class="top-bar__section top-bar__section_auth">
|
||||||
|
{% if cfg.UseAuth %}
|
||||||
<ul class="top-bar__auth auth-links">
|
<ul class="top-bar__auth auth-links">
|
||||||
<li class="auth-links__box auth-links__user-box">
|
<li class="auth-links__box auth-links__user-box">
|
||||||
{% if u.Group == "anon" %}
|
{% if u.Group == "anon" %}
|
||||||
@ -51,8 +51,8 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</li>
|
||||||
<li class="top-bar__section top-bar__section_highlights">
|
<li class="top-bar__section top-bar__section_highlights">
|
||||||
<ul class="top-bar__highlights">
|
<ul class="top-bar__highlights">
|
||||||
{%- for _, link := range cfg.HeaderLinks -%}
|
{%- for _, link := range cfg.HeaderLinks -%}
|
||||||
|
@ -77,12 +77,12 @@ func StreamBaseHTML(qw422016 *qt422016.Writer, title, body string, u *user.User,
|
|||||||
<input type="text" name="q" placeholder="Title search" class="top-bar__search-bar">
|
<input type="text" name="q" placeholder="Title search" class="top-bar__search-bar">
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
`)
|
|
||||||
//line views/stuff.qtpl:33
|
|
||||||
if cfg.UseAuth {
|
|
||||||
//line views/stuff.qtpl:33
|
|
||||||
qw422016.N().S(`
|
|
||||||
<li class="top-bar__section top-bar__section_auth">
|
<li class="top-bar__section top-bar__section_auth">
|
||||||
|
`)
|
||||||
|
//line views/stuff.qtpl:34
|
||||||
|
if cfg.UseAuth {
|
||||||
|
//line views/stuff.qtpl:34
|
||||||
|
qw422016.N().S(`
|
||||||
<ul class="top-bar__auth auth-links">
|
<ul class="top-bar__auth auth-links">
|
||||||
<li class="auth-links__box auth-links__user-box">
|
<li class="auth-links__box auth-links__user-box">
|
||||||
`)
|
`)
|
||||||
@ -142,12 +142,12 @@ func StreamBaseHTML(qw422016 *qt422016.Writer, title, body string, u *user.User,
|
|||||||
//line views/stuff.qtpl:52
|
//line views/stuff.qtpl:52
|
||||||
qw422016.N().S(`
|
qw422016.N().S(`
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
|
||||||
`)
|
`)
|
||||||
//line views/stuff.qtpl:55
|
//line views/stuff.qtpl:54
|
||||||
}
|
}
|
||||||
//line views/stuff.qtpl:55
|
//line views/stuff.qtpl:54
|
||||||
qw422016.N().S(`
|
qw422016.N().S(`
|
||||||
|
</li>
|
||||||
<li class="top-bar__section top-bar__section_highlights">
|
<li class="top-bar__section top-bar__section_highlights">
|
||||||
<ul class="top-bar__highlights">
|
<ul class="top-bar__highlights">
|
||||||
`)
|
`)
|
||||||
|
Loading…
Reference in New Issue
Block a user