Fixed paths in articles for css and js
This commit is contained in:
parent
5a6a4c882f
commit
6dc36a304b
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Reference in a new issue