This commit is contained in:
Tyrel Souza 2023-10-04 17:23:03 -04:00 committed by Tyrel Souza
parent df3d2b764f
commit 005dba4ccb
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
3 changed files with 19 additions and 6 deletions

View File

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

View File

@ -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;

View File

@ -79,21 +79,27 @@
{% if DISPLAY_MENU or DISPLAY_MENU is not defined %} {% if DISPLAY_MENU or DISPLAY_MENU is not defined %}
<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 %}