Fixed paths in articles for css and js

This commit is contained in:
Alexander Zolotarev 2013-08-08 14:45:13 +03:00
parent 5a6a4c882f
commit 6dc36a304b

View file

@ -42,8 +42,8 @@ def cleanUp(soup):
# Here we add our own js and css into the <head>
headTag = soup.new_tag("head")
headTag.append(soup.new_tag("meta", charset="UTF-8"))
headTag.append(soup.new_tag("link", rel="stylesheet", type="text/css", href="article.css"))
headTag.append(soup.new_tag("script", type="text/javascript", src="article.js"))
headTag.append(soup.new_tag("link", rel="stylesheet", type="text/css", href="css/article.css"))
headTag.append(soup.new_tag("script", type="text/javascript", src="js/article.js"))
meta1 = soup.new_tag("meta", content="yes")
# workaround as "name" is used in python
meta1["name"] = "apple-mobile-web-app-capable"