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