summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-02-19 21:53:10 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-02-19 21:53:10 +0100
commitd407af65cad96d5edee927aec66ae4cc07edeb7a (patch)
tree2b8482ea2030786bb2b53fbe815acf3f4995a042
parent358a88398539d395aa5459c88e2592cc65740299 (diff)
downloadwebsite-d407af65cad96d5edee927aec66ae4cc07edeb7a.tar.xz
bupa: add support for description/keywords meta tags
-rwxr-xr-xscripts/bupa4
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):