Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Home/BlogNav: Difference between revisions

Template page
(description for previous revision)
(Deprecate title field)
 
Line 1: Line 1:
<div class="home-card">
<div class="home-card">
<div class="home-card__label">Other blog posts</div>
<div class="home-card__label">Other blog posts</div>
<div class="button-container__spacebetween"><div class="home-card__header" style="font-size: 1rem; font-weight: bold;">{{#ifeq: {{Home/settings|currentBlog}} | {{#getdisplaytitle:{{FULLPAGENAME}}}} |You are viewing the latest blog post| [[Blog:{{Home/settings|currentBlog}}|{{Blog:{{Home/settings|currentBlog}}|title}}]]}}</div>
<div class="button-container__spacebetween"><div class="home-card__header" style="font-size: 1rem; font-weight: bold;">{{#ifeq: {{Home/settings|currentBlog}} | {{#getdisplaytitle:{{FULLPAGENAME}}}} |You are viewing the latest blog post| [[Blog:{{Home/settings|currentBlog}}|{{#getdisplaytitle:Blog:{{Home/settings|currentBlog}}}}]]}}</div>
<div class="home-link__button"">[[:{{Home/settings|viewAllBlogs}}|View all posts]]</div>
<div class="home-link__button"">[[:{{Home/settings|viewAllBlogs}}|View all posts]]</div>
</div>
</div>

Latest revision as of 01:11, 23 April 2023

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Home/BlogNav/doc. Changes can be proposed in the talk page.

This template is used on the Blog post pages to display the navigation widget at the bottom of the page. It automatically determines the latest blog post, but the previous and next posts need to be defined manually.