diff --git a/src/resources/projects/website/listing/item-default.ejs.md b/src/resources/projects/website/listing/item-default.ejs.md index 278b153b32..edaebc664f 100644 --- a/src/resources/projects/website/listing/item-default.ejs.md +++ b/src/resources/projects/website/listing/item-default.ejs.md @@ -65,7 +65,7 @@ print(`
${listing.utilities.outputLi <% } %>
-<% if (fields.includes('date') && item.date) { %>
`<%= item.date %>`{=html}
<% } %> +<% if (fields.includes('date') && item.date) { %>
<%= item.date %>
<% } %> <% if (fields.includes('author') && item.author) { %>
<%= item.author %>
<% } %> <% if (fields.includes('reading-time') && item['reading-time']) { %>
<%= item['reading-time'] %>
<% } %> <% for (const field of otherFields) { %> diff --git a/src/resources/projects/website/listing/item-grid.ejs.md b/src/resources/projects/website/listing/item-grid.ejs.md index 860e77ad6a..a584349734 100644 --- a/src/resources/projects/website/listing/item-grid.ejs.md +++ b/src/resources/projects/website/listing/item-grid.ejs.md @@ -79,7 +79,7 @@ const flexJustify = showField('author') && showField('date') ? "justify" : showF <% if (showField('author') || showField('date')) { %>
<% if (showField('author')) { %>
<%= item.author %>
<% } %> -<% if (showField('date')) { %>
`<%= item.date %>`{=html}
<% } %> +<% if (showField('date')) { %>
<%= item.date %>
<% } %>
<% } %> diff --git a/src/resources/projects/website/listing/listing-default.ejs.md b/src/resources/projects/website/listing/listing-default.ejs.md index 079f301cfa..c95f18c77d 100644 --- a/src/resources/projects/website/listing/listing-default.ejs.md +++ b/src/resources/projects/website/listing/listing-default.ejs.md @@ -1,7 +1,7 @@ :::{.list .quarto-listing-default} -```{=html} +``````{=html} <% for (const item of items) { %> <% partial('item-default.ejs.md', {listing, item, utils }) %> <% } %> -``` +`````` :::