Fix header.html template escaping so title and logo render correctly
Mirror and run GitLab CI / build (push) Has been cancelled

This commit is contained in:
admin
2026-06-14 21:02:59 +00:00
parent fd94e2daa0
commit 2f304e3ed1
+30 -30
View File
@@ -9,29 +9,29 @@
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap" rel="stylesheet">
<style> <style>
.header-wrapper { .header-wrapper {{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 20px 20px 0; padding: 20px 20px 0;
box-sizing: border-box; box-sizing: border-box;
} }}
.logo-container { .logo-container {{
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-bottom: 10px; margin-bottom: 10px;
} }}
.logo { .logo {{
width: 120px; width: 120px;
height: auto; height: auto;
display: block; display: block;
} }}
.header-title { .header-title {{
font-family: 'Cormorant Garamond', serif; font-family: 'Cormorant Garamond', serif;
font-size: 42px; font-size: 42px;
font-weight: bold; font-weight: bold;
@@ -41,64 +41,64 @@
padding: 0.4em 0; padding: 0.4em 0;
text-align: center; text-align: center;
max-width: 90%; max-width: 90%;
} }}
.header-title::before, .header-title::before,
.header-title::after { .header-title::after {{
content: ""; content: "";
position: absolute; position: absolute;
height: 2px; height: 2px;
width: 80%; width: 80%;
background-color: {accent_color}; background-color: {accent_color};
left: 10%; left: 10%;
} }}
.header-title::before { .header-title::before {{
top: 0.4em; top: 0.4em;
} }}
.header-title::after { .header-title::after {{
bottom: 0.4em; bottom: 0.4em;
} }}
.header-description { .header-description {{
text-align: center; text-align: center;
padding: 10px 40px 20px; padding: 10px 40px 20px;
max-width: 800px; max-width: 800px;
margin: 0 auto; margin: 0 auto;
} }}
.header-description p, .header-description p,
.header-description h2 { .header-description h2 {{
font-size: 15px; font-size: 15px;
margin: 8px 0; margin: 8px 0;
line-height: 1.5; line-height: 1.5;
} }}
.header-description h2 { .header-description h2 {{
font-weight: bold; font-weight: bold;
color: {accent_color}; color: {accent_color};
} }}
@media (max-width: 768px) { @media (max-width: 768px) {{
.header-title { .header-title {{
font-size: 28px; font-size: 28px;
} }}
.header-title::before, .header-title::before,
.header-title::after { .header-title::after {{
width: 80%; width: 80%;
left: 10%; left: 10%;
} }}
.logo { .logo {{
width: 110px; width: 110px;
} }}
.header-description { .header-description {{
padding: 10px 20px 15px; padding: 10px 20px 15px;
} }}
} }}
</style> </style>
</head> </head>
<body> <body>