ss fix
This commit is contained in:
parent
df3d2b764f
commit
005dba4ccb
|
@ -40,7 +40,7 @@ FEED_ATOM = 'tyrel-dev.atom.xml'
|
|||
FEED_ALL_ATOM = 'tyrel-dev.all.xml'
|
||||
|
||||
|
||||
PLUGINS = ["webassets","syntax_highlighting"]
|
||||
PLUGINS = ["webassets"]
|
||||
|
||||
DEFAULT_PAGINATION = True
|
||||
DISPLAY_CATEGORIES_ON_MENU = False
|
||||
|
|
|
@ -300,6 +300,13 @@ nav li.selected a {
|
|||
color: #FFF;
|
||||
}
|
||||
|
||||
nav li.ephemeral a {
|
||||
background-color: #15A9DB;
|
||||
color: #FFF;
|
||||
filter: brightness(0.75);
|
||||
}
|
||||
|
||||
|
||||
header .header_box {
|
||||
padding-top: 1.5em;
|
||||
text-align: justify;
|
||||
|
|
|
@ -80,20 +80,26 @@
|
|||
<nav style="overflow: hidden;">
|
||||
<ul>
|
||||
{% block ephemeral_nav %}{% endblock %}
|
||||
|
||||
{% if DISPLAY_HOME or DISPLAY_HOME is not defined %}
|
||||
<li{% if output_file == "index.html" %} class="selected"{% endif %}><a href="{{ SITEURL }}/">Home</a></li>
|
||||
{% endif %}
|
||||
{% for name, link, file in MENU_INTERNAL_PAGES %}
|
||||
<li {% if output_file == file %} class="selected"{% endif %}><a href="{{ SITEURL }}/{{ link }}">{{ name }}</a></li>
|
||||
{% endfor %}
|
||||
{% for title, link in MENUITEMS %}
|
||||
<li{% if output_file == file %} class="selected"{% endif %}><a href="{{ link }}">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
{% if DISPLAY_PAGES_ON_MENU %}
|
||||
{% for p in pages %}
|
||||
<li{% if p == page %} class="selected"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
</ul>
|
||||
<ul>
|
||||
|
||||
|
||||
{% for title, link in MENUITEMS %}
|
||||
<li {% if output_file == file %} class="selected"{% endif %}><a href="{{ link }}">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user