-
+
@@ -54,24 +54,46 @@
{% elif _replyToUrl %}
+
+ {% elif post.data.title %}
+
{% else %}
-
- {{ post.data.title or post.data.name or (post.templateContent | striptags | truncate(50)) or "Note" }}
-
-
+
{% endif %}
{% endif %}
diff --git a/theme/_includes/components/widgets/recent-posts-blog.njk b/theme/_includes/components/widgets/recent-posts-blog.njk
index af6e224..b5f5588 100644
--- a/theme/_includes/components/widgets/recent-posts-blog.njk
+++ b/theme/_includes/components/widgets/recent-posts-blog.njk
@@ -15,12 +15,12 @@
{% if _likedUrl %}
-
+
@@ -28,12 +28,12 @@
{% elif _bookmarkedUrl %}
-
+
@@ -41,12 +41,12 @@
{% elif _repostedUrl %}
-
+
@@ -54,24 +54,46 @@
{% elif _replyToUrl %}
+
+ {% elif post.data.title %}
+
{% else %}
-
- {{ post.data.title or post.data.name or (post.templateContent | striptags | truncate(50)) or "Note" }}
-
-
+
{% endif %}
{% endif %}
diff --git a/theme/_includes/components/widgets/recent-posts.njk b/theme/_includes/components/widgets/recent-posts.njk
index 7fef78d..9b1cd47 100644
--- a/theme/_includes/components/widgets/recent-posts.njk
+++ b/theme/_includes/components/widgets/recent-posts.njk
@@ -19,10 +19,10 @@
@@ -34,10 +34,10 @@
@@ -49,10 +49,10 @@
@@ -67,20 +67,43 @@
Reply to {{ replyToUrl | replace("https://", "") | truncate(40) }}
-
+
+
+ {% elif post.data.title %}
+ {# Article #}
+
{% else %}
- {# Article / Note / other #}
-
- {{ post.data.title or post.data.name or (post.templateContent | striptags | truncate(50)) or "Note" }}
-
-
- {{ (post.data.published or post.date) | dateDisplay }}
-
+ {# Note #}
+
{% endif %}
{% endfor %}