-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
73 lines (51 loc) · 2.18 KB
/
Copy pathconfig.js
File metadata and controls
73 lines (51 loc) · 2.18 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
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
'use strict';
// Exports
var config = module.exports = {
// Your site title (format: page_title - site_title)
site_title: 'Elokenz FAQ',
// The base URL of your site (can use %base_url% in Markdown files)
base_url: '',
// Used for the "Get in touch" page footer link
support_email: '[email protected]',
// Footer Text / Copyright
copyright: 'Copyright © '+ new Date().getFullYear() +' - <a href="http://raneto.com">Powered by Raneto</a>',
// Excerpt length (used in search)
excerpt_length: 400,
// The meta value by which to sort pages (value should be an integer)
// If this option is blank pages will be sorted alphabetically
page_sort_meta: 'sort',
// Should categories be sorted numerically (true) or alphabetically (false)
// If true category folders need to contain a "sort" file with an integer value
category_sort: true,
// Which Theme to Use?
theme_dir : __dirname + '/../themes/',
theme_name : 'default',
// Specify the path of your content folder where all your '.md' files are located
// Fix: Needs trailing slash for now!
// Fix: Cannot be an absolute path
content_dir: 'content/',
// Where is the public directory or document root?
public_dir : __dirname + '/../public/',
// The base URL of your images folder,
// Relative to config.public_dir
// (can use %image_url% in Markdown files)
image_url: '/images',
// Add your analytics tracking code (including script tags)
analytics: '<script async src="https://www.googletagmanager.com/gtag/js?id=UA-55069259-9"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);} gtag("js", new Date()); gtag("config", "UA-55069259-9");</script>',
// Set to true to enable the web editor
allow_editing : false,
// Set to true to enable HTTP Basic Authentication
authentication : false,
credentials : {
username : 'admin',
password : 'password'
},
locale: 'en',
// Edit Home Page title, description, etc.
home_meta : {
//title : 'Custom Home Title',
//description : 'Custom Home Description'
}
};
// load translations
config.lang = require('../public/translations/' + config.locale + '.json');