350 lines
7.6 KiB
INI
350 lines
7.6 KiB
INI
|
|
[options feed]
|
||
|
|
|
||
|
|
name:blog = blog
|
||
|
|
menu:blog = Blog
|
||
|
|
name_latest:blog = Latest blog entries
|
||
|
|
|
||
|
|
name:news = news
|
||
|
|
menu:news = News
|
||
|
|
name_latest:news = Latest news
|
||
|
|
|
||
|
|
name = _feed_
|
||
|
|
menu = UnknownPurposeFeed
|
||
|
|
name_latest = Please set opt_selector:feed to either “news” or “blog”
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[general]
|
||
|
|
|
||
|
|
rootdir = %[opt:dir:target]
|
||
|
|
spooldir = %[opt:dir:spool]
|
||
|
|
|
||
|
|
base_url = %[opt:site:url]
|
||
|
|
base_uri = /
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[format]
|
||
|
|
|
||
|
|
encoding = %[opt:site:enc]
|
||
|
|
|
||
|
|
tags = em strong cite code pre ul ol li dl dt dd ins del
|
||
|
|
h1 h2 h3 h4 h5 p br blockquote table td tr %[opt:site:moretags]
|
||
|
|
tag_attributes = title %[opt:site:moreattrs]
|
||
|
|
|
||
|
|
|
||
|
|
[html]
|
||
|
|
|
||
|
|
empty =
|
||
|
|
|
||
|
|
# %0% additional meta tags %1% additional body attributes
|
||
|
|
shortheader = <?xml version="1.0" encoding="%[opt:site:enc]"?>
|
||
|
|
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
|
|
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
|
+<html xmlns="http://www.w3.org/1999/xhtml"
|
||
|
|
+ lang="%[opt:site:lang]" xml:lang="%[opt:site:lang]">
|
||
|
|
+<head>
|
||
|
|
+<link type="text/CSS" rel="stylesheet" href="/style.css" />
|
||
|
|
+<link type="image/x-icon" rel="shortcut icon" href="/favicon.png" /> %0%
|
||
|
|
+<meta http-equiv="Content-Type" content="text/html; charset=%[opt:site:enc]" />
|
||
|
|
+<meta http-equiv="Content-Security-Policy"
|
||
|
|
+ content="script-src 'none'; object-src 'none'; form-action 'self';" />
|
||
|
|
+<title>%[opt:site:title]</title>
|
||
|
|
+</head> <body %1%>
|
||
|
|
|
||
|
|
shortfooter = </body></html>
|
||
|
|
+<!-- generated %[rfcdate:%now%] by %[thalassa_version:full] -->
|
||
|
|
+
|
||
|
|
|
||
|
|
thalcgi_start =
|
||
|
|
+<!--THALCGI-LABEL-BEGIN-->
|
||
|
|
+
|
||
|
|
|
||
|
|
thalcgi_end =
|
||
|
|
+<!--THALCGI-LABEL-END-->
|
||
|
|
+
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[indexbar index1]
|
||
|
|
|
||
|
|
begin = <div class="index1"%[if:%2%: id="%2%":]>
|
||
|
|
end = </div>
|
||
|
|
break = <span class="idx_break">...</span>
|
||
|
|
|
||
|
|
link = <a href="%1%%[if:%2%:#%2%:]" class="idx_link">%0%</a>
|
||
|
|
greylink = <span class="idx_grey">%0%</span>
|
||
|
|
curpos = <span class="idx_curr">%0%</span>
|
||
|
|
|
||
|
|
# textprev = ⯇
|
||
|
|
# textnext = ⯈
|
||
|
|
# textfirst = ⯇⯇
|
||
|
|
# textlast = ⯈⯈
|
||
|
|
|
||
|
|
textprev = «
|
||
|
|
textnext = »
|
||
|
|
textfirst = <span style="letter-spacing:-2px;">««</span>
|
||
|
|
textlast = <span style="letter-spacing:-2px;">»»</span>
|
||
|
|
|
||
|
|
tailsize = 2
|
||
|
|
|
||
|
|
|
||
|
|
[indexbar cmt_index]
|
||
|
|
|
||
|
|
begin = <div class="index1"%[if:%2%: id="%2%":]>
|
||
|
|
end = </div><div class="clear_both"> </div>
|
||
|
|
break = <span class="idx_break">...</span>
|
||
|
|
|
||
|
|
link = <a href="%1%%[if:%2%:#%2%:]" class="idx_link">%0%</a>
|
||
|
|
greylink = <span class="idx_grey">%0%</span>
|
||
|
|
curpos = <span class="idx_curr">%0%</span>
|
||
|
|
|
||
|
|
textprev = «
|
||
|
|
textnext = »
|
||
|
|
textfirst = <span style="letter-spacing:-2px;">««</span>
|
||
|
|
textlast = <span style="letter-spacing:-2px;">»»</span>
|
||
|
|
|
||
|
|
tailsize = 2
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[page 403.html]
|
||
|
|
|
||
|
|
body = %[html:header]
|
||
|
|
+<h2 style="font-size:300%%; text-align: center">403: forbidden</h2>
|
||
|
|
+%[html:footer]
|
||
|
|
+
|
||
|
|
|
||
|
|
[page 404.html]
|
||
|
|
|
||
|
|
body = %[html:header]
|
||
|
|
+<h2 style="font-size:300%%; text-align: center">404: page not found</h2>
|
||
|
|
+%[html:footer]
|
||
|
|
+
|
||
|
|
|
||
|
|
|
||
|
|
[pageset pages]
|
||
|
|
|
||
|
|
sourcedir = db/pages
|
||
|
|
|
||
|
|
publish_method = copy
|
||
|
|
|
||
|
|
setdirname = /
|
||
|
|
|
||
|
|
pagedirname = %[li:id]
|
||
|
|
indexfilename = index.html
|
||
|
|
compagename = c%idx%.html
|
||
|
|
|
||
|
|
pagefilename = %[li:id]%[_idx].html
|
||
|
|
|
||
|
|
comments = %[html:comment_style_pg] db/comments/pg_%[li:id]
|
||
|
|
cgi_reply_path /thalcgi.cgi/comment/pg/%[li:id]/
|
||
|
|
cgi_view_path /thalcgi.cgi/cmta/pg/%[li:id]/
|
||
|
|
perm_addr /%[li:id].html
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[list feed]
|
||
|
|
|
||
|
|
source = set pages feed
|
||
|
|
items_per_listpage = 10
|
||
|
|
reverse = yes
|
||
|
|
reverse_source = no
|
||
|
|
|
||
|
|
main_listpage_name = %[opt:feed:name].html
|
||
|
|
listpage_name_templ = %[opt:feed:name]_pg%idx0%.html
|
||
|
|
|
||
|
|
list_header = %[collapsews:%[html:header:feed:
|
||
|
|
+ <link rel="alternate" type="application/rss+xml" title="%[opt:site:title]
|
||
|
|
+ %[opt:feed:name]" href="%[base_url]/rss.xml" />]]
|
||
|
|
+<div class="pagerest"> %indexbar:index1:topindex%
|
||
|
|
+<h2 class="page_title">%[opt:site:title] %[opt:feed:name]</h2>
|
||
|
|
+<hr class="news" />
|
||
|
|
+<div class="page_body">
|
||
|
|
+
|
||
|
|
|
||
|
|
list_footer = <a href="/rss.xml" class="feed_icon">
|
||
|
|
+<img src="/feed.png" alt="RSS feed" %[imgdim:base/srvfiles/feed.png] /></a>
|
||
|
|
+%indexbar:index1:bottomindex% </div>
|
||
|
|
+</div>
|
||
|
|
+%[html:footer:feed]
|
||
|
|
|
||
|
|
list_item_template =
|
||
|
|
+<h3 id="%li:id%"><a href="/%li:id%.html">%li:title%</a></h3>
|
||
|
|
+<p class="date">%li:date%</p>
|
||
|
|
+<div class="news_item_body">%[or:%li:descr%:%li:text%]</div>
|
||
|
|
+%[if:%[li:descr]:%[li:ifmore:<p class="newsmore"><a href="/%li:id%.html">more...</a></p>]]
|
||
|
|
+<hr class="news" />
|
||
|
|
+
|
||
|
|
|
||
|
|
pages = no
|
||
|
|
|
||
|
|
|
||
|
|
[list lastnews]
|
||
|
|
|
||
|
|
embedded = yes
|
||
|
|
last_items_only = 15
|
||
|
|
source = set pages feed
|
||
|
|
reverse = yes
|
||
|
|
reverse_source = no
|
||
|
|
list_header = <ul>
|
||
|
|
list_footer = </ul>
|
||
|
|
list_item_template =
|
||
|
|
+<li><a href="%li:id%.html">%li:title%</a>
|
||
|
|
+ <span style="font-size: small">%li:date%</span></li>
|
||
|
|
pages = no
|
||
|
|
|
||
|
|
|
||
|
|
[list newsrss]
|
||
|
|
|
||
|
|
embedded = yes
|
||
|
|
last_items_only = 15
|
||
|
|
source = set pages feed
|
||
|
|
reverse = yes
|
||
|
|
reverse_source = no
|
||
|
|
pages = no
|
||
|
|
list_header =
|
||
|
|
list_footer =
|
||
|
|
list_item_template = <item>
|
||
|
|
+ <title>%[li:title]</title>
|
||
|
|
+ <link>%[base_url]/%[li:id].html</link>
|
||
|
|
+ <description>%[ltgt:%[or:%li:descr%:%li:text%]]</description>
|
||
|
|
+ <comments>%[base_url]/%[li:id].html#comments</comments>
|
||
|
|
+ <pubDate>%[rfcdate:%[li:unixtime]]</pubDate>
|
||
|
|
+ <guid isPermaLink="false">%[li:id] at %[base_url]</guid>
|
||
|
|
+</item>
|
||
|
|
+
|
||
|
|
|
||
|
|
[page rss.xml]
|
||
|
|
|
||
|
|
body = <?xml version="1.0" encoding="koi8-r"?>
|
||
|
|
+<rss version="2.0" xml:base="%[opt:site:url]" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||
|
|
+<channel>
|
||
|
|
+ <title>%[opt:site:title]</title>
|
||
|
|
+ <link>%[opt:site:url]</link>
|
||
|
|
+ <description>%[opt:site:descr]</description>
|
||
|
|
+ <language>%[opt:site:lang]</language>
|
||
|
|
+%[embedlist:newsrss]
|
||
|
|
+</channel>
|
||
|
|
+</rss>
|
||
|
|
+
|
||
|
|
|
||
|
|
|
||
|
|
[list guestbook]
|
||
|
|
|
||
|
|
embedded = no
|
||
|
|
source = ini guestbook
|
||
|
|
reverse = yes
|
||
|
|
reverse_source = no
|
||
|
|
|
||
|
|
main_listpage_name = guestbook/archives.html
|
||
|
|
|
||
|
|
list_header = %[html:header:guestbook::^status]<ul>
|
||
|
|
list_footer = </ul>%[html:footer:guestbook:^status]
|
||
|
|
list_item_template = <li>
|
||
|
|
<a href="/guestbook/%[li:ifnext::%[li:id].html:]">%li:title%</a></li>
|
||
|
|
|
||
|
|
pages = yes
|
||
|
|
itempage_name = guestbook/%[li:id]%[_idx].html
|
||
|
|
|
||
|
|
itempage_template = %[html:header:guestbook::^status]
|
||
|
|
+<div class="pagerest">
|
||
|
|
+%[ifeq:%[ls:first]:%[ls:last]::
|
||
|
|
+ <div class="news_navlinks">
|
||
|
|
+ %[li:ifprev::%[html:newslnk_left:/guestbook/%[li:prev].html]]
|
||
|
|
+ %[html:newslnk_up:/guestbook/archives.html]
|
||
|
|
+ %[li:ifnext::%[html:newslnk_right:/guestbook/%[ifeq:%[li:next]:%[ls:last]::%[li:next].html]]]
|
||
|
|
+ </div>
|
||
|
|
+]
|
||
|
|
+%[html:thalcgi_start]
|
||
|
|
+<h2 class="page_title">
|
||
|
|
+ <a href="/guestbook/%[li:ifnext::%[li:id].html:]">%li:title%</a>
|
||
|
|
+</h2>
|
||
|
|
+<div class="page_body">
|
||
|
|
+ %[li:ifnext::%[opt:guestbook:text_archive]:%[opt:guestbook:text_active]]
|
||
|
|
+ %[opt:guestbook:text_premod_note]
|
||
|
|
+</div>
|
||
|
|
+%[html:thalcgi_end]
|
||
|
|
+%[html:comment_add:gb]
|
||
|
|
+</div>
|
||
|
|
+
|
||
|
|
|
||
|
|
itempage_tail_template =
|
||
|
|
+%[li:ifcomenabled:<a href="/thalcgi.cgi/moderation/gb/%[li:id]"><img
|
||
|
|
+src="/cmtpage.png" alt="pencil" height="16px" /></a>]
|
||
|
|
+%[html:footer:guestbook:^status]
|
||
|
|
+
|
||
|
|
|
||
|
|
comments = %[html:comment_style_gb] db/comments/gb_%[li:id]
|
||
|
|
cgi_reply_path /thalcgi.cgi/comment/gb/%[li:id]/
|
||
|
|
cgi_view_path /thalcgi.cgi/cmta/gb/%[li:id]/
|
||
|
|
perm_addr /guestbook/%[li:id].html
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[aliases gbactive]
|
||
|
|
|
||
|
|
force_dirs = guestbook
|
||
|
|
aliases = guestbook/index.html:guestbook/%[listinfo|last|guestbook].html
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[page robots.txt]
|
||
|
|
|
||
|
|
body = User-agent: *
|
||
|
|
+Disallow: /thalcgi.cgi/
|
||
|
|
+
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[collection srv]
|
||
|
|
|
||
|
|
sourcedir = base/srvfiles
|
||
|
|
destdir = /
|
||
|
|
publish_method = copy
|
||
|
|
publish_recursive = no
|
||
|
|
publish_hidden = no
|
||
|
|
publish_symlinks = ignore
|
||
|
|
|
||
|
|
|
||
|
|
[collection userfiles]
|
||
|
|
|
||
|
|
sourcedir = files
|
||
|
|
destdir = /files
|
||
|
|
publish_method = copy
|
||
|
|
publish_recursive = yes
|
||
|
|
publish_hidden = no
|
||
|
|
publish_symlinks = ignore
|
||
|
|
|
||
|
|
|
||
|
|
[collection userpic]
|
||
|
|
|
||
|
|
sourcedir = userpic
|
||
|
|
destdir = /userpic
|
||
|
|
publish_method = copy
|
||
|
|
publish_recursive = no
|
||
|
|
publish_hidden = no
|
||
|
|
publish_symlinks = ignore
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[binary logo.png]
|
||
|
|
|
||
|
|
publish_method = copy
|
||
|
|
|
||
|
|
[binary favicon.png]
|
||
|
|
|
||
|
|
publish_method = copy
|
||
|
|
|
||
|
|
[binary thalcgi.cgi]
|
||
|
|
|
||
|
|
publish_method = copy
|
||
|
|
source = %[opt:dir:thalcgi]
|
||
|
|
target = /thalcgi.cgi
|
||
|
|
chmod = 755
|
||
|
|
|
||
|
|
|
||
|
|
|