mirror of
https://github.com/safing/web
synced 2025-04-22 20:09:08 +00:00
Add video next and previous
This commit is contained in:
parent
10bb02f4c6
commit
9651b8577a
1 changed files with 15 additions and 0 deletions
|
@ -23,3 +23,18 @@ container_class: "podcast pt-40 lg:pt-64"
|
|||
<div class="content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
<div class="flex pt-24 justify-center grid grid-cols-2 col-gap-16 max-w-3xl mx-auto">
|
||||
{% if page.next.url %}
|
||||
<div class="text-left">
|
||||
<div class="pb-4 text-md opacity-55">Next Post</div>
|
||||
<a href="{{page.next.url }}" class="text-3xl tracking-tight font-extrabold leading-none break-normal">{{page.next.title}}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if page.previous.url %}
|
||||
<div class="text-right col-start-2">
|
||||
<div class="pb-4 text-md opacity-55">Previous Post</div>
|
||||
<a href="{{page.previous.url }}" class="text-3xl tracking-tight font-extrabold leading-none break-normal">{{page.previous.title}}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
Loading…
Add table
Reference in a new issue