arthur.bebou

Le site arthur.bebou.netlib.re - retour accueil

Anonyme, en lecture seule : git clone git://bebou.netlib.re/arthur.bebou
Authentifié·e, en écriture : git clone ssh://git@bebou.netlib.re:1459/srv/git/arthur.bebou

Log | Files | Refs | zip | tar.gz |

html (1373B)


      1 layout() {
      2 <<@@ cat
      3 <!DOCTYPE html>
      4 <html lang="fr">
      5 <head>
      6 	<title>${title?La page dont le chemin s'affiche au dessus nécessite un titre}</title>
      7 	${STYLE:+<link rel="stylesheet" href=\"$STYLE\">}
      8 	<meta charset="utf-8">
      9 	<meta name="viewport" content="width=device-width,initial-scale=1.0">
     10 	<meta name="description" content="$description">
     11 	<meta name="author" content="$author">
     12 	<meta name="color-scheme" content="light dark">
     13 	<meta name="generator" content="catium">
     14 	<link rel="icon" href="/favicon.png">
     15 </head>
     16 <body>
     17 	<header>
     18 		<h1>$title</h1>
     19 		$(if [ "$file" != "contents/index.sh" ] && [ "$file" != "contents/legal.sh" ];then
     20 		<<-. cat
     21 		<p>$description</p>
     22 		<nav><a href="/">retour accueil</a></nav>
     23 		.
     24 		fi)
     25 	</header>
     26 	<main>
     27 		$(if [ "$file" != "contents/index.sh" ] && [ "$file" != "contents/legal.sh" ] && [ -s "$tmpd/tdm" ];then
     28 		echo "<nav id=toc aria-labelledby=toc-label>"
     29 		echo "<p id=toc-label>Table des matières</p>"
     30 		show tdm | sed 's/ul>/ol>/'
     31 		echo "</nav>"
     32 		fi
     33 		)
     34 		<article>
     35 		$(show main)
     36 		</article>
     37 	</main>
     38 <footer>
     39 Contact : arthur.pons (a bizarre) unistra.fr<br>
     40 Code : <a href="http://git.bebou.netlib.re/arthur.bebou/files.html">http://git.bebou.netlib.re/arthur.bebou/files.html</a><br>
     41 Généré avec un catium modifié pour faire un blog<br>
     42 <a href="/legal.html">Mentions légales</a>
     43 </footer>
     44 </body>
     45 </html>
     46 @@
     47 }