big overhaul
This commit is contained in:
8
templates/partials/content-listing-item.html
Normal file
8
templates/partials/content-listing-item.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<li class="title-list">
|
||||
{% if page.date %}
|
||||
<time class="content-meta">{{ page.date | date(format="%Y-%m-%d") }}</time>
|
||||
{% endif %}
|
||||
<a href="{{ page.permalink }}" class="content-link">
|
||||
{{ page.title }}
|
||||
</a>
|
||||
</li>
|
||||
17
templates/partials/pagination.html
Normal file
17
templates/partials/pagination.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<nav class="pagination" aria-label="Pagination">
|
||||
<div class="pagination-inner">
|
||||
{% if paginator.previous %}
|
||||
<a href="{{ paginator.previous }}" class="page-item" aria-label="Previous page">
|
||||
<svg class="icon"><use href="{{ get_url(path='icons.svg#chevronLeft') }}"></use></svg>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<span class="page-current accent-data">{{ paginator.current_index }} of {{ paginator.number_pagers }}</span>
|
||||
|
||||
{% if paginator.next %}
|
||||
<a href="{{ paginator.next }}" class="page-item" aria-label="Next page">
|
||||
<svg class="icon"><use href="{{ get_url(path='icons.svg#chevronRight') }}"></use></svg>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</nav>
|
||||
21
templates/partials/schema-article.html
Normal file
21
templates/partials/schema-article.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Article",
|
||||
"headline": "{{ page.title }}",
|
||||
{% if config.extra.author %}
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{{ config.extra.author }}"
|
||||
},
|
||||
{% endif %}
|
||||
{% if page.date %}
|
||||
"datePublished": "{{ page.date }}",
|
||||
{% endif %}
|
||||
"description": "{{ page.description | default(value=config.description) }}",
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "{{ config.title }}"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user