diff --git a/_includes/components/reply-context.njk b/_includes/components/reply-context.njk index 9398caa..90e62f8 100644 --- a/_includes/components/reply-context.njk +++ b/_includes/components/reply-context.njk @@ -2,9 +2,15 @@ {# Displays rich context for replies, likes, reposts, and bookmarks #} {# Uses h-cite microformat for citing external content #} -{% if in_reply_to or like_of or repost_of or bookmark_of %} +{# Support both camelCase (Indiekit Eleventy preset) and underscore (legacy) property names #} +{% set replyTo = inReplyTo or in_reply_to %} +{% set likedUrl = likeOf or like_of %} +{% set repostedUrl = repostOf or repost_of %} +{% set bookmarkedUrl = bookmarkOf or bookmark_of %} + +{% if replyTo or likedUrl or repostedUrl or bookmarkedUrl %}