From d407af65cad96d5edee927aec66ae4cc07edeb7a Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 19 Feb 2015 21:53:10 +0100 Subject: bupa: add support for description/keywords meta tags --- scripts/bupa | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') 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): -- cgit v1.2.3-70-g09d2