-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
58 lines (48 loc) · 1.39 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
AUTHOR = 'Minecraft Unblocked'
SITENAME = 'Minecraft Unblocked'
SITETITLE = 'Minecraft Unblocked | Free Online Games'
SITESUBTITLE = 'Play Minecraft unblocked for free on your browser. We provide multiplayer so you can play Minecraft online and join servers.'
SITEURL = "https://minecraft-unblocked.com"
PATH = "content"
# PATH = "content_test"
TIMEZONE = 'Europe/Rome'
DEFAULT_LANG = 'en'
STYLESHEET_URL = "/theme/css/style.css"
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_PAGES_ON_MENU = False
# 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
MENUITEMS = (
("Home", "/"),
("Minecraft Unblocked", "/tag/minecraft"),
)
DEFAULT_PAGINATION = 24
FEATURED = []
PLUGINS = ['search', 'sitemap', 'similar_posts']
SITEMAP = {
"exclude": [
"^/noindex/", # starts with "/noindex/"
"/tag/", # contains "/tag/"
"\.json$", # ends with ".json"
]
}
SIMILAR_POSTS_MAX_COUNT = 16
STORK_INPUT_OPTIONS = {
"base_directory": "output"
}
STATIC_PATHS = [
'images', # 你现有的图片目录
'extra' # 新建一个额外的目录存放这些文件
]
ARTICLE_EXCLUDES = ['extra']
PAGE_EXCLUDES = ['extra']
# 避免处理 HTML
READERS = {'html': None}
# 配置文件的目标路径
EXTRA_PATH_METADATA = {}
THEME = 'theme'
TAILWIND_CSS = True