-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtuvix.example.conf
83 lines (65 loc) · 2.58 KB
/
tuvix.example.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
# RENAME TO tuvix.conf
# Secrets are not used yet
secrets => ['2eee4862f81c135e1df5a1f67f3a5c3c384aea37'],
# Db connection settings
db => ["dbi:SQLite:/opt/tuvix/page/db/tuvix.db","",""],
db_opts => {
RaiseError => 1,
sqlite_unicode => 1,
},
# Time zone
time_zone => 'Europe/Stockholm',
# This pages Base uri (required). Used when building absolute URL:s.
base_uri => 'http://localhost:8080/',
# Base directory for the builtin Plerd app.
path => '/opt/tuvix/page',
# Title of this page
title => 'Tuvix Installation',
# Author information (used in the h-card, when sending webmentions among other places)
author_name => 'Foo',
author_email => '[email protected]',
author_photo => '/assets/generic_face.png',
# The path to check for changes in, where the source docs are placed.
source_path => '/opt/tuvix/page/source',
# If the source documents puts assets and things like that which needs to be served
# then they go here. Also, files placed in this directory are exposed to the web
publication_path => '/opt/tuvix/lib/Tuvix/public/',
# Path to the templates. The templates placed here take precedence over the
# internal templates, but both paths are used.
# This path is also propagated to the internal plerd Plerd, but plerd does not typically
# use it (because template rendering have been hijacked by Tuix).
template_path => '/opt/tuvix/lib/Tuvix/templates/',
# Wether a process to watch the source directory should be created or not.
# THis can be done as optional stand alone process which is currently nonexistant,
# but which would be easy to create.
watch_source_dir => 1,
# List of extensions to load into Tuvix,
# example:
# extensions => ['InstaPlerd::Post'],
extensions => [],
# Preferences for these extensions.
# example:
#extension_preferences => {
# 'InstaPlerd::Post' => {
# width => 847,
# height => 840,
# compression => 85,
# filter => 'InstaPlerd::Filters::Batman',
# }
#},
extension_preferences => {},
# Wether to send or recieve webmentions. Default 0 (off)
recieve_webmentions => 0,
send_webmentions => 0,
# Following are overrides which can be done to change in some common places of the page
# Without having to tamper with the theme template files.
#
# footer section, HTML to replace contents of the footer_section with
#
# footer_section => "",
#
# sidebar section, HTML to replace contents in the sidebar with
#
# sidebar_section => "",
}