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">
<style>
.header-wrapper {
.header-wrapper {{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px 20px 0;
box-sizing: border-box;
}
}}
.logo-container {
.logo-container {{
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
}
}}
.logo {
.logo {{
width: 120px;
height: auto;
display: block;
}
}}
.header-title {
.header-title {{
font-family: 'Cormorant Garamond', serif;
font-size: 42px;
font-weight: bold;
@@ -41,64 +41,64 @@
padding: 0.4em 0;
text-align: center;
max-width: 90%;
}
}}
.header-title::before,
.header-title::after {
.header-title::after {{
content: "";
position: absolute;
height: 2px;
width: 80%;
background-color: {accent_color};
left: 10%;
}
}}
.header-title::before {
.header-title::before {{
top: 0.4em;
}
}}
.header-title::after {
.header-title::after {{
bottom: 0.4em;
}
}}
.header-description {
.header-description {{
text-align: center;
padding: 10px 40px 20px;
max-width: 800px;
margin: 0 auto;
}
}}
.header-description p,
.header-description h2 {
.header-description h2 {{
font-size: 15px;
margin: 8px 0;
line-height: 1.5;
}
}}
.header-description h2 {
.header-description h2 {{
font-weight: bold;
color: {accent_color};
}
}}
@media (max-width: 768px) {
.header-title {
@media (max-width: 768px) {{
.header-title {{
font-size: 28px;
}
}}
.header-title::before,
.header-title::after {
.header-title::after {{
width: 80%;
left: 10%;
}
}}
.logo {
.logo {{
width: 110px;
}
}}
.header-description {
.header-description {{
padding: 10px 20px 15px;
}
}
}}
}}
</style>
</head>
<body>