static pages main_image is optional
This commit is contained in:
parent
759dd2736b
commit
41597d6461
|
@ -78,7 +78,9 @@
|
||||||
<div id="searchContainer">
|
<div id="searchContainer">
|
||||||
<div id="searchContent">
|
<div id="searchContent">
|
||||||
<p class="staticTitle">{{ page.title }}</p>
|
<p class="staticTitle">{{ page.title }}</p>
|
||||||
|
{% if page.main_image %}
|
||||||
<img src="{{ page.main_image.url }} " alt="{{ page.title }}" width="300" class="staticImg">
|
<img src="{{ page.main_image.url }} " alt="{{ page.title }}" width="300" class="staticImg">
|
||||||
|
{% endif %}
|
||||||
<div class="markdownText">{{ page.text|markdown }}</div>
|
<div class="markdownText">{{ page.text|markdown }}</div>
|
||||||
|
|
||||||
</div><!-- SEARCH CONTENT CLOSING -->
|
</div><!-- SEARCH CONTENT CLOSING -->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user