summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ikiwiki-bootstrap-theme/page.tmpl18
-rw-r--r--nswiki.setup24
2 files changed, 23 insertions, 19 deletions
diff --git a/ikiwiki-bootstrap-theme/page.tmpl b/ikiwiki-bootstrap-theme/page.tmpl
index 177f1e9..7c01bab 100644
--- a/ikiwiki-bootstrap-theme/page.tmpl
+++ b/ikiwiki-bootstrap-theme/page.tmpl
@@ -104,19 +104,19 @@
<li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
</TMPL_IF>
<TMPL_IF PREFSURL>
- <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
+ <li><a href="<TMPL_VAR PREFSURL>" style="display:none">Preferences</a></li>
</TMPL_IF>
<TMPL_IF ACTIONS>
<TMPL_LOOP ACTIONS>
<li><TMPL_VAR ACTION></li>
- </TMPL_LOOP>
- </TMPL_IF>
- <TMPL_IF COMMENTSLINK>
- <li><TMPL_VAR COMMENTSLINK></li>
- <TMPL_ELSE>
- <TMPL_IF DISCUSSIONLINK>
- <li><TMPL_VAR DISCUSSIONLINK></li>
- </TMPL_IF>
+ </TMPL_LOOP>
+ </TMPL_IF>
+ <TMPL_IF COMMENTSLINK>
+ <li><TMPL_VAR COMMENTSLINK></li>
+ <TMPL_ELSE>
+ <TMPL_IF DISCUSSIONLINK>
+ <li><TMPL_VAR DISCUSSIONLINK></li>
+ </TMPL_IF>
</TMPL_IF>
</ul>
</TMPL_IF>
diff --git a/nswiki.setup b/nswiki.setup
index 0125de2..539646d 100644
--- a/nswiki.setup
+++ b/nswiki.setup
@@ -12,7 +12,8 @@ wikiname: NetSurf Developers Wiki
# contact email for wiki
#adminemail: me@example.com
# users who are wiki admins
-adminuser: []
+adminuser:
+- http://www.digital-scurf.org/
# users who are banned from the wiki
banned_users: []
# where the source of the wiki is located
@@ -22,11 +23,11 @@ destdir: '/home/netsurf/websites/wiki.netsurf-browser.org/html'
# base url to the wiki
url: 'http://wiki.netsurf-browser.org/'
# url to the ikiwiki.cgi
-cgiurl: ''
+cgiurl: 'http://wiki.netsurf-browser.org/cgi-bin/ikiwiki.cgi'
# do not adjust cgiurl if CGI is accessed via different URL
reverse_proxy: 0
# filename of cgi wrapper to generate
-cgi_wrapper: ''
+cgi_wrapper: '/home/netsurf/websites/wiki.netsurf-browser.org/cgi-bin/ikiwiki.cgi'
# mode for cgi_wrapper (can safely be made suid)
cgi_wrappermode: 06755
# number of seconds to delay CGI requests when overloaded
@@ -36,12 +37,10 @@ cgi_overload_message: ''
# enable optimization of only refreshing committed changes?
only_committed_changes: 0
# rcs backend to use
-rcs: ''
+rcs: git
# plugins to add to the default configuration
add_plugins:
- goodstuff
-- websetup
-- comments
- blogspam
- underlay
- jscalendar
@@ -50,7 +49,6 @@ add_plugins:
- openid
- remove
- pingee
-- moderatedcomments
- attachment
- rename
- htmlscrubber
@@ -60,10 +58,16 @@ add_plugins:
- favicon
- format
- highlight
-- getsource
- edittemplate
+- getsource
# plugins to disable
-disable_plugins: []
+disable_plugins:
+- websetup
+- comments
+- moderatedcomments
+- editpage
+- getsource
+- recentchanges
# additional directory to search for t=emplate files
templatedir: /home/netsurf/websites/wiki.netsurf-browser.org/gitsetup/ikiwiki-bootstrap-theme
# base wiki source location
@@ -79,7 +83,7 @@ prefix_directives: 1
# use page/index.mdwn source files
indexpages: 0
# enable Discussion pages?
-discussion: 1
+discussion: 0
# name of Discussion pages
discussionpage: Discussion
# use elements new in HTML5 like <section>?