-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
26 lines (21 loc) · 1.48 KB
/
settings.py
File metadata and controls
26 lines (21 loc) · 1.48 KB
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
##### WARNING ######
#If you have other html-pages, php-pages, etc, that will be available from this domain,
#put it into /mainsite/ folder of simplog. It will be available from there, not from default host's public_html folder!
#for example, you have index.html and error.php, which must be available from yourdomain.com/index.html or yourdomain.com
#and yourdomain.com/error.php JUST PUT IT INTO /mainsite/ FOLDER!
#if you use css/js scripts in these pages, path to them must be /static/mainsite/*
#for example you have css folder in your /mainsite/ folder. To access it from html
#you need to write path not like href="css/styles.css" but href="/static/mainsite/css/styles.css"
#####
##### SERVER
#####
rootfolder = '/home/simplog/public_html' #folder, where this file stored
###for example, your blog will be on http://example.com/blog
###here, main domain is http://example.com, and blog address is http://example.com/blog
domain = ["simplog.be","http://simplog.be/"] #name of your site and main domain. Last symbol in domain must be /
bAddress = ["blog","http://simplog.be/simplog"] #name of your blog and blog address. You can't use / at the end of the blog address
hostIP = 'simlog.be'
sitename = 'Simplog' #Site name. It will be visible on the top of every page
blogLink = '/simplog/' #it can't be empty. First and last symbols must be / Like this: /simplog/ or /blog!/
cookiesAge = 604800 #cookies timeout in seconds. 1 week by default. Or write your timout
postPerPage = 10 #post per page