Skip to content

Commit 38e445d

Browse files
committed
remove rawinline from template bc it is all in a rawblock now
1 parent 9828b2e commit 38e445d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/resources/projects/website/listing/item-default.ejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ print(`<div class="metadata-value listing-${field}">${listing.utilities.outputLi
6565
<% } %>
6666
</div>
6767
<div class="metadata"><a href="<%- item.path %>" class="no-external">
68-
<% if (fields.includes('date') && item.date) { %><div class="listing-date">`<%= item.date %>`{=html}</div><% } %>
68+
<% if (fields.includes('date') && item.date) { %><div class="listing-date"><%= item.date %></div><% } %>
6969
<% if (fields.includes('author') && item.author) { %><div class="listing-author"><%= item.author %></div><% } %>
7070
<% if (fields.includes('reading-time') && item['reading-time']) { %> <div class="listing-reading-time"><%= item['reading-time'] %></div> <% } %>
7171
<% for (const field of otherFields) { %>

src/resources/projects/website/listing/item-grid.ejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const flexJustify = showField('author') && showField('date') ? "justify" : showF
7979
<% if (showField('author') || showField('date')) { %>
8080
<div class="card-attribution card-text-small <%-flexJustify%>">
8181
<% if (showField('author')) { %><div class="listing-author"><%= item.author %></div><% } %>
82-
<% if (showField('date')) { %><div class="listing-date">`<%= item.date %>`{=html}</div><% } %>
82+
<% if (showField('date')) { %><div class="listing-date"><%= item.date %></div><% } %>
8383
</div>
8484
<% } %>
8585

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:::{.list .quarto-listing-default}
2-
```{=html}
2+
``````{=html}
33
<% for (const item of items) { %>
44
<% partial('item-default.ejs.md', {listing, item, utils }) %>
55
<% } %>
6-
```
6+
``````
77
:::

0 commit comments

Comments
 (0)