git ssb

0+

Grey the earthling / scuttleblog



Commit b976d93ab04d97e0821b6f4d8f858befe73e40f6

Make the Hugo theme configurable

You'll still have to manually install the right theme.
Greg K Nicholson committed on 10/15/2017, 12:43:26 PM
Parent: 7c646de89922ee69de7009071971ee565c9785b4

Files changed

conf.pychanged
scuttleblog.pychanged
conf.pyView
@@ -1,2 +1,3 @@
1-userid="@JoiN9c9+xO0jgu0gg5yflTf+L1peLTBneFHjrKbmcKo=.ed25519"
1 +userid='@JoiN9c9+xO0jgu0gg5yflTf+L1peLTBneFHjrKbmcKo=.ed25519'
2 +hugo_theme='ananke'
23
scuttleblog.pyView
@@ -99,9 +99,9 @@
9999
100100 def build_hugo_config(m):
101101 hugo_config = {}
102102 hugo_config['title'] = m['value']['content']['name']
103- hugo_config['theme'] = 'ananke' # FIXME
103 + hugo_config['theme'] = conf.hugo_theme
104104 hugo_config['params'] = {}
105105 hugo_config['params']['subtitle'] = m['value']['content']['description'].replace('\n', ' ')
106106 return (hugo_config)
107107

Built with git-ssb-web