Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost

master
Aevann1 2022-08-06 21:15:18 +02:00
commit f1232b9d04
2 changed files with 1 additions and 3 deletions

View File

@ -286,7 +286,6 @@
{% else %}
{% set path = "assets/images/" + SITE_NAME + "/banners" %}
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=25' %}
{%- set image = asset_siteimg('banners-event/2022-ICP.webp') -%}
<img alt="site banner" src="{% if v %}{{image}}{% else %}{{asset_siteimg('cached.webp')}}{% endif %}" width="100%">
{% endif %}
</a>

View File

@ -68,8 +68,7 @@
<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 %}">
{% 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)}}">
<img id="header--icon" alt="header icon" src="{{asset_siteimg('headericon.webp')}}">
</a>
{% if sub %}