mirror of https://gitlab.com/bashrc2/epicyon
Add a license for blog content
parent
18f0a82a47
commit
a839e914d2
|
|
@ -888,6 +888,11 @@ def htmlHeaderWithBlogMarkup(cssFilename: str, instanceTitle: str,
|
||||||
|
|
||||||
authorUrl = httpPrefix + '://' + domain + '/users/' + nickname
|
authorUrl = httpPrefix + '://' + domain + '/users/' + nickname
|
||||||
aboutUrl = httpPrefix + '://' + domain + '/about.html'
|
aboutUrl = httpPrefix + '://' + domain + '/about.html'
|
||||||
|
|
||||||
|
# license for content on the site may be different from
|
||||||
|
# the software license
|
||||||
|
contentLicenseUrl = 'https://creativecommons.org/licenses/by/3.0'
|
||||||
|
|
||||||
blogMarkup = \
|
blogMarkup = \
|
||||||
' <script type="application/ld+json">\n' + \
|
' <script type="application/ld+json">\n' + \
|
||||||
' {\n' + \
|
' {\n' + \
|
||||||
|
|
@ -906,6 +911,7 @@ def htmlHeaderWithBlogMarkup(cssFilename: str, instanceTitle: str,
|
||||||
' "name": "' + instanceTitle + '",\n' + \
|
' "name": "' + instanceTitle + '",\n' + \
|
||||||
' "sameAs": "' + aboutUrl + '"\n' + \
|
' "sameAs": "' + aboutUrl + '"\n' + \
|
||||||
' },\n' + \
|
' },\n' + \
|
||||||
|
' "license": "' + contentLicenseUrl + '",\n' + \
|
||||||
' "description": "' + snippet + '"\n' + \
|
' "description": "' + snippet + '"\n' + \
|
||||||
' }\n' + \
|
' }\n' + \
|
||||||
' </script>\n'
|
' </script>\n'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue