forked from notcraig/pelican-free-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
73 lines (60 loc) · 1.87 KB
/
pelicanconf.py
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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
from imp import load_source
sigal_conf = load_source('sigal_conf', 'sigal.conf.py')
AUTHOR = sigal_conf.author
SITENAME = sigal_conf.sitename
SITESUBTITLE = sigal_conf.subtitle
SITEURL = '.'
THEME_STATIC_DIR = 'static'
PATH = 'content'
STATIC_PATHS = [ 'images','mail','js', 'css', 'fonts']
EXTRA_PATH_METADATA = {
'static/images/portfolio': {'path': 'images/portfolio'},
}
TIMEZONE = 'Europe/Moscow'
DEFAULT_LANG = 'ru'
BOOTSTRAP_FILE = 'bootstrap.min.css'
CSS_FILE = 'freeagent.css'
FONTS = 'fonts'
SCRIPTS = [
'jquery-1.11.0.js',
'bootstrap.min.js',
'http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js',
'classie.js',
'cbpAnimatedHeader.js',
'jqBootstrapValidation.js',
'contact_me.js',
'freeagent.js'
]
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
DIRECT_TEMPLATES = ['index']
# Top Menu Links
NAVLINKS = (
('#page-top', ''),
('#portfolio', 'Portfolio'),
('#about', 'About'),
('#contact', 'Contact')
)
# Portfolio Name
PORTFOLIO = sigal_conf.portfolio
#Contact form fields sorted by: label, input_type, id, required_validation_,msg
CONTACT_FIELDS = (
['Name', 'text', 'name', 'Please enter your name.'],
['Email Address', 'email', 'email','Please enter your email address.' ],
['Phone Number', 'tel', 'phone', 'Please enter your phone number.'],
['Message', 'textarea', 'message', 'Please enter a message.']
)
EMAIL = sigal_conf.email
ADDRESS1 = 'The Internet'
ADDRESS2 = 'Moscow, Russia'
# Left column
ABOUT_LEFT = 'Something on the left'
# Right column
ABOUT_RIGHT = 'Something on the right'
# Center
ABOUT_CENTER = '<a href="https://github.com/TheProfitwareGroup" target="_blank" class="btn btn-lg btn-outline"><i class="fa fa-download"></i> Visit our Github</a>'