Skip to content

Commit

Permalink
fix bugs about blogrolls
Browse files Browse the repository at this point in the history
  • Loading branch information
EtaoinWu committed Nov 13, 2016
1 parent 95b516b commit 9b70d24
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions templates/base.html
Expand Up @@ -75,13 +75,6 @@ <h1>{{ SITENAME }}</h1>
{% if DISPLAY_PAGES_ON_MENU and PAGES %}{% for p in pages %}
<li><a class="nav__link" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}{% endif %}

{% if LINKS %}
<li><h1 class="blog_roll_link"><br/><br/><br/>BLOGROLLS</h1></li>
{% for name, link in LINKS %}
<li><a class="blog_roll_link" href="{{ link }}">{{ name }}</a></li>
{% endfor %}
{% endif %}

</ul>
</nav>
Expand Down Expand Up @@ -110,6 +103,16 @@ <h2>Categories</h2>
{% endfor %}
</ul>
{% endif %}

{% if LINKS %}
<h2 class="blog_roll_link"><br/>BLOGROLLS</h2>
<ul class="navbar">
{% for name, link in LINKS %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
{% endif %}

</aside>

<!-- Content -->
Expand Down

0 comments on commit 9b70d24

Please sign in to comment.