style: only show 'Back to Home' button on posts, hide on pages
All checks were successful
Deploy Theme / deploy (push) Successful in 13s
All checks were successful
Deploy Theme / deploy (push) Successful in 13s
This commit is contained in:
2
post.hbs
2
post.hbs
@@ -70,10 +70,12 @@
|
|||||||
</nav>
|
</nav>
|
||||||
{{/is}}
|
{{/is}}
|
||||||
|
|
||||||
|
{{#is "post"}}
|
||||||
<footer class="mt-12 pt-8 border-t border-[var(--bg-tertiary)] text-center">
|
<footer class="mt-12 pt-8 border-t border-[var(--bg-tertiary)] text-center">
|
||||||
<a href="/" class="btn-primary">
|
<a href="/" class="btn-primary">
|
||||||
← Back to Home
|
← Back to Home
|
||||||
</a>
|
</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
{{/is}}
|
||||||
</article>
|
</article>
|
||||||
{{/post}}
|
{{/post}}
|
||||||
|
|||||||
Reference in New Issue
Block a user