Skip to content

2974 manually selected related posts, with backup of automatically selected related posts from category

Jeremy Scott requested to merge 2974_manually_selected_related_posts into master

Why is this change being made?

Resolves #2974 (closed)

Blog authors can now add header matter in the following fashion to select up to 3 related posts:

- related_posts:
  - relative/url/of/related_post_1/
  - relative/url/of/related_post_1/
  - relative/url/of/related_post_1/

If omitted and for backwards compatibility, the three most recent posts from the category are selected.

Posts are found based on the URL and populated into a section before the newsletter but after the post with the headline of "The latest from our blog" and takes styling from the front page for blog post cards.

Author Checklist

  • Correct MR template applied (e.g blog post)
  • Provided a concise title for the MR
  • Added a description to this MR explaining the reasons for the proposed change, per say-why-not-just-what
  • Assign this change to the correct DRI
    • If the DRI for the page/s being updated isn’t immediately clear, then assign it to your manager.
    • If your manager does not have merge rights, please ask someone to merge it AFTER it has been approved by your manager in #mr-buddies.
    • If the changes relate to any part of the project other than updates to content and/or data files please make sure to ping @gl-static-site-editor in a comment for a review and merge. For example changes to .gitlab-ci.yml, JavaScript/CSS/Ruby code or the layout files.

For help with failing pipelines reach out in #mr-buddies in Slack

Merge request reports

Loading