Merge branch 'master' of https://github.com/weeheavy/pelican-alchemy into weeheavy-master

Don't quote the <img /> src=, some Pelican configs pass width/height to
{{ SITEIMAGE }}, and an unquoted src= allows the browser to that up.
main
Raymond Wanyoike 2017-04-08 23:11:53 +03:00
commit 11b6b9fd9a
1 changed files with 2 additions and 2 deletions

View File

@ -58,13 +58,13 @@
<div class="row">
{% if SITEIMAGE %}
<div class="col-sm-4">
<a href="{{ SITEURL }}">
<a href="{{ SITEURL }}/">
<img class="img-fluid" src={{ SITEURL }}{{ SITEIMAGE }} alt="{{ SITENAME }}">
</a>
</div>
{% endif %}
<div class="col-sm-{% if SITEIMAGE %}8{% else %}12{% endif %}">
<h1 class="title"><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1>
<h1 class="title"><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>
{% if SITESUBTITLE %}
<p class="text-muted">{{ SITESUBTITLE }}</p>
{% endif %}