New structure for images

This commit is contained in:
Ketan Gupta
2018-01-17 16:43:12 +05:30
parent 8f505aaf78
commit 381cf5b83e
372 changed files with 174 additions and 236 deletions

View File

@ -9,7 +9,7 @@
{% if post.image != nil %}
<div class="col-md-8 tinted cover-image center-fill-container">
<div class="img-container">
<img class="center-both img-center-fill" src="/images/posts/{{ post.image }}" alt="">
<img class="center-both img-center-fill" src="http://ketangupta.in/wona-images/posts/{{ post.image }}" alt="">
</div>
</div>
{% endif %}
@ -47,7 +47,7 @@
<a href="{{ post.url }}">
<div class="article">
<div class="center-fill-container img-container tinted">
<img src="/images/posts/{{post.image}}" alt="" class="img-center-fill center-both {% if post.image == null %}hidden{% endif %}">
<img src="http://ketangupta.in/wona-images/posts/{{post.image}}" alt="" class="img-center-fill center-both {% if post.image == null %}hidden{% endif %}">
</div>
<div class="details">
<div class="head">