More actions
(remove h3 tag) |
(Don't display the latest post if you're on it already) |
||
| 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;">[[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}}}} | | [[Blog:{{Home/settings|currentBlog}}|{{Blog:{{Home/settings|currentBlog}}|title}}]]}}</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> | ||
Revision as of 19:23, 21 April 2023
Other blog posts
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.