<%= item.title %>
<% } %> -<% if (showField('subtitle')) { %><%= item.subtitle %>
<% } %>
-<% if (showField('reading-time')) { %><%= item['reading-time'] %>
<% } %>
+::: {.card-body .post-contents}
+
+<% if (showField('title')) { %>
+<%= item.title %>
+<% } %> + +<% if (showField('subtitle')) { %> +<%= item.subtitle %>
+<% } %>
+
+<% if (showField('reading-time')) { %>
+
+```{=html}
+<%= item['reading-time'] %>
+```
+
+<% } %>
<% if (fields.includes('categories') && item.categories) { %>
+```{=html}
- <% for (const category of item.categories) { %>
-
+```
<% } %>
+
<% if (showField('description')) { %>
-<%= category %>
- <% } %>
+<% for (const category of item.categories) { %>
+<%= category %>
+<% } %>
<%= item.description %>
+```{=html}
+
+```
+
+<%= item.description %>
+
+```{=html}
+
+```
+
<% } %>
-<%
+
+<%
const flexJustify = showField('author') && showField('date') ? "justify" : showField('author') ? "start" : "end";
%>
+
<% if (showField('author') || showField('date')) { %>
-
-<% if (showField('author')) { %>
-<% for (const field of otherFields) {
-let value = readField(item, field);
+<% for (const field of otherFields) {
+let value = readField(item, field);
%>
+```
<% } %>
-
+:::
<% } %>
<% if (fields.includes('filename') || fields.includes('file-modified')) { %>
- <% } %>
-<% if (showField('date')) { %>
+
+:::
<% } %>
-<%= item.date %>
<% } %>
+
+```{=html}
+
+```
+
+<% if (showField('author')) { %>
+
+```
+
<% } %>
<% if (otherFields.length > 0) { %>
+```{=html}
+<% } %>
+
+<% if (showField('date')) { %>
+<%= item.date %>
+<% } %>
+
+```{=html}
<%= listing.utilities.fieldName(field) %> | -<%= listing.utilities.outputLink(item, field, value) %> | +<%= listing.utilities.outputLink(item, field, value) %> | + +```{=html}