Update templates.
This commit is contained in:
parent
e39b714e33
commit
9533cebef3
16
templates/blog-footer.php
Normal file
16
templates/blog-footer.php
Normal 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 © 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
28
templates/blog-header.php
Normal 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>
|
@ -7,7 +7,7 @@
|
||||
Résumé: <a href="/docs/resume_en.pdf" >EN</a>,
|
||||
<a href="/docs/resume_es.pdf" >ES</a>
|
||||
</p>
|
||||
<p>Copyright © 2016-${copyyear} Nicolás A. Ortega Froysa<br />
|
||||
<p>Copyright © 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>
|
@ -1,21 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="${lang}" >
|
||||
<html lang="<?= $lang ?>" >
|
||||
<head>
|
||||
<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="keywords" content="${keywords}" />
|
||||
<meta name="description" content="${description}" />
|
||||
<meta name="author" content="${author}" />
|
||||
<meta name="generator" content="${sitegenerator}" />
|
||||
<title>${title} - ${sitetitle}</title>
|
||||
<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" />
|
||||
<link rel="alternate" href="/blog/atom.xml" type="application/atom+xml" title="<?= $sitetitle ?> Atom Feed" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>The Music in Noise</h1>
|
||||
<h1><?= $sitetitle ?></h1>
|
||||
</header>
|
||||
<nav>
|
||||
<a href="/" >Home</a>
|
||||
@ -26,3 +25,4 @@
|
||||
<a href="/contact.html" >Contact</a>
|
||||
</nav>
|
||||
<main>
|
||||
<h1><?= $title ?></h1>
|
@ -1,3 +0,0 @@
|
||||
<h1>${title}</h1>
|
||||
|
||||
%{contentfile}
|
Loading…
x
Reference in New Issue
Block a user