update ikiwiki templates

urosm 2024-02-17 18:20:53 +01:00
parent 577b5327f1
commit a920266b3a
3 changed files with 16 additions and 8 deletions

View File

@ -1,4 +0,0 @@
<article>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
<TMPL_VAR MTIME>
</article>

View File

@ -8,7 +8,7 @@
<link rel="stylesheet" href="<TMPL_VAR BASEURL>css/style.css" type="text/css" />
<TMPL_IF META><TMPL_VAR META></TMPL_IF>
</head>
<body class="index">
<body id="index">
<main>
<article>
<header>

View File

@ -8,9 +8,21 @@
<link rel="stylesheet" href="<TMPL_VAR BASEURL>css/style.css" type="text/css" />
<TMPL_IF META><TMPL_VAR META></TMPL_IF>
</head>
<body class="page">
<body id="page"
onload="document.getElementById('start').scrollIntoView({behavior:'smooth',inline:'start'})">
<main>
<article>
<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>
@ -21,7 +33,7 @@ URL>"><TMPL_VAR TITLE></a>
</footer>
</article>
<TMPL_LOOP BACKLINKPAGES>
<article>
<article class="backlinkpage">
<header>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
</header>