move ese year and color to global data file

This commit is contained in:
Lyn Fugmann 2024-09-26 18:23:45 +02:00
parent 324806b52f
commit 3f5b1988b8
7 changed files with 75 additions and 78 deletions

View file

@ -2,7 +2,7 @@
<div id="header-veil"></div>
<div class="header-container content">
<a id="header-logo" href="{{ "/" | locale_url }}" title="home">
<img alt="ESE {{year}} Logo" src="/ESELogo.svg">
<img alt="ESE {{ese.year}} Logo" src="/ESELogo.svg">
</a>
<nav id="mainNav">
<button id="menu-toggle" onclick="toggleMenu()" aria-expanded="false"

View file

@ -89,7 +89,7 @@ p {
font-size: 12px;
--page-width: 1280px;
--color-text: #495057;
--color-primary: {{ eseColor }};
--color-primary: {{ ese.color }};
--color-livestream-active: #fff;
--color-background-page: #fefefe;
--color-background-header: rgba(255,255,255,.92);

View file

@ -8,7 +8,7 @@ eleventyComputed:
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if title %}{{ title }} | {% endif %}ESE {{ year }}</title>
<title>{% if title %}{{ title }} | {% endif %}ESE {{ ese.year }}</title>
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
<link rel="stylesheet" href="/aileron.lite.min.css">
<script>