Updated the header on the posts page
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
30c54ec5a3
commit
a4251a91b4
@ -2,20 +2,25 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<article class="container">
|
||||
<header>
|
||||
<h1>{{ page.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }}</h1>
|
||||
{% assign date = page.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %}
|
||||
{% assign title = site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape %}
|
||||
|
||||
<small>
|
||||
Published <time datetime="{{ page.date | date_to_xmlschema }}">
|
||||
{{ page.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
||||
</time> on <a href="{{ site.url | absolute_url | uri_escape }}" target="_self">
|
||||
{{ site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }}
|
||||
</a> | <a href="{{ page.url | absolute_url | uri_escape }}" target="_blank">
|
||||
Permalink
|
||||
</a>
|
||||
</small>
|
||||
<article class="container">
|
||||
<small>
|
||||
<span>Published</span>
|
||||
<time datetime="{{ page.date | date_to_xmlschema }}">{{ date }}</time>
|
||||
<span>on</span>
|
||||
<a href="{{ site.url | absolute_url | uri_escape }}" target="_self">{{ title }}</a>
|
||||
<span>|</span>
|
||||
<a href="{{ page.url | absolute_url | uri_escape }}" target="_blank">Permalink</a>
|
||||
</small>
|
||||
|
||||
<header>
|
||||
<h1>{{ title }}</h1>
|
||||
</header>
|
||||
|
||||
{{ content }}
|
||||
</article>
|
||||
|
||||
{% assign date = "" %}
|
||||
{% assign title = "" %}
|
||||
|
@ -1,2 +1 @@
|
||||
@import 'components/core';
|
||||
@import 'components/header';
|
||||
|
@ -1,9 +0,0 @@
|
||||
header {
|
||||
border-bottom: 1px solid $color-bg-alt;
|
||||
}
|
||||
|
||||
article {
|
||||
header {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user