~taiju/libre.taiju.info

ref: bcc0c9ae6be24428f5cf6d8fff0a655fb72b4af5 libre.taiju.info/pelicanconf.py -rw-r--r-- 1.1 KiB
bcc0c9aeTaiju HIGASHI article: Fix a typo. 4 months ago
                                                                                
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
#!python3
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = 'Taiju HIGASHI'
SITENAME = '自由のなる木'
SITEURL = FEED_DOMAIN = 'https://libre.taiju.info'

PATH = 'content'

TIMEZONE = 'Asia/Tokyo'

DEFAULT_LANG = 'ja'

# 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

DEFAULT_PAGINATION = False

# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True

ARCHIVES_SAVE_AS = ''
AUTHORS_SAVE_AS = ''
AUTHOR_SAVE_AS = ''
CATEGORIES_SAVE_AS = ''
CATEGORY_SAVE_AS = ''
TAGS_SAVE_AS = ''
TAG_SAVE_AS = ''

FEED_ALL_RSS = 'index.xml'
THEME = 'themes'

ARTICLE_URL = ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}.html'
PAGE_URL = PAGE_SAVE_AS = '{slug}.html'

SITEMAP = {
    "format": "xml",
    "priorities": {
        "articles": 0.5,
        "indexes": 0.5,
        "pages": 0.5
    },
    "changefreqs": {
        "articles": "monthly",
        "indexes": "daily",
        "pages": "monthly"
    }
}