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 %}
|
{% if post.image != nil %}
|
||||||
<div class="cover-image center-vertical"><img class="center-both img-center-fill" src="/images/posts/{{ post.image }}" alt=""></div>
|
<div class="cover-image center-vertical"><img class="center-both img-center-fill" src="/images/posts/{{ post.image }}" alt=""></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% unless page.is_post == true %}
|
||||||
<div class="cover center-both text-center">
|
<div class="cover center-both text-center">
|
||||||
<a href="{{ post.url }}" class="cover-link"> <h1 class="title">{{ post.title }}</h1></a>
|
<a href="{{ post.url }}" class="cover-link"> <h1 class="title">{{ post.title }}</h1></a>
|
||||||
</div>
|
</div>
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
<div class="left">
|
<div class="left">
|
||||||
{% if page.is_post and post.next %}
|
{% if page.is_post and post.next %}
|
||||||
|
|||||||
@ -4,6 +4,10 @@ layout: layout
|
|||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
|
|
||||||
<section class="post container">
|
<section class="post container">
|
||||||
|
<h1>
|
||||||
|
<a href="{{ page.url }}">{{ page.title }}</a>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<section class="byline">
|
<section class="byline">
|
||||||
{{ page.date | date: "%B %e, %Y" }}
|
{{ page.date | date: "%B %e, %Y" }}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -473,6 +473,10 @@ blockquote {
|
|||||||
color: #333332;
|
color: #333332;
|
||||||
font-family: AvenirNext;
|
font-family: AvenirNext;
|
||||||
|
|
||||||
|
.content {
|
||||||
|
margin-top: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
p img {
|
p img {
|
||||||
display: block;
|
display: block;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user