diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2019-08-26 12:58:37 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2019-08-26 12:58:37 +0200 |
commit | 1e591fead40df9be50b93ccd4f9226229074009d (patch) | |
tree | 4d2732fee1563c106a74f555919fbd0419657230 | |
parent | b2c254f55c70db06c381e196e2e953e7dc764a11 (diff) |
Update css
-rwxr-xr-x | pelicanconf.py | 6 | ||||
-rwxr-xr-x | plugins/typogrify/filters.py | 2 | ||||
-rwxr-xr-x | plugins/typogrify/typogrify.py | 2 | ||||
-rwxr-xr-x | theme/static/css/main.css | 1 |
4 files changed, 5 insertions, 6 deletions
diff --git a/pelicanconf.py b/pelicanconf.py index a9f6c76..9e4ca35 100755 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -23,9 +23,9 @@ FEED_DOMAIN = SITEURL FEED_RSS = 'feed' FEED_ATOM = 'feeds/atom.xml' FEED_MAX_ITEMS=5 -TAG_FEED_RSS = 'feeds/{slug}.xml'.decode('UTF-8') -TAG_FEED_ATOM = 'feeds/{slug}.atom.xml'.decode('UTF-8') -CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml'.decode('UTF-8') +TAG_FEED_RSS = 'feeds/{slug}.xml' +TAG_FEED_ATOM = 'feeds/{slug}.atom.xml' +CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml' DEFAULT_PAGINATION = FEED_MAX_ITEMS diff --git a/plugins/typogrify/filters.py b/plugins/typogrify/filters.py index e2a145c..41d108d 100755 --- a/plugins/typogrify/filters.py +++ b/plugins/typogrify/filters.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- import re -from titlecase import titlecase # NOQA +from typogrify.titlecase import titlecase # NOQA import locale class TypogrifyError(Exception): diff --git a/plugins/typogrify/typogrify.py b/plugins/typogrify/typogrify.py index e3748fb..7f5f568 100755 --- a/plugins/typogrify/typogrify.py +++ b/plugins/typogrify/typogrify.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- from pelican import signals -from filters import typogrify +from typogrify.filters import typogrify def apply(data): diff --git a/theme/static/css/main.css b/theme/static/css/main.css index 38ee676..84274fe 100755 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -249,7 +249,6 @@ div#page { section#content { float: left; line-height: 170%; - text-align: justify; margin: 5px; } section#content a img { |