test image on static page

This commit is contained in:
Sanj 2011-12-27 18:59:30 +05:30
parent 1ecea1aeab
commit 14e0d6b26f

View File

@ -16,6 +16,11 @@
text-transform:uppercase; text-transform:uppercase;
} }
.staticImg {
display:block;
margin:0 auto;
}
.markdownText p { .markdownText p {
margin-bottom:8px; margin-bottom:8px;
} }
@ -70,7 +75,7 @@
<div id="searchContainer"> <div id="searchContainer">
<div id="searchContent"> <div id="searchContent">
<p class="staticTitle">{{ page.title }}</p> <p class="staticTitle">{{ page.title }}</p>
{% comment %} <img src="{{ page.main_image.url }} " alt="{{ page.title }}" width="300"> {% endcomment %} <img src="{{ page.main_image.url }} " alt="{{ page.title }}" width="300" class="staticImg">
<p class="markdownText">{{ page.text|markdown }}</p> <p class="markdownText">{{ page.text|markdown }}</p>
</div><!-- SEARCH CONTENT CLOSING --> </div><!-- SEARCH CONTENT CLOSING -->