From e60b1090204ba36c4d1c687206e03d3398338175 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 5 May 2023 11:18:15 -0700 Subject: [PATCH] fix: post rendering --- src/posts/2023/now-page-update-matter-favorites.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/posts/2023/now-page-update-matter-favorites.md b/src/posts/2023/now-page-update-matter-favorites.md index 6dfe1601..fb0d00ee 100644 --- a/src/posts/2023/now-page-update-matter-favorites.md +++ b/src/posts/2023/now-page-update-matter-favorites.md @@ -29,7 +29,9 @@ module.exports = async function () { By following Federico's steps we can obtain a bearer token to access the API which will return an array of our favorited articles. This endpoint is paginated (e.g. passing `?page=1`, but I'm retrieving the full response, reversing the order and rendering the output to achieve the displayed result: -```html +{% raw %} + +```liquid {% if articles %}

Reading: favorite articles @@ -49,4 +51,6 @@ By following Federico's steps we can obtain a bearer token to access the API whi {% endif %} ``` +{% endraw %} + [You can see the result rendered here.](/now)