consistency in eent icons + add more thanksgiving icons
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 512 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 160 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 10 KiB |
|
@ -86,11 +86,36 @@
|
||||||
<div class="container-fluid" style="padding:0">
|
<div class="container-fluid" style="padding:0">
|
||||||
<a href="/" class="navbar-brand mr-auto {% if not has_logo and not hole %}flex-grow-1{% endif %}">
|
<a href="/" class="navbar-brand mr-auto {% if not has_logo and not hole %}flex-grow-1{% endif %}">
|
||||||
{% if False %}
|
{% if False %}
|
||||||
{% set icon_url = SITE_FULL_IMAGES + '/e/marseyturkey.webp' %}
|
{%- set icons = [
|
||||||
|
'marseyturkey',
|
||||||
|
'marseyturkeyhappy',
|
||||||
|
'marseyflagturkey',
|
||||||
|
'marseypilgrim',
|
||||||
|
'carppilgrim',
|
||||||
|
] -%}
|
||||||
{% elif IS_DKD() %}
|
{% elif IS_DKD() %}
|
||||||
{% set icon_url = macros.random_image('assets/events/DKD/images/icon') %}
|
{%- set icons = [
|
||||||
|
'diddykongstand',
|
||||||
|
'donkeykongbass',
|
||||||
|
'dixiekongguitar',
|
||||||
|
'donkeykongbooba',
|
||||||
|
'diddykongboombox',
|
||||||
|
'dixiekonggum',
|
||||||
|
'donkeykongchestbeat',
|
||||||
|
'diddykongjuggle',
|
||||||
|
'dixiekongrambi',
|
||||||
|
'donkeykongfalling',
|
||||||
|
'diddykongscared',
|
||||||
|
'donkeydong',
|
||||||
|
'donkeykonghanging',
|
||||||
|
] -%}
|
||||||
{% elif IS_FISTMAS() %}
|
{% elif IS_FISTMAS() %}
|
||||||
{% set icon_url = macros.random_image('assets/events/fistmas/images/icon/' ~ SITE_NAME) %}
|
{%- set icons = [
|
||||||
|
'marseychristmaself2',
|
||||||
|
'marseypartyxmas',
|
||||||
|
'marseysanta3',
|
||||||
|
'marseysnowman',
|
||||||
|
] -%}
|
||||||
{% elif IS_HOMOWEEN() %}
|
{% elif IS_HOMOWEEN() %}
|
||||||
{%- set icons = [
|
{%- set icons = [
|
||||||
'marseyscalped',
|
'marseyscalped',
|
||||||
|
@ -104,19 +129,21 @@
|
||||||
'marseywitch3',
|
'marseywitch3',
|
||||||
'marseyhannibal'
|
'marseyhannibal'
|
||||||
] -%}
|
] -%}
|
||||||
{% set icon_url = "/e/" ~icons|random~ ".webp" %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set icon_url = 'headericon.webp' | asset_siteimg %}
|
{% set icon_url = 'headericon.webp' | asset_siteimg %}
|
||||||
{% if SITE_NAME == 'rDrama' %}
|
{% if SITE_NAME == 'rDrama' %}
|
||||||
{% set width="40" %}
|
{% set width = 40 %}
|
||||||
{% elif SITE_NAME == 'WPD' %}
|
{% elif SITE_NAME == 'WPD' %}
|
||||||
{% set width="45" %}
|
{% set width = 45 %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<img loading="lazy" id="header--icon" alt="header icon"
|
<img loading="lazy" id="header--icon" alt="header icon"
|
||||||
{%- if hole and hole.marseyurl -%}
|
{%- if hole and hole.marseyurl -%}
|
||||||
src="{{hole.marseyurl}}"
|
src="{{hole.marseyurl}}"
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
|
{% if icons %}
|
||||||
|
{% set icon_url = "/e/" ~icons|random~ ".webp" %}
|
||||||
|
{% endif %}
|
||||||
src="{{icon_url}}"
|
src="{{icon_url}}"
|
||||||
{%- if width -%}
|
{%- if width -%}
|
||||||
width="{{width}}"
|
width="{{width}}"
|
||||||
|
|