mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
a3d6fd799b
commit
2bdf27d225
|
@ -736,10 +736,6 @@ def htmlHeaderWithBlogMarkup(cssFilename: str, instanceTitle: str,
|
||||||
"""html header which includes blog post markup
|
"""html header which includes blog post markup
|
||||||
https://schema.org/BlogPosting
|
https://schema.org/BlogPosting
|
||||||
"""
|
"""
|
||||||
htmlStr = \
|
|
||||||
htmlHeaderWithExternalStyle(cssFilename, instanceTitle, None,
|
|
||||||
systemLanguage)
|
|
||||||
|
|
||||||
authorUrl = localActorUrl(httpPrefix, nickname, domain)
|
authorUrl = localActorUrl(httpPrefix, nickname, domain)
|
||||||
aboutUrl = httpPrefix + '://' + domain + '/about.html'
|
aboutUrl = httpPrefix + '://' + domain + '/about.html'
|
||||||
|
|
||||||
|
@ -769,7 +765,9 @@ def htmlHeaderWithBlogMarkup(cssFilename: str, instanceTitle: str,
|
||||||
' "description": "' + snippet + '"\n' + \
|
' "description": "' + snippet + '"\n' + \
|
||||||
' }\n' + \
|
' }\n' + \
|
||||||
' </script>\n'
|
' </script>\n'
|
||||||
htmlStr = htmlStr.replace('<head>\n', '<head>\n' + blogMarkup)
|
htmlStr = \
|
||||||
|
htmlHeaderWithExternalStyle(cssFilename, instanceTitle, blogMarkup,
|
||||||
|
systemLanguage)
|
||||||
return htmlStr
|
return htmlStr
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue