Skip to content

Commit 46aff83

Browse files
committed
agora vai +1
1 parent f24ea94 commit 46aff83

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

pelicanconf.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,20 @@
1717

1818
THEME='theme'
1919

20+
STATIC_PATHS = ['images', 'extra']
21+
EXTRA_PATH_METADATA = {
22+
'extra/robots.txt': {'path': 'robots.txt'},
23+
'extra/favicon.ico': {'path': 'favicon.ico'},
24+
}
25+
26+
# Theme static files
27+
THEME_STATIC_DIR = 'theme'
28+
THEME_STATIC_PATHS = ['static/']
29+
30+
# Homepage
31+
INDEX_SAVE_AS = "blog.html"
32+
INDEXES_SAVE_AS = "blog.html"
33+
2034
# Blogroll
2135
LINKS = (
2236
('pythonbrasil.org.br', 'https://pythonbrasil.org.br'),

publishconf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@
88
from pelicanconf import *
99

1010
# If your site is available via HTTPS, make sure SITEURL begins with https://
11-
SITEURL = "https://blog.pythonbrasil.org.br/"
11+
SITEURL = "https://blog.pythonbrasil.org.br"
1212
RELATIVE_URLS = False
1313

14+
INDEX_SAVE_AS = "blog.html"
15+
INDEXES_SAVE_AS = "blog.html"
16+
1417
FEED_ALL_ATOM = "feeds/all.atom.xml"
1518
CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
1619

0 commit comments

Comments
 (0)