File tree Expand file tree Collapse file tree 6 files changed +12
-2
lines changed Expand file tree Collapse file tree 6 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ added :
2
+ - Add logo (site_image) support for RSS feed (#6)
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ The configuration file (default `blog.conf`) provides the following configuratio
61
61
| author | admin | A default name for the author of blog posts |
62
62
| copyright | manpageblog | name of a copyright holder |
63
63
| preview_words | 150 (default) | How many words should be displayed within the blog index page |
64
+ | site_logo | https://cdn.gyptazy.ch/images/manpageblog.jpg | URL to a default site logo (e.g. used for RSS) |
64
65
65
66
<!-- TOC ignore:true -->
66
67
#### [ social]
Original file line number Diff line number Diff line change 4
4
<channel >
5
5
<title >{{ title }}</title >
6
6
<link >{{ site_url }}/</link >
7
- <description >Grow with Technology</description >
7
+ <description >{{ description }}</description >
8
+ <image >
9
+ <url >{{ site_logo }}</url >
10
+ <title >{{ title }}</title >
11
+ <link >{{ site_url }}</link >
12
+ </image >
8
13
9
14
{{ content }}
10
15
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ subtitle: manpageblog - a small and lightweight blog engine.
5
5
author: admin
6
6
copyright: manpageblog
7
7
preview_words: 150
8
+ site_logo: https://cdn.gyptazy.ch/images/manpageblog.jpg
8
9
9
10
[social]
10
11
mastodon: https://mastodon.bsd.cafe/@manpageblog
Original file line number Diff line number Diff line change 1
1
<!-- title: manpageblog released in version 1.0 -->
2
2
<!-- meta_description: Initial release of manpageblog 1.0. A simple and static blog generator in manpage design written in Python. -->
3
- <!-- image_url: https://gyptazy.ch/wp-content/webpc-passthru.php?src=https:// gyptazy.ch/wp-content/uploads/2023/11/ansible-semaphore-gyptazy .jpg&nocache=1 -->
3
+ <!-- image_url: https://cdn. gyptazy.ch/images/manpageblog .jpg -->
4
4
5
5
<a href =" https://github.com/gyptazy/manpageblog " >manpageblog</a > finally got its first release. With version
6
6
1.0 a public release is now present. A small, lightweight blog engine written in Python and offers several advantages
Original file line number Diff line number Diff line change @@ -249,6 +249,7 @@ def main():
249
249
'subtitle' : config ['general' ]['subtitle' ],
250
250
'author' : config ['general' ].get ('author' , 'unknown' ),
251
251
'copyright' : config ['general' ].get ('copyright' , 'manpageblog' ),
252
+ 'site_logo' : config ['general' ].get ('site_logo' , '' ),
252
253
'profile_mastodon' : config ['social' ].get ('mastodon' , 'unknown' ),
253
254
'profile_twitter' : config ['social' ].get ('twitter' , 'unknown' ),
254
255
'image_width' : config ['opengraph' ].get ('image_width' , '800' ),
You can’t perform that action at this time.
0 commit comments