mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Moved the article title to article page
This commit is contained in:
@ -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 %}
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -473,6 +473,10 @@ blockquote {
|
||||
color: #333332;
|
||||
font-family: AvenirNext;
|
||||
|
||||
.content {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
p img {
|
||||
display: block;
|
||||
margin: auto;
|
||||
|
||||
Reference in New Issue
Block a user