update ikiwiki templates

urosm 2024-03-03 23:49:55 +01:00
parent 9a6a1878a6
commit d09eee9132
2 changed files with 86 additions and 61 deletions

View File

@ -6,30 +6,49 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="<TMPL_VAR BASEURL>favicon.svg" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>css/style.css" type="text/css" />
<TMPL_IF META><TMPL_VAR META></TMPL_IF>
<TMPL_IF META>
<TMPL_VAR META>
</TMPL_IF>
</head>
<body id="index">
<main>
<article>
<header>
<a href="<TMPL_VAR BASEURL>"><TMPL_VAR WIKINAME></a>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
<TMPL_LOOP INLINEPAGES>
<article>
<header>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</TMPL_LOOP>
</main>
<body id="index" onload="document.getElementById('start').scrollIntoView({behavior:'smooth',inline:'start'})">
<main>
<div id="frontlinkpages">
<TMPL_LOOP FRONTLINKPAGES>
<article class="frontlinkpage">
<header>
<h1><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></h1>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</TMPL_LOOP>
</div>
<div id="start">
<article class="page">
<header>
<h1><a href="<TMPL_VAR BASEURL>"><TMPL_VAR WIKINAME></a></h1>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</div>
<div id="inlinepages">
<TMPL_LOOP INLINEPAGES>
<article class="inlinepage">
<header>
<h1><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></h1>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</TMPL_LOOP>
</div>
</main>
</body>
</html>

View File

@ -6,43 +6,49 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="<TMPL_VAR BASEURL>favicon.svg" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>css/style.css" type="text/css" />
<TMPL_IF META><TMPL_VAR META></TMPL_IF>
<TMPL_IF META>
<TMPL_VAR META>
</TMPL_IF>
</head>
<body id="page"
onload="document.getElementById('start').scrollIntoView({behavior:'smooth',inline:'start'})">
<main>
<TMPL_LOOP FRONTLINKPAGES>
<article class="frontlinkpage">
<header>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</TMPL_LOOP>
<article id="start">
<header>
<a href="<TMPL_VAR BASEURL>"><TMPL_VAR WIKINAME></a>/<a href="<TMPL_VAR
URL>"><TMPL_VAR TITLE></a>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
<TMPL_LOOP BACKLINKPAGES>
<article class="backlinkpage">
<header>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</TMPL_LOOP>
</main>
<body id="page" onload="document.getElementById('start').scrollIntoView({behavior:'smooth',inline:'start'})">
<main>
<div id="frontlinkpages">
<TMPL_LOOP FRONTLINKPAGES>
<article class="frontlinkpage">
<header>
<h1><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></h1>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</TMPL_LOOP>
</div>
<div id="start">
<article class="page">
<header>
<h1><a href="<TMPL_VAR BASEURL>"><TMPL_VAR WIKINAME></a>/<a href="<TMPL_VAR URL>"><TMPL_VAR TITLE></a></h1>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</div>
<div id="backlinkpages">
<TMPL_LOOP BACKLINKPAGES>
<article class="backlinkpage">
<header>
<h1><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></h1>
</header>
<TMPL_VAR CONTENT>
<footer>
<TMPL_VAR MTIME>
</footer>
</article>
</TMPL_LOOP>
</div>
</main>
</body>
</html>