favicon and update blog
This commit is contained in:
parent
c12c0672f5
commit
ba497bfacd
|
@ -17,5 +17,11 @@ All I have to do is run ``invoke publish`` and it will be on the server.
|
|||
No PHP, no database.
|
||||
All files properly in their right places.
|
||||
|
||||
It comes with your standard blogging experience: Categories, Tags, RSS/Atom feeds, etc.
|
||||
You need to set up Disqus — which I probably won't — in order to get comments though.
|
||||
|
||||
I'm pleased with it.
|
||||
I have posts go under YYYY/MM/slug.html files, which I like for organization.
|
||||
Posting images is easy, I just toss it under ``content/images/YYYY/MM/`` with date for organization.
|
||||
|
||||
|
||||
|
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
@ -30,6 +30,7 @@ TIMEZONE = 'America/New_York'
|
|||
DEFAULT_LANG = 'en'
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
# FEED_DOMAISITEURL
|
||||
FEED_ALL_ATOM = None
|
||||
CATEGORY_FEED_ATOM = None
|
||||
TRANSLATION_FEED_ATOM = None
|
||||
|
@ -45,15 +46,18 @@ DELETE_OUTPUT_DIRECTORY = True
|
|||
|
||||
STATIC_PATHS = (
|
||||
'images',
|
||||
'_meta',
|
||||
'extras',
|
||||
)
|
||||
|
||||
ARTICLE_PATHS = ['blog', ]
|
||||
ARTICLE_SAVE_AS = '{date:%Y}/{date:%M}/{slug}.html'
|
||||
ARTICLE_URL = '{date:%Y}/{date:%M}/{slug}.html'
|
||||
|
||||
YEAR_ARCHIVE_SAVE_AS = 'posts/{date:%Y}/index.html'
|
||||
MONTH_ARCHIVE_URL = 'posts/{date:%Y}/{date:%M}/index.html'
|
||||
|
||||
|
||||
DEFAULT_METADATA = {
|
||||
'status': 'draft',
|
||||
'_meta/favicon.ico': {'path': 'favicon.ico'},
|
||||
'extras/favicon.ico': {'path': 'favicon.ico'},
|
||||
}
|
||||
|
|
|
@ -10,8 +10,11 @@ from pelicanconf import *
|
|||
SITEURL = 'https://tyrel.dev/blog'
|
||||
RELATIVE_URLS = False
|
||||
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
|
||||
FEED_ATOM = 'tyrel-dev.atom.xml'
|
||||
FEED_RSS = 'tyrel-dev.rss'
|
||||
FEED_ALL_ATOM = 'tyrel-dev.all.xml'
|
||||
FEED_ALL_RSS = 'tyrel-dev.all.rss'
|
||||
|
||||
|
||||
DELETE_OUTPUT_DIRECTORY = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user