Moved the article title to article page

This commit is contained in:
Asutosh Palai
2016-07-11 04:06:29 -04:00
parent 17c1022f17
commit e7e8df0f32
3 changed files with 10 additions and 0 deletions

View File

@ -7,9 +7,11 @@
{% if post.image != nil %}
<div class="cover-image center-vertical"><img class="center-both img-center-fill" src="/images/posts/{{ post.image }}" alt=""></div>
{% endif %}
{% unless page.is_post == true %}
<div class="cover center-both text-center">
<a href="{{ post.url }}" class="cover-link"> <h1 class="title">{{ post.title }}</h1></a>
</div>
{% endunless %}
<div class="left">
{% if page.is_post and post.next %}

View File

@ -4,6 +4,10 @@ layout: layout
{% include header.html %}
<section class="post container">
<h1>
<a href="{{ page.url }}">{{ page.title }}</a>
</h1>
<section class="byline">
{{ page.date | date: "%B %e, %Y" }}
</section>

View File

@ -473,6 +473,10 @@ blockquote {
color: #333332;
font-family: AvenirNext;
.content {
margin-top: 2em;
}
p img {
display: block;
margin: auto;