Update templates.

This commit is contained in:
Nicolás A. Ortega Froysa 2025-02-14 14:30:42 +01:00
parent e39b714e33
commit 9533cebef3
5 changed files with 54 additions and 13 deletions

16
templates/blog-footer.php Normal file
View File

@ -0,0 +1,16 @@
<p><i>Last updated: <time><?= $updated ?></time></i></p>
</main>
<footer>
<p><a href="http://ft2bvxji6lxfttqcjz6ed3iyzdhv4gbcdl2bt7cdxguk56xsvdkqnbid.onion/" >Onion Address</a>
-
<a href="https://themusicinnoise.net/" >Clear-Net</a></p>
<p>
Résumé: <a href="/docs/resume_en.pdf" >EN</a>,
<a href="/docs/resume_es.pdf" >ES</a>
</p>
<p>Copyright &copy; 2016-<?= $copyyear ?> Nicolás A. Ortega Froysa<br />
This document is licensed under the
<a href="https://creativecommons.org/licenses/by-nd/4.0/" >CC-BY-ND 4.0 License</a>.</p>
</footer>
</body>
</html>

28
templates/blog-header.php Normal file
View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="<?= $lang ?>" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="<?= $lang ?>" />
<meta name="viewport" content="width=device-width" />
<meta name="keywords" content="<?= $keywords ?>" />
<meta name="description" content="<?= $description ?>" />
<meta name="author" content="<?= $author ?>" />
<title><?= $title ?> - <?= $sitetitle ?></title>
<link rel="stylesheet" href="/style.css" type="text/css" />
<link rel="icon" href="/favicon.png" type="image/png" />
<link rel="alternate" href="/blog/atom.xml" type="application/atom+xml" title="<?= $sitetitle ?> Atom Feed" />
</head>
<body>
<header>
<h1><?= $sitetitle ?></h1>
</header>
<nav>
<a href="/" >Home</a>
<a href="/blog/" >Blog</a>
<a href="/poetry.html" >Poetry</a>
<a href="https://code.ortegas.org/nortega/" >Code</a>
<a href="https://odysee.com/@nortega:7?r=FnizT7ACmJrTdw6HQJxAVGgFcHGN6oFy&sunset=lbrytv" >Videos</a>
<a href="/contact.html" >Contact</a>
</nav>
<main>
<h1 class="page-title" ><?= $title ?> - <?= $created ?></h1>

View File

@ -7,7 +7,7 @@
Résumé: <a href="/docs/resume_en.pdf" >EN</a>, Résumé: <a href="/docs/resume_en.pdf" >EN</a>,
<a href="/docs/resume_es.pdf" >ES</a> <a href="/docs/resume_es.pdf" >ES</a>
</p> </p>
<p>Copyright &copy; 2016-${copyyear} Nicolás A. Ortega Froysa<br /> <p>Copyright &copy; 2016-<?= $copyyear ?> Nicolás A. Ortega Froysa<br />
This document is licensed under the This document is licensed under the
<a href="https://creativecommons.org/licenses/by-nd/4.0/" >CC-BY-ND 4.0 License</a>.</p> <a href="https://creativecommons.org/licenses/by-nd/4.0/" >CC-BY-ND 4.0 License</a>.</p>
</footer> </footer>

View File

@ -1,21 +1,20 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="${lang}" > <html lang="<?= $lang ?>" >
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="${lang}" /> <meta http-equiv="Content-Language" content="<?= $lang ?>" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<meta name="keywords" content="${keywords}" /> <meta name="keywords" content="<?= $keywords ?>" />
<meta name="description" content="${description}" /> <meta name="description" content="<?= $description ?>" />
<meta name="author" content="${author}" /> <meta name="author" content="<?= $author ?>" />
<meta name="generator" content="${sitegenerator}" /> <title><?= $title ?> - <?= $sitetitle ?></title>
<title>${title} - ${sitetitle}</title>
<link rel="stylesheet" href="/style.css" type="text/css" /> <link rel="stylesheet" href="/style.css" type="text/css" />
<link rel="icon" href="/favicon.png" type="image/png" /> <link rel="icon" href="/favicon.png" type="image/png" />
<link rel="alternate" href="/blog/atom.xml" type="application/atom+xml" title="${sitetitle} Atom Feed" /> <link rel="alternate" href="/blog/atom.xml" type="application/atom+xml" title="<?= $sitetitle ?> Atom Feed" />
</head> </head>
<body> <body>
<header> <header>
<h1>The Music in Noise</h1> <h1><?= $sitetitle ?></h1>
</header> </header>
<nav> <nav>
<a href="/" >Home</a> <a href="/" >Home</a>
@ -26,3 +25,4 @@
<a href="/contact.html" >Contact</a> <a href="/contact.html" >Contact</a>
</nav> </nav>
<main> <main>
<h1><?= $title ?></h1>

View File

@ -1,3 +0,0 @@
<h1>${title}</h1>
%{contentfile}