Whitelabel songbook websites

This commit is contained in:
Carlos Galindo 2025-04-04 17:41:14 +00:00
parent bc4e7ed51d
commit 103fb07630
9 changed files with 35 additions and 16 deletions

View file

@ -1,6 +1,6 @@
<footer>
<p>
&copy; 2023 Carlos Galindo, Parroquia San Leandro
&copy; {{ metadata.author }}
<a href="https://gitlab.com/parroquia-san-leandro/cancionero-web"><span>Código fuente</span></a>
</p>
</footer>

View file

@ -1,5 +1,5 @@
<meta charset="UTF-8">
<title>Cancionero - Parroquia San Leandro</title>
<title>{{ metadata.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="icon" type="image/svg+xml" href="{{ path|urlencode }}/favicon.svg"/>
<link rel="stylesheet" type="text/css" href="{{ path|urlencode }}/main.css"/>

View file

@ -1,5 +1,6 @@
<header>
<h1><a href="{{ path }}">Cancionero San Leandro</a></h1>
<h1><a href="{{ path }}">{{ metadata.title }}</a></h1>
{% if metadata.links %}
<nav class="nav">
<ul>
<li><a href="https://sanleandrovalencia.es/"><span id="nav-web">Parroquia San Leandro</span></a></li>
@ -7,4 +8,5 @@
<li><a href="https://sanleandrovalencia.es/cancionero/"><span>Cancionero en PDF</span></a></li>
</ul>
</nav>
{% endif %}
</header>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="es">
<head>
{% include "head.html" with path="." only %}
{% include "head.html" with path="." metadata=metadata only %}
<link rel="stylesheet" type="text/css" href="index.css"/>
</head>
<body>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="es">
<head>
{% include "head.html" with path=".." only %}
{% include "head.html" with path=".." metadata=metadata only %}
<link rel="stylesheet" type="text/css" href="../song.css"/>
<script async src="../song.js"></script>
</head>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="es">
<head>
{% include "head.html" with path=".." only %}
{% include "head.html" with path=".." metadata=metadata only %}
<meta http-equiv="refresh" content="0; url = ../{{ song.url|urlencode }}">
</head>
<body>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% include "head.html" with path="." only %}
{% include "head.html" with path="." metadata=metadata only %}
<link rel="stylesheet" type="text/css" href="song.css"/>
<link rel="stylesheet" type="text/css" href="index.css"/>
<script async src="song.js"></script>