mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-12 05:20:26 +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">
|
||||
</form>
|
||||
</li>
|
||||
{% if cfg.UseAuth %}
|
||||
<li class="top-bar__section top-bar__section_auth">
|
||||
{% if cfg.UseAuth %}
|
||||
<ul class="top-bar__auth auth-links">
|
||||
<li class="auth-links__box auth-links__user-box">
|
||||
{% if u.Group == "anon" %}
|
||||
@ -51,8 +51,8 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
</li>
|
||||
<li class="top-bar__section top-bar__section_highlights">
|
||||
<ul class="top-bar__highlights">
|
||||
{%- 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">
|
||||
</form>
|
||||
</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">
|
||||
`)
|
||||
//line views/stuff.qtpl:34
|
||||
if cfg.UseAuth {
|
||||
//line views/stuff.qtpl:34
|
||||
qw422016.N().S(`
|
||||
<ul class="top-bar__auth auth-links">
|
||||
<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
|
||||
qw422016.N().S(`
|
||||
</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(`
|
||||
</li>
|
||||
<li class="top-bar__section top-bar__section_highlights">
|
||||
<ul class="top-bar__highlights">
|
||||
`)
|
||||
|
Loading…
Reference in New Issue
Block a user