remove ikiwiki

master
urosm 2024-01-14 23:03:14 +01:00
parent 8b0c384228
commit 7c4a356a98
13 changed files with 149 additions and 648 deletions

View File

@ -1,59 +0,0 @@
#!/usr/bin/perl
package IkiWiki::Plugin::backlinkpages;
use warnings;
use strict;
use IkiWiki 3.00;
sub import {
hook(type => "pagetemplate", id => "backlinkpages", call => \&pagetemplate);
}
sub pagetemplate (@) {
my %params=@_;
my $template=$params{template};
if (! $template->query(name => "backlinkpages")) {
return;
}
my $quick=exists $params{quick} ? IkiWiki::yesno($params{quick}) : 0;
my $num=0;
if ($params{limit}) {
$num=$params{limit};
}
if ($params{feedlimit} && $num < $params{feedlimit} && $num > 0) {
$num=$params{feedlimit};
}
if ($params{skip} && $num) {
$num+=$params{skip};
}
my @pages = pagespec_match_list($params{page}, "backlink($params{page})",
deptype => deptype($quick ? "presence" : "content"),
filter => sub { $_[0] eq $params{page} },
sort => exists $params{sort} ? $params{sort} : "age title",
reverse => IkiWiki::yesno($params{reverse}),
($num ? (num => $num) : ()),
);
my $destpage=$params{destpage};
my @contents;
for (@pages) {
if ($pagesources{$_}) {
push @contents, {
content => IkiWiki::get_inline_content($_, $destpage),
pageurl => urlto($_, $destpage),
title => pagetitle(IkiWiki::basename($_)),
ctime => displaytime($IkiWiki::pagectime{$_}, $params{timeformat}, 1),
mtime => displaytime($IkiWiki::pagemtime{$_}, $params{timeformat})
}
}
}
$template->param(backlinkpages => \@contents);
}
1

View File

@ -1,73 +0,0 @@
#!/usr/bin/perl
package IkiWiki::Plugin::inlinepages;
use warnings;
use strict;
use IkiWiki 3.00;
my @inlinepages;
sub import {
hook(type => "preprocess", id => "inlinepages", call => \&preprocess);
hook(type => "pagetemplate", id => "inlinepages", call => \&pagetemplate);
}
sub preprocess (@) {
my %params=@_;
if (! exists $params{pages}) {
error gettext("missing pages parameter");
}
my $quick=exists $params{quick} ? IkiWiki::yesno($params{quick}) : 0;
my $num=0;
if ($params{limit}) {
$num=$params{limit};
}
if ($params{feedlimit} && $num < $params{feedlimit} && $num > 0) {
$num=$params{feedlimit};
}
if ($params{skip} && $num) {
$num+=$params{skip};
}
@inlinepages=pagespec_match_list($params{page}, $params{pages},
deptype => deptype($quick ? "presence" : "content"),
filter => sub { $_[0] eq $params{page} },
sort => exists $params{sort} ? $params{sort} : "age title",
reverse => IkiWiki::yesno($params{reverse}),
($num ? (num => $num) : ()),
);
return "";
}
sub pagetemplate (@) {
my %params=@_;
my $template=$params{template};
my $destpage=$params{destpage};
if (! $template->query(name => "inlinepages")) {
return;
}
my @contents;
for (@inlinepages) {
if ($pagesources{$_}) {
push @contents, {
content => IkiWiki::get_inline_content($_, $destpage),
pageurl => urlto($_, $destpage),
title => pagetitle(IkiWiki::basename($_)),
ctime => displaytime($IkiWiki::pagectime{$_}, $params{timeformat}, 1),
mtime => displaytime($IkiWiki::pagemtime{$_}, $params{timeformat})
}
}
}
$template->param(inlinepages => \@contents);
}
1

View File

@ -1,25 +0,0 @@
#!/usr/bin/perl
package IkiWiki::Plugin::selftemplate;
use warnings;
use strict;
use IkiWiki 3.00;
my %templates;
sub import {
hook(type => "templatefile", id => "selftemplate", call => \&templatefile);
}
sub templatefile (@) {
my %params=@_;
if (defined IkiWiki::template_file("$params{page}.tmpl")) {
return $templates{$params{page}}="$params{page}.tmpl";
}
return undef;
}
1

View File

@ -1,70 +1,176 @@
/* variables */
:root { :root {
--font-size: 12pt; --font-size: 12pt;
--line-height: 1.625; --line-height: 1.625;
--height-unit: calc(var(--font-size) * var(--line-height)); --font-family: monospace;
--width-unit: 1ch;
--padding-left: calc(1 * var(--width-unit)); /* font-derived vertical and horizontal units */
--padding-right: calc(1 * var(--width-unit)); --v-un: calc(var(--font-size) * var(--line-height));
--padding-top: calc(1 * var(--height-unit)); --h-un: 1ch;
--padding-bottom: calc(1 * var(--height-unit));
--gap-vertical: calc(1 * var(--height-unit)); /* gaps and paddings */
--gap-horizontal: calc(2 * var(--width-unit)); --body-padding-h: var(--h-un);
--column-width: clamp(32ch, 72ch, calc(100vw - var(--gap-horizontal) - var(--padding-left) - var(--padding-right) - var(--width-unit))); --body-padding-v: var(--v-un);
font: var(--font-size)/var(--line-height) monospace; --main-gap-h: calc(2 * var(--h-un));
color-scheme: light dark; --main-gap-v: 0;
/* font-derived column width */
--col-w: clamp(33.33vw, 74ch, 100vw);
/* colors */
--fg-c: #000000;
--bg-c: #ffffff;
--link-c: hsl(240 100% 50%);
--visited-c: hsl(270 100% 50%);
--active-c: hsl(0 100% 50%);
}
@media (prefers-color-scheme: dark) {
:root {
--fg-c: #ffffff;
--bg-c: #000000;
--link-c: hsl(240 100% 75%);
--visited-c: hsl(270 100% 75%);
--active-c: hsl(0 100% 75%);
}
} }
/* reset */ /* reset */
* { * {
box-sizing: border-box; box-sizing: border-box;
} margin: unset;
body {
color: light-dark(#000000, #ffffff);
background-color: light-dark(#ffffff, #000000);
margin: 0;
}
h1, h2, h3, h4, h5, h6 {
font: inherit;
}
h1 {
font-weight: bold;
margin: var(--height-unit) var(--height-unit) 0 0;
}
h2, h3, h4, h5, h6 {
font-style: italic;
margin: var(--height-unit) var(--height-unit) 0 0;
}
p {
margin: var(--height-unit) 0 0 0;
hyphens: auto; hyphens: auto;
} }
/* root */
:root {
color: var(--fg-c);
background-color: var(--bg-c);
font: var(--font-size)/var(--line-height) var(--font-family);
}
/* content sectioning */
address {
font-style: unset;
}
h1, h2, h3, h4, h5, h6 {
font-size: unset;
font-weight: bold;
}
/* text content */
:is(article :is(blockquote, dl, figure, menu, ol, p, pre, ul, div)) +
:is(article :is(blockquote, dl, figure, menu, ol, p, pre, ul, div)) {
margin-block-start: var(--v-un);
}
:is(article :is(blockquote, dl, figure, menu, ol, p, pre, ul)) +
:is(article :is(h1, h2, h3, h4, h5, h6)) {
margin-block-start: calc(2 * var(--v-un));
margin-block-end: var(--v-un);
}
:is(article :is(blockquote, dl, figure, menu, ol, p, pre, ul, div)) +
:is(article :is(address, article, aside, footer, header, hgroup, nav, section, search)) {
margin-block-start: var(--v-un);
}
:is(article :is(h1, h2, h3, h4, h5, h6)) +
:is(article :is(blockquote, dl, figure, menu, ol, p, pre, ul)) {
margin-block-start: var(--v-un);
}
:is(article :is(h1, h2, h3, h4, h5, h6)) +
:is(article :is(h1, h2, h3, h4, h5, h6)) {
margin-block-start: calc(2 * var(--v-un));
margin-block-end: var(--v-un);
}
:is(article :is(h1, h2, h3, h4, h5, h6)) +
:is(article :is(address, article, aside, footer, header, hgroup, nav, section, search)) {
margin-block-start: var(--v-un);
}
:is(article :is(address, article, aside, footer, header, hgroup, nav, section, search)) +
:is(article :is(blockquote, dl, figure, menu, ol, p, pre, ul, div)) {
margin-block-start: var(--v-un);
}
:is(article :is(address, article, aside, footer, header, hgroup, nav, section, search)) +
:is(article :is(h1, h2, h3, h4, h5, h6)) {
margin-block-start: calc(2 * var(--v-un));
margin-block-end: var(--v-un);
}
blockquote {
margin-inline: calc(4 * var(--h-un));
}
ol, ul, menu {
padding-inline-start: calc(4 * var(--h-un));
}
:is(ol, ul, menu) :is(ol, ul, menu) {
margin-block: unset;
}
ul>li::marker {
content: "- ";
}
hr { hr {
border: none; margin-block-start: var(--v-un);
color: unset;
border: unset;
text-align: center; text-align: center;
} }
hr:after { hr:after {
content: "---"; content: "---";
} }
/* main layout */ dt {
body { font-style: italic;
padding: var(--height-unit) var(--width-unit);
width: 100vw;
height: 100vh;
} }
/* secondary grid */ dd {
padding-inline-start: calc(4 * var(--h-un));
}
/* inline text semantics */
a {
cursor: pointer;
text-decoration: underline;
}
a:link {
color: var(--link-c);
}
a:link:active {
color: var(--active-c);
}
a:visited {
color: var(--visited-c);
}
a:visited:active {
color: var(--active-c);
}
/* layout */
body>main { body>main {
width: 100vw;
height: 100vh;
display: grid; display: grid;
grid-auto-flow: column; grid-auto-flow: column;
grid-template-columns: repeat(auto-fit, var(--column-width)); grid-auto-columns: var(--col-w);
grid-gap: var(--gap-horizontal);
overflow-x: scroll; overflow-x: scroll;
scroll-snap-type: x proximity;
} }
body>main>article { body>main>article {
scroll-snap-align: start;
scroll-snap-stop: always;
width: var(--column-width);
overflow-y: scroll; overflow-y: scroll;
padding: var(--v-un) var(--h-un);
} }

View File

@ -5,5 +5,5 @@
viewBox="0 0 32 32" viewBox="0 0 32 32"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"> xmlns:svg="http://www.w3.org/2000/svg">
<rect style="fill:#551a8b" width="32" height="32" x="0" y="0" /> <rect style="fill:hsl(270 100% 50%)" width="32" height="32" x="0" y="0" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 272 B

View File

@ -4,7 +4,7 @@ z vsakodnevnimi ugotovitvami o njihovi brezkoristnosti ter zastaranje
specifičnih metod projektiranja še preden so njihove hipoteze lahko specifičnih metod projektiranja še preden so njihove hipoteze lahko
preverjene v realnosti za arhitekte tvorijo tesnobno vzdušje, ki na preverjene v realnosti za arhitekte tvorijo tesnobno vzdušje, ki na
obzorju ponuja vpogled na zelo konkretno ozadje, zastrašujoče kot obzorju ponuja vpogled na zelo konkretno ozadje, zastrašujoče kot
največje zlo: [...] največje zlo ...
[[!inline pages="page(wiki/*)" feeds="no" archive="yes"]] [[!inline pages="page(wiki/*)" feeds="no" archive="yes"]]

View File

@ -1,13 +0,0 @@
addEventListener("DOMContentLoaded", (event) => {
document.body.querySelectorAll("article.post").forEach((postEl, i) => {
postEl.querySelectorAll("a.footnote").forEach((fmEl, j) => {
const fnItemEl = document.querySelector(`div.footnotes>ol>li#${CSS.escape(fmEl.getAttribute("href").substring(1))}`);
const fnAnchorEl = fnItemEl.querySelector("a.reversefootnote");
fmEl.href = `${fmEl.href}:${i}`;
fmEl.id = `${fmEl.id}:${i}`;
fnItemEl.id = `${fnItemEl.id}:${i}`;
fnAnchorEl.href = `${fnAnchorEl.href}:${i}`;
})
})
})

View File

@ -1,11 +0,0 @@
addEventListener("DOMContentLoaded", (event) => {
const mainEl = document.body.querySelector("main");
mainEl.querySelectorAll("article.mainpage>article.inlinepage").forEach(inlineArticleEl => {
// remove nested inlines
inlineArticleEl.querySelectorAll(":scope>article.inlinepage").forEach(inlineInlineArticleEl => {
inlineArticleEl.removeChild(inlineInlineArticleEl);
});
// append to main
mainEl.appendChild(inlineArticleEl);
})
})

View File

@ -1,172 +0,0 @@
# IkiWiki::Setup::Yaml - YAML formatted setup file
#
# Setup file for ikiwiki.
#
# Passing this to ikiwiki --setup will make ikiwiki generate
# wrappers and build the wiki.
#
# Remember to re-run ikiwiki --setup any time you edit this file.
#
# name of the wiki
wikiname: bavbavhaus.net
# contact email for wiki
adminemail: urosm@kompot.si
# users who are wiki admins
adminuser:
- urosm
# users who are banned from the wiki
banned_users: []
# where the source of the wiki is located
srcdir: /home/urosm/txt
# where to build the wiki
destdir: /home/urosm/public_html/bavbavhaus.net
# base url to the wiki
url: bavbavhaus.net
# url to the ikiwiki.cgi
cgiurl: ''
# do not adjust cgiurl if CGI is accessed via different URL
reverse_proxy: 0
# filename of cgi wrapper to generate
cgi_wrapper: ''
# mode for cgi_wrapper (can safely be made suid)
cgi_wrappermode: 06755
# number of seconds to delay CGI requests when overloaded
cgi_overload_delay: ''
# message to display when overloaded (may contain html)
cgi_overload_message: ''
# enable optimization of only refreshing committed changes?
only_committed_changes: 0
# rcs backend to use
rcs: git
# plugins to add to the default configuration
add_plugins:
- selftemplate
- backlinkpages
- inlinepages
# plugins to disable
disable_plugins:
- conditional
- editpage
- emailauth
- lockedit
- openid
- passwordauth
- recentchanges
- signinedit
- sortnaturally
- templatebody
- transient
# - htmlscrubber
# - inline
# - link
# - mdwn
# - meta
# - parentlinks
# additional directory to search for template files
templatedir: /home/urosm/txt/tmpl
# base wiki source location
underlaydir: ''
# display verbose messages?
verbose: 1
# log to syslog?
syslog: 1
# create output files named page/index.html?
usedirs: 1
# use '!'-prefixed preprocessor directives?
prefix_directives: 1
# use page/index.mdwn source files
indexpages: 0
# enable Discussion pages?
discussion: 0
# name of Discussion pages
discussionpage: ''
# use elements new in HTML5 like <section>?
html5: 1
# only send cookies over SSL connections?
sslcookie: 0
# extension to use for new pages
default_pageext: md
# extension to use for html files
htmlext: html
# strftime format string to display date
timeformat: '%c'
# UTF-8 locale to use
locale: sl_SI.UTF-8
# put user pages below specified page
userdir: ''
# how many backlinks to show before hiding excess (0 to show all)
numbacklinks: 10
# attempt to hardlink source files? (optimisation for large files)
hardlink: 0
# force ikiwiki to use a particular umask (keywords public, group or private, or a number)
#umask: public
# group for wrappers to run in
#wrappergroup: ikiwiki
# extra library and plugin directories
libdirs:
- /home/urosm/txt
# extra library and plugin directory (searched after libdirs)
libdir: /home/urosm/.ikiwiki
# environment variables
ENV: {}
# time zone name
timezone: :/etc/localtime
# regexp of normally excluded files to include
#include: ^\.htaccess$
# regexp of files that should be skipped
exclude: (^laptop\.setup$|^server\.setup$|^makefile$|^dest|\.tmpl$|\.pm$|\.md$|\.yaml$)
# specifies the characters that are allowed in source filenames
wiki_file_chars: -[:alnum:]+/.:_
# allow symlinks in the path leading to the srcdir (potentially insecure)
allow_symlinks_before_srcdir: 0
# cookie control
cookiejar:
file: /home/urosm/.ikiwiki/cookies
# set custom user agent string for outbound HTTP requests e.g. when fetching aggregated RSS feeds
useragent: ikiwiki/3.20200202.3-1
# theme has a responsive layout? (mobile-optimized)
responsive_layout: 1
# try harder to produce deterministic output
deterministic: 0
# git plugin ###################################################################
# git hook to generate
git_wrapper: ''
# shell command for git_wrapper to run, in the background
#git_wrapper_background_command: git push github
# mode for git_wrapper (can safely be made suid)
#git_wrappermode: 06755
# git pre-receive hook to generate
#git_test_receive_wrapper: /git/wiki.git/hooks/pre-receive
# unix users whose commits should be checked by the pre-receive hook
#untrusted_committers: []
# gitweb url to show file history ([[file]] substituted)
#historyurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=history;f=[[file]];hb=HEAD
# gitweb url to show a diff ([[file]], [[sha1_to]], [[sha1_from]], [[sha1_commit]], and [[sha1_parent]] substituted)
#diffurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]
# where to pull and push changes (set to empty string to disable)
gitorigin_branch: ''
# branch that the wiki is stored in
#gitmaster_branch: master
# inline plugin ################################################################
# enable rss feeds by default?
rss: 1
# enable atom feeds by default?
atom: 0
# allow rss feeds to be used?
allowrss: 1
# allow atom feeds to be used?
allowatom: 0
# urls to ping (using XML-RPC) on feed update
#pingurl: http://rpc.technorati.com/rpc/ping
# mdwn plugin ##################################################################
# enable multimarkdown features?
multimarkdown: 1
# disable use of markdown discount?
#nodiscount: 0
# enable footnotes in Markdown (where supported)?
#mdwn_footnotes: 1
# interpret line like 'A. First item' as ordered list when using Discount?
#mdwn_alpha_lists: 0

View File

@ -1,172 +0,0 @@
# IkiWiki::Setup::Yaml - YAML formatted setup file
#
# Setup file for ikiwiki.
#
# Passing this to ikiwiki --setup will make ikiwiki generate
# wrappers and build the wiki.
#
# Remember to re-run ikiwiki --setup any time you edit this file.
#
# name of the wiki
wikiname: bavbavhaus.net
# contact email for wiki
adminemail: urosm@kompot.si
# users who are wiki admins
adminuser:
- urosm
# users who are banned from the wiki
banned_users: []
# where the source of the wiki is located
srcdir: /home/urosm/txt
# where to build the wiki
destdir: /home/urosm/public_html/bavbavhaus.net
# base url to the wiki
url: bavbavhaus.net
# url to the ikiwiki.cgi
cgiurl: ''
# do not adjust cgiurl if CGI is accessed via different URL
reverse_proxy: 0
# filename of cgi wrapper to generate
cgi_wrapper: ''
# mode for cgi_wrapper (can safely be made suid)
cgi_wrappermode: 06755
# number of seconds to delay CGI requests when overloaded
cgi_overload_delay: ''
# message to display when overloaded (may contain html)
cgi_overload_message: ''
# enable optimization of only refreshing committed changes?
only_committed_changes: 0
# rcs backend to use
rcs: git
# plugins to add to the default configuration
add_plugins:
- selftemplate
- backlinkpages
- inlinepages
# plugins to disable
disable_plugins:
- conditional
- editpage
- emailauth
- lockedit
- openid
- passwordauth
- recentchanges
- signinedit
- sortnaturally
- templatebody
- transient
# - htmlscrubber
# - inline
# - link
# - mdwn
# - meta
# - parentlinks
# additional directory to search for template files
templatedir: /home/urosm/txt/tmpl
# base wiki source location
underlaydir: ''
# display verbose messages?
verbose: 1
# log to syslog?
syslog: 1
# create output files named page/index.html?
usedirs: 1
# use '!'-prefixed preprocessor directives?
prefix_directives: 1
# use page/index.mdwn source files
indexpages: 0
# enable Discussion pages?
discussion: 0
# name of Discussion pages
discussionpage: ''
# use elements new in HTML5 like <section>?
html5: 1
# only send cookies over SSL connections?
sslcookie: 0
# extension to use for new pages
default_pageext: md
# extension to use for html files
htmlext: html
# strftime format string to display date
timeformat: '%c'
# UTF-8 locale to use
locale: sl_SI.UTF-8
# put user pages below specified page
userdir: ''
# how many backlinks to show before hiding excess (0 to show all)
numbacklinks: 10
# attempt to hardlink source files? (optimisation for large files)
hardlink: 0
# force ikiwiki to use a particular umask (keywords public, group or private, or a number)
#umask: public
# group for wrappers to run in
#wrappergroup: ikiwiki
# extra library and plugin directories
libdirs:
- /home/urosm/txt
# extra library and plugin directory (searched after libdirs)
libdir: /home/urosm/.ikiwiki
# environment variables
ENV: {}
# time zone name
timezone: :/etc/localtime
# regexp of normally excluded files to include
#include: ^\.htaccess$
# regexp of files that should be skipped
exclude: (^laptop\.setup$|^server\.setup$|^makefile$|^dest|\.tmpl$|\.pm$|\.md$|\.yaml$)
# specifies the characters that are allowed in source filenames
wiki_file_chars: -[:alnum:]+/.:_
# allow symlinks in the path leading to the srcdir (potentially insecure)
allow_symlinks_before_srcdir: 0
# cookie control
cookiejar:
file: /home/urosm/.ikiwiki/cookies
# set custom user agent string for outbound HTTP requests e.g. when fetching aggregated RSS feeds
useragent: ikiwiki/3.20200202.3-1
# theme has a responsive layout? (mobile-optimized)
responsive_layout: 1
# try harder to produce deterministic output
deterministic: 0
# git plugin ###################################################################
# git hook to generate
git_wrapper: /home/urosm/txt.git/hooks/post-update
# shell command for git_wrapper to run, in the background
#git_wrapper_background_command: git push github
# mode for git_wrapper (can safely be made suid)
#git_wrappermode: 06755
# git pre-receive hook to generate
#git_test_receive_wrapper: /git/wiki.git/hooks/pre-receive
# unix users whose commits should be checked by the pre-receive hook
#untrusted_committers: []
# gitweb url to show file history ([[file]] substituted)
#historyurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=history;f=[[file]];hb=HEAD
# gitweb url to show a diff ([[file]], [[sha1_to]], [[sha1_from]], [[sha1_commit]], and [[sha1_parent]] substituted)
#diffurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]
# where to pull and push changes (set to empty string to disable)
gitorigin_branch: origin
# branch that the wiki is stored in
#gitmaster_branch: master
# inline plugin ################################################################
# enable rss feeds by default?
rss: 1
# enable atom feeds by default?
atom: 0
# allow rss feeds to be used?
allowrss: 1
# allow atom feeds to be used?
allowatom: 0
# urls to ping (using XML-RPC) on feed update
#pingurl: http://rpc.technorati.com/rpc/ping
# mdwn plugin ##################################################################
# enable multimarkdown features?
multimarkdown: 1
# disable use of markdown discount?
#nodiscount: 0
# enable footnotes in Markdown (where supported)?
#mdwn_footnotes: 1
# interpret line like 'A. First item' as ordered list when using Discount?
#mdwn_alpha_lists: 0

View File

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

View File

@ -1,34 +0,0 @@
<!DOCTYPE html>
<html lang="sl" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title><TMPL_VAR TITLE></title>
<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>
</head>
<body class="page">
<main>
<article>
<header>
<TMPL_LOOP PARENTLINKS>
<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/
</TMPL_LOOP>
<a href="<TMPL_VAR URL>"><TMPL_VAR TITLE></a><br />
<TMPL_VAR MTIME>
</header>
<TMPL_VAR CONTENT>
</article>
<TMPL_LOOP INLINEPAGES>
<article>
<header>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
<TMPL_VAR MTIME>
</header>
<TMPL_VAR CONTENT>
</article>
</TMPL_LOOP>
</main>
</body>
</html>

View File

@ -1,42 +0,0 @@
<!DOCTYPE html>
<html lang="sl" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title><TMPL_VAR TITLE></title>
<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>
</head>
<body class="page">
<!-- main -->
<main>
<article class="mainpage post">
<header>
<TMPL_LOOP PARENTLINKS>
<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/
</TMPL_LOOP>
<a href="<TMPL_VAR URL>"><TMPL_VAR TITLE></a><br />
<TMPL_VAR MTIME>
</header>
<TMPL_VAR CONTENT>
</article>
<TMPL_LOOP BACKLINKPAGES>
<article class="inlinepage post">
<header>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
<TMPL_VAR MTIME>
</header>
<TMPL_VAR CONTENT>
</article>
</TMPL_LOOP>
</main>
<!-- footer -->
<!--
<footer>
<span class="time">spremenjeno <TMPL_VAR MTIME><br />
objavljeno <TMPL_VAR CTIME></span>
</footer>
-->
</body>
</html>