Changeset - 76197c079c8e
[Not reviewed]
0 1 0
Joshua Simmons - 6 years ago 2017-11-14 04:17:34
i@joshuasimmons.name
fix wiki nav
1 file changed with 8 insertions and 3 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/wiki/base.html
Show inline comments
...
 
@@ -5,12 +5,20 @@
 
{% load sekizai_tags %}
 

	
 
{% block wiki_body %}
 
  {% addtoblock "css" %}
 
    {% compress css %}
 
        <link rel="stylesheet" type="text/x-scss" href="{% static "scss/site.scss" %}">
 

	
 
      <style type="text/css">
 
        div.navbar ul.nav.navbar-nav li:nth-child(1), /* about */
 
        div.navbar ul.nav.navbar-nav li:nth-child(4), /* sponsors */
 
        div.navbar ul.nav.navbar-nav li:nth-child(5)  /* news */ {
 
          display: none;
 
        }
 
      </style>
 
    {% endcompress %}
 
  {% endaddtoblock %}
 

	
 
  {{ block.super }}
 
{% endblock %}
 

	
...
 
@@ -18,15 +26,12 @@
 

	
 
{% block wiki_header_branding %}
 
<a class="navbar-brand" href="/">North Bay Python</a>
 
{% endblock %}
 

	
 
{% block wiki_header_navlinks %}
 
<ul class="nav navbar-nav">
 
  <li class="active"><a href="{% url 'wiki:root' %}">Wiki</a></li>
 
  {% sitetree_menu from "main" include "trunk" template "sitetree/menu_bootstrap3.html" %}
 
</ul>
 
{% endblock %}
 

	
 
{% block wiki_footer_prepend %}
 
  All contributions to this wiki page are licensed under a Creative Commons Attribution-ShareAlike 4.0 licence.
 
{% endblock %}
0 comments (0 inline, 0 general)