diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bupa | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bupa b/scripts/bupa index f2a810b..5fd1952 100755 --- a/scripts/bupa +++ b/scripts/bupa @@ -24,6 +24,10 @@ class Page(object): self.meta_desc = page_dict['description'] if 'keywords' in page_dict: self.meta_keywords = page_dict['keywords'] + if 'dropcap' in page_dict: + self.dropcap = (page_dict['dropcap'] == 'True') + else: + self.dropcap = True self.body = page_dict['body'][0] def reST_to_html(s, id_prefix='id'): |