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