git ssb

0+

Grey the earthling / scuttleblog



Commit 84569ab3a0fa6affd682cd0970953560293a03b2

Add a TODO.md file

Move existing TODO and FIXME here.
Greg K Nicholson committed on 10/15/2017, 5:08:36 PM
Parent: cd701886292dd0144e10889ae3995adc117bd334

Files changed

scuttleblog.pychanged
TODO.mdadded
scuttleblog.pyView
@@ -64,9 +64,8 @@
6464 ellipsis = '...'
6565 title = title if len(title) <= maxlength else title[:maxlength].rsplit(' ', 1)[0] + ellipsis
6666 body = text
6767 title = re.sub('^#+\s+', '', title)
68- # FIXME: This doesn't gracefully handle markdown near the start of a post.
6968 return {'title': title, 'body': body}
7069
7170 def build_post_structure(p):
7271 post = {}
@@ -133,9 +132,8 @@
133132 if os.path.exists(file):
134133 os.remove(file)
135134 with open('hugo/config.json', 'w') as f:
136135 f.write (json.dumps(build_hugo_config(metadata), indent = 4))
137- # TODO: add the user's image in the right place
138136
139137 def run_hugo():
140138 subprocess.run(['hugo', '-s', 'hugo'])
141139
TODO.mdView
@@ -1,0 +1,38 @@
1 +# Config
2 +
3 +* More generic way of including Hugo config in conf.py.
4 +* Option to include only posts from a configurable channel.
5 +
6 +
7 +# Performance
8 +
9 +* Investigate whether it's worth trying generate only new posts.
10 +
11 +
12 +# Use SSB content better
13 +
14 +## Blog metadata
15 +
16 +* Use the user's image as the blog's hero image.
17 +
18 +
19 +## Post content
20 +
21 +* Handle links to SSB objects in some generic way.
22 +* Try to handle internal SSB links (to other posts).
23 + * This is probably theme-specific.
24 +
25 +
26 +## Post titles
27 +
28 +* Work out a better way to generate a post title from various types of posts.
29 + * Handle markdown (links) in post titles.
30 + * Try to find a theme that elegantly handles posts without titles.
31 +
32 +
33 +## Replies
34 +
35 +* Show the whole thread. Attribute comments properly.
36 + * Need to work out a suitable Hugo data structure for this.
37 +
38 +

Built with git-ssb-web