diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-02-19 21:53:10 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-02-19 21:53:10 +0100 |
commit | d407af65cad96d5edee927aec66ae4cc07edeb7a (patch) | |
tree | 2b8482ea2030786bb2b53fbe815acf3f4995a042 /scripts/bupa | |
parent | 358a88398539d395aa5459c88e2592cc65740299 (diff) | |
download | website-d407af65cad96d5edee927aec66ae4cc07edeb7a.tar.xz |
bupa: add support for description/keywords meta tags
Diffstat (limited to 'scripts/bupa')
-rwxr-xr-x | scripts/bupa | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bupa b/scripts/bupa index cce1536..d923f98 100755 --- a/scripts/bupa +++ b/scripts/bupa @@ -20,6 +20,10 @@ class Page(object): self.author = page_dict['author'] if 'author_link' in page_dict: self.author_link = page_dict['author_link'] + if 'description' in page_dict: + self.meta_desc = page_dict['description'] + if 'keywords' in page_dict: + self.meta_keywords = page_dict['keywords'] self.body = page_dict['body'][0] def reST_to_html(s): |