Fix b75d504d91a5: icon swap conditional on site.

master
Snakes 2022-08-01 17:24:06 -04:00
parent 45753ee166
commit 43b4acd3a8
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@
<div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0;">
<a href="/" class="navbar-brand mr-auto {% if not has_logo and not sub %}flex-grow-1{% endif %}">
<img id="header--icon" alt="header icon" src="{{asset_siteimg('icons-event/juggalo-2022.webp')}}"> {# src="{{asset_siteimg('headericon.webp')}}" #}
{% set headericon_path = 'headericon.webp' if not SITE_NAME == 'rDrama' else 'icons-event/juggalo-2022.webp' -%}
<img id="header--icon" alt="header icon" src="{{asset_siteimg(headericon_path)}}">
</a>
{% if sub %}