Embed specific post (including description and/or full content) #27

Open
opened 2025-10-13 16:53:50 +00:00 by linuxgoose · 0 comments
Owner

Think about embedding a specific post—by ID or slug. So using the shortcode:

{{ posts|limit:3|content:True }}

do something like:

{{ posts|id:<slug or ID here>|… }}

My thinking would be the post ID is better, since I’m assuming it wouldn’t change even if the slug does down the road. This would require the ID be exposed in the metadata subsequent to publishing, akin to what happens with the date. Having this option available would be useful for something like related posts, with the ability to include part or all of its content, in addition to more easily linking it within a sibling post.

Think about embedding a specific post—by ID or slug. So using the shortcode: ``` {{ posts|limit:3|content:True }} ``` do something like: ``` {{ posts|id:<slug or ID here>|… }} ``` My thinking would be the post ID is better, since I’m assuming it wouldn’t change even if the slug does down the road. This would require the ID be exposed in the metadata subsequent to publishing, akin to what happens with the date. Having this option available would be useful for something like related posts, with the ability to include part or all of its content, in addition to more easily linking it within a sibling post.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: linuxgoose/bocpress#27
No description provided.