2020-07-10 22:51:47 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
AUTHOR = 'Ali Murteza Yesil'
|
2020-07-18 03:30:46 +00:00
|
|
|
SITENAME = 'Ali Murteza Yesil'
|
|
|
|
SITESUBTITLE = 'Blog'
|
2020-07-14 01:35:43 +00:00
|
|
|
SITEURL = 'file:///home/murteza/Virtual/Blog/output'
|
2020-07-10 22:51:47 +00:00
|
|
|
|
|
|
|
PATH = 'content'
|
|
|
|
|
|
|
|
TIMEZONE = 'Asia/Bishkek'
|
|
|
|
|
|
|
|
DEFAULT_LANG = 'en'
|
|
|
|
|
|
|
|
# Feed generation is usually not desired when developing
|
|
|
|
FEED_ALL_ATOM = None
|
|
|
|
CATEGORY_FEED_ATOM = None
|
|
|
|
TRANSLATION_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_RSS = None
|
|
|
|
|
|
|
|
# Blogroll
|
|
|
|
LINKS = (
|
|
|
|
('Kev Quirk', 'https://kevq.uk'),
|
|
|
|
('Mike Stone', 'https://mikestone.me'),
|
2020-07-12 03:21:22 +00:00
|
|
|
('Yarmo Mackenbach', 'https://yarmo.eu/')
|
2020-07-10 22:51:47 +00:00
|
|
|
)
|
|
|
|
#LINKS = (('Pelican', 'http://getpelican.com/'),
|
|
|
|
# ('Python.org', 'http://python.org/'),
|
|
|
|
# ('Jinja2', 'http://jinja.pocoo.org/'),
|
|
|
|
# ('You can modify those links in your config file', '#'),
|
|
|
|
# )
|
|
|
|
|
|
|
|
|
|
|
|
# Social widget
|
|
|
|
SOCIAL = (
|
|
|
|
('Fostodon', 'https://fosstodon.org/@murtezayesil'),
|
|
|
|
)
|
|
|
|
#SOCIAL = (('You can add links in your config file', '#'),
|
|
|
|
# ('Another social link', '#'),
|
|
|
|
# )
|
|
|
|
|
|
|
|
DEFAULT_PAGINATION = 10
|
|
|
|
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
|
|
#RELATIVE_URLS = True
|
|
|
|
|
|
|
|
### Some of the switches to get my ideal setup
|
2020-07-20 15:28:25 +00:00
|
|
|
USE_FOLDER_AS_CATEGORY = True
|
2020-07-12 05:21:33 +00:00
|
|
|
|
|
|
|
ARTICLE_PATHS = [
|
2020-07-20 15:28:25 +00:00
|
|
|
'Notes',
|
2020-07-30 14:20:36 +00:00
|
|
|
'Personal',
|
|
|
|
'Tech',
|
2020-07-20 15:28:25 +00:00
|
|
|
'draft',
|
2020-07-12 05:21:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
STATIC_PATHS = [
|
|
|
|
'extra',
|
2020-07-22 16:37:20 +00:00
|
|
|
'videos',
|
|
|
|
'images',
|
2020-07-12 05:21:33 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
EXTRA_PATH_METADATA = {
|
|
|
|
'extra/favicon.ico': {'path': 'favicon.ico'},
|
|
|
|
}
|
|
|
|
|
2020-07-10 22:51:47 +00:00
|
|
|
THEME = '/home/murteza/Virtual/Blog/theme/blueidea'
|
|
|
|
|
2020-07-12 03:21:22 +00:00
|
|
|
### Blueidea theme specific settings
|
2020-07-10 22:51:47 +00:00
|
|
|
# Display pages list on the top menu
|
|
|
|
DISPLAY_PAGES_ON_MENU = True
|
|
|
|
|
|
|
|
# Display categories list on the top menu
|
|
|
|
DISPLAY_CATEGORIES_ON_MENU = False
|
|
|
|
|
|
|
|
# Display categories list as a submenu of the top menu
|
|
|
|
DISPLAY_CATEGORIES_ON_SUBMENU = True
|
|
|
|
|
|
|
|
# Display the category in the article's info
|
|
|
|
DISPLAY_CATEGORIES_ON_POSTINFO = True
|
|
|
|
|
|
|
|
# Display the author in the article's info
|
|
|
|
DISPLAY_AUTHOR_ON_POSTINFO = False
|
|
|
|
|
|
|
|
# Display the search form
|
|
|
|
DISPLAY_SEARCH_FORM = True
|
|
|
|
|
|
|
|
# Sort pages list by a given attribute
|
|
|
|
#PAGES_SORT_ATTRIBUTE (Title)
|
|
|
|
|
|
|
|
# Display the "Fork me on Github" banner
|
|
|
|
#GITHUB_URL (None)
|
2020-07-18 03:30:46 +00:00
|
|
|
|
|
|
|
# Black Lives Matter Banner (and border)
|
|
|
|
# If the justice have been restored, comment out the below line to disable border
|
|
|
|
BLACK_LIVES_MATTER = 'Absolutely'
|