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

@ -4,7 +4,7 @@
<div class="col-md-8 tinted cover-image center-fill-container">
{% if post.image != nil %}
<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>
{% endif %}
</div>

View File

@ -1,7 +1,7 @@
<footer class="container-fluid">
<div class="pre-footer container">
<div class="brand pull-left">
<img class="logo" src="/images/logo-black.png">
<img class="logo" src="http://ketangupta.in/wona-images/logo-black.png">
<div class="name-container">
<div class="name">Watch Out!</div>
<div class="desc">Official News<br>Body of IITR</div>
@ -12,9 +12,9 @@
<a href="/about">About</a>
<a href="/guide">Guide</a>
<a href="/getinvolved">Get Involved</a>
<a href="http://fb.com/watchoutiitr"><img src="/images/fb-logo.svg"></a>
<a href="https://www.youtube.com/channel/UCthZ7tKOzy4EJpuVxtdcp1A"><img src="/images/youtube-play.svg"></a>
<a href="https://www.linkedin.com/company-beta/13290672/"><img src="/images/linkedin.png"></a>
<a href="http://fb.com/watchoutiitr"><img src="http://ketangupta.in/wona-images/fb-logo.svg"></a>
<a href="https://www.youtube.com/channel/UCthZ7tKOzy4EJpuVxtdcp1A"><img src="http://ketangupta.in/wona-images/youtube-play.svg"></a>
<a href="https://www.linkedin.com/company-beta/13290672/"><img src="http://ketangupta.in/wona-images/linkedin.png"></a>
</div>
</div>

View File

@ -24,7 +24,7 @@
<meta property="og:title" content="{{ title | xml_escape }}" />
<meta property="og:type" content="{% if page.excerpt %}article{% else %}website{% endif %}" />
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
<meta property="og:image" content="{{ site.url }}/images/{% if page.image %}posts/{{page.image}}{% else %}posts/main-building.jpg{% endif %}" />
<meta property="og:image" content="{{ site.url }}http://ketangupta.in/wona-images/{% if page.image %}posts/{{page.image}}{% else %}posts/main-building.jpg{% endif %}" />
{% if page.description != null %}
<meta property="og:description" content="{{ page.description }}" />
{% else %}

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">

View File

@ -1,7 +1,7 @@
{% assign post = include.post %}
<div class="row article article-horiozntal">
<div class="col-md-4 center-fill-container img-container">
<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-container col-md-8">
<div class="details">

View File

@ -1,7 +1,7 @@
<div class="pre-nav container">
<a href="/">
<div class="brand pull-left">
<img class="logo" src="/images/logo-black.png">
<img class="logo" src="http://ketangupta.in/wona-images/logo-black.png">
<div class="name-container">
<div class="name">Watch Out!</div>
<div class="desc">Official News<br>Body of IITR</div>
@ -12,9 +12,9 @@
<a href="/about">About</a>
<a href="/guide">Guide</a>
<a href="/getinvolved">Get Involved</a>
<a href="http://fb.com/watchoutiitr"><img src="/images/fb-logo.svg"></a>
<a href="https://www.youtube.com/channel/UCthZ7tKOzy4EJpuVxtdcp1A"><img src="/images/youtube-play.svg"></a>
<a href="https://www.linkedin.com/company-beta/13290672/"><img src="/images/linkedin.png"></a>
<a href="http://fb.com/watchoutiitr"><img src="http://ketangupta.in/wona-images/fb-logo.svg"></a>
<a href="https://www.youtube.com/channel/UCthZ7tKOzy4EJpuVxtdcp1A"><img src="http://ketangupta.in/wona-images/youtube-play.svg"></a>
<a href="https://www.linkedin.com/company-beta/13290672/"><img src="http://ketangupta.in/wona-images/linkedin.png"></a>
</div>
</div>