1
0
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:
Timur Ismagilov 2021-07-25 18:17:13 +05:00
parent ea1f0a8e51
commit 6e47ea0cfe
2 changed files with 10 additions and 10 deletions

View File

@ -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 -%}

View File

@ -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">
`)