Compare commits

...

2 Commits

Author SHA1 Message Date
Snakes bd84fe9579
rDrama: restore random sidebar image behavior.
Relevant commits for temporary behavior, manually reverted:
 - ed834225ae
 - 1bb80046f4
 - 15b5dfcb3a
2022-12-11 17:25:14 -05:00
Snakes f366504bdd
WPD: temporary Christmas headericon swap. 2022-12-11 17:22:48 -05:00
3 changed files with 5 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -59,7 +59,11 @@
<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 %}">
{% if SITE_NAME == 'WPD' %}{# Temporary event code, 2022-12-11 #}
<img id="header--icon" alt="header icon" src="{{'icons-event/2022-christmas.webp' | asset_siteimg}}">
{% else %}
<img id="header--icon" alt="header icon" {% if sub %}src="{{sub.marsey_url}}"{% else %}src="{{'headericon.webp' | asset_siteimg}}"{% endif %}>
{% endif %}
</a>
{% if sub %}

View File

@ -3,7 +3,7 @@
{% if sub %}
{% set image=sub.sidebar_url %}
{% else %}
{% set image = "/i/rDrama/sidebar/873.webp" %}
{% set image = macros.random_image("sidebar") %}
{% endif %}
{% if request.path != '/sidebar' %}