feat: with extra head instead
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
1c4ebb2d92
commit
bc2cfdcac7
@ -19,7 +19,6 @@
|
||||
<meta property="og:title" content="Kasper Hermansen's blog is a hub of insights on platform engineering">
|
||||
<meta property="og:description" content="Kasper Hermansen's blog is a hub of insights on platform engineering">
|
||||
<meta property="og:image" content="https://blog.kasperhermansen.com/images/kjuulh.jpg">
|
||||
<meta property="og:url" content="{{ page.permalink | safe }}" />
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="Kasper Hermansen's Blog">
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
{% block extra_head %}
|
||||
<link rel="canonical" href="{{ page.permalink | safe }}">
|
||||
<meta property="og:url" content="{{ page.permalink | safe }}" />
|
||||
{% endblock extra_head %}
|
||||
|
||||
{% block title %}
|
||||
@ -20,7 +21,8 @@
|
||||
<h1 class="title">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
<a href="https://github.com/kjuulh" target="_blank" rel="noopener noreferrer" class="text-peach hover:text-orange-400">
|
||||
<a href="https://github.com/kjuulh" target="_blank" rel="noopener noreferrer"
|
||||
class="text-peach hover:text-orange-400">
|
||||
@kjuulh
|
||||
</a>
|
||||
<p class="subtitle"><strong>{{ page.date }}</strong></p>
|
||||
@ -40,4 +42,3 @@
|
||||
</div>
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block extra_head %}
|
||||
<link rel="canonical" href="{{ section.permalink | safe }}">
|
||||
<meta property="og:url" content="{{ section.permalink | safe }}" />
|
||||
{% endblock extra_head %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="container mx-auto px-4 max-w-3xl py-8 space-y-4">
|
||||
@ -28,13 +33,14 @@
|
||||
<ul class="pagination">
|
||||
{% if paginator.previous %}
|
||||
<span class="page-item page-prev">
|
||||
<a href={{ paginator.previous }} class="page-link" aria-label="Previous"><span aria-hidden="true">← Prev</span></a>
|
||||
<a href={{ paginator.previous | safe }} class="page-link" aria-label="Previous"><span aria-hidden="true">←
|
||||
Prev</span></a>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% if paginator.next %}
|
||||
<span class="page-item page-next">
|
||||
<a href={{ paginator.next }} class="page-link" aria-label="Next"><span aria-hidden="true">Next →</span></a>
|
||||
<a href={{ paginator.next | safe }} class="page-link" aria-label="Next"><span aria-hidden="true">Next →</span></a>
|
||||
</span>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user