More actions
No edit summary |
(Deprecate title field) |
||
| (7 intermediate revisions by the same user not shown) | |||
| 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}}|{{#getdisplaytitle:Blog:{{Home/settings|currentBlog}}}}]]}}</div> | ||
<div class="home-link__button"">[[:{{Home/settings|viewAllBlogs}}|View all posts]]</div> | |||
</div> | |||
---- | ---- | ||
<div class="button-container__spacebetween"> | <div class="button-container__spacebetween"> | ||
<div class="home-link__button"">{{#if:{{{prev|}}}|[[Blog:{{{prev}}}| « Previous post]]|}}</div> | |||
</div> | <div class="home-link__button"">{{#if:{{{next|}}}|[[Blog:{{{next}}}|Next post »]]|}}</div> | ||
</div></div> | |||
<templatestyles src="Template:Home/shared/styles.css"/><noinclude><!-- For preview only --><templatestyles src="Template:Home/shared/styles.css" />{{/doc}}</noinclude> | <templatestyles src="Template:Home/shared/styles.css"/><noinclude><!-- For preview only --><templatestyles src="Template:Home/shared/styles.css" />{{/doc}}</noinclude> | ||
Latest revision as of 01:11, 23 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.