Fix: now whitelabelling works

This commit is contained in:
Carlos Galindo 2025-04-04 19:52:51 +02:00
parent 517439d4e6
commit 3d9bb9a26b
7 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
<footer>
<p>
&copy; {{ metadata.author }}
&copy; {{ 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>{{ metadata.title }}</title>
<title>{{ 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,6 +1,6 @@
<header>
<h1><a href="{{ path }}">{{ metadata.title }}</a></h1>
{% if metadata.links %}
<h1><a href="{{ path }}">{{ title }}</a></h1>
{% if links %}
<nav class="nav">
<ul>
<li><a href="https://sanleandrovalencia.es/"><span id="nav-web">Parroquia San Leandro</span></a></li>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="es">
<head>
{% include "head.html" with path="." metadata=metadata only %}
{% include "head.html" with path="." title=title 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=".." metadata=metadata only %}
{% include "head.html" with path=".." title=title 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=".." metadata=metadata only %}
{% include "head.html" with path=".." title=title 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="." metadata=metadata only %}
{% include "head.html" with path="." title=title 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>