mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
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.
This commit is contained in:
commit
11b6b9fd9a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue