forked from 0x2620/pandora
descriptions need to be escaped in header
This commit is contained in:
parent
6e7b029f1c
commit
8cfbef2505
2 changed files with 6 additions and 6 deletions
|
@ -14,13 +14,13 @@
|
|||
</script>
|
||||
<script type="text/javascript" src="/static/js/pandora.js"></script>
|
||||
<meta name="title" content="{{title}}" />
|
||||
<meta name="description" content="{{settings.CONFIG.site.description|safe}}"/>
|
||||
<meta name="description" content="{{settings.CONFIG.site.description}}"/>
|
||||
<meta property="og:title" content="{{title}}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:url" content="{{base_url}}"/>
|
||||
<meta property="og:image" content="{{base_url}}static/png/icon.png"/>
|
||||
<meta property="og:site_name" content="{{settings.SITENAME}}"/>
|
||||
<meta property="og:description" content="{{settings.CONFIG.site.description|safe}}"/>
|
||||
<meta property="og:description" content="{{settings.CONFIG.site.description}}"/>
|
||||
<meta name=”google” value=”notranslate”>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<script type="text/javascript" src="/static/oxjs/build/Ox.js"></script>
|
||||
<script type="text/javascript" src="/static/js/pandora.js"></script>
|
||||
<meta name="title" content="{{title}}" />
|
||||
<meta name="description" content="{{description|safe}}"/>
|
||||
<meta name="description" content="{{description}}"/>
|
||||
<meta name="keywords" content="{{keywords|safe}}"/>
|
||||
<meta content="{{url}}/{{icon}}128.jpg" name="thumbnail"/>
|
||||
<meta content="{{url}}/{{icon}}128.jpg" name="image_src"/>
|
||||
|
@ -24,12 +24,12 @@
|
|||
<meta property="og:url" content="{{url}}"/>
|
||||
<meta property="og:image" content="{{url}}/{{icon}}128.jpg"/>
|
||||
<meta property="og:site_name" content="{{settings.SITENAME}}"/>
|
||||
<meta property="og:description" content="{{description|safe}}"/>
|
||||
<meta property="og:description" content="{{description}}"/>
|
||||
<meta name=”google” value=”notranslate”>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<img src="/{{id}}/{{icon}}256.jpg" style="float: left; margin-right: 8px">
|
||||
<img src="/{{id}}/{{icon}}256.jpg" alt="" style="float: left; margin-right: 8px">
|
||||
<h1>{{title}}</h1>
|
||||
{% for i in data %}
|
||||
<div>
|
||||
|
@ -38,7 +38,7 @@
|
|||
{% endfor %}
|
||||
{% for c in clips %}
|
||||
<div style="clear:both;padding-top: 4px">
|
||||
<img src="/{{id}}/96p{{c.in}}.jpg" style="float: left; margin-right: 8px">
|
||||
<img src="/{{id}}/96p{{c.in}}.jpg" alt="" style="float: left; margin-right: 8px">
|
||||
{{c.annotations|safe}}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue