Compare commits
2 commits
0eb29e8c5a
...
34b187d0d4
Author | SHA1 | Date | |
---|---|---|---|
34b187d0d4 | |||
7530ecf7ba |
5 changed files with 11 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 0.2.18
|
## 0.2.19
|
||||||
|
|
||||||
- Added `short_feed` configuration flag to permanently disable returning the
|
- Added `short_feed` configuration flag to permanently disable returning the
|
||||||
full content of the articles in the RSS feed.
|
full content of the articles in the RSS feed.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = '0.2.18'
|
__version__ = '0.2.19'
|
||||||
|
|
|
@ -153,8 +153,13 @@ def rss_route():
|
||||||
<item>
|
<item>
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<link>{base_link}{link}</link>
|
<link>{base_link}{link}</link>
|
||||||
<pubDate>{published}</pubDate>
|
<pubDate>{published}</pubDate>"""
|
||||||
<description><![CDATA[{content}]]></description>
|
+ (
|
||||||
|
"<description><![CDATA[{content}]]></description>"
|
||||||
|
if not config.short_feed
|
||||||
|
else ""
|
||||||
|
)
|
||||||
|
+ """
|
||||||
<media:content medium="image" url="{base_link}{image}" width="200" height="150" />
|
<media:content medium="image" url="{base_link}{image}" width="200" height="150" />
|
||||||
</item>
|
</item>
|
||||||
""".format(
|
""".format(
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 0.2.18
|
current_version = 0.2.19
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -11,7 +11,7 @@ def readfile(file):
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='madblog',
|
name='madblog',
|
||||||
version='0.2.18',
|
version='0.2.19',
|
||||||
author='Fabio Manganiello',
|
author='Fabio Manganiello',
|
||||||
author_email='info@fabiomanganiello.com',
|
author_email='info@fabiomanganiello.com',
|
||||||
description='A minimal platform for Markdown-based blogs',
|
description='A minimal platform for Markdown-based blogs',
|
||||||
|
|
Loading…
Reference in a new issue