Skip to content

Commit c94002c

Browse files
authored
chore: Remove extra newlines in EJS templates
1 parent f722a3b commit c94002c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,10 @@ print(`<div class="metadata-value listing-${field}">${listing.utilities.outputLi
9696
```
9797

9898
<% if (fields.includes('date') && item.date) { %>
99-
10099
<div class="listing-date"><%= item.date %></div>
101100
<% } %>
102101

103102
<% if (fields.includes('author') && item.author) { %>
104-
105103
<div class="listing-author"><%= item.author %></div>
106104
<% } %>
107105

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,10 @@ return !["title", "image", "image-alt", "date", "author", "subtitle", "descripti
6868
::: {.card-body .post-contents}
6969

7070
<% if (showField('title')) { %>
71-
7271
<h5 class="no-anchor card-title listing-title"><%= item.title %></h5>
7372
<% } %>
7473

7574
<% if (showField('subtitle')) { %>
76-
7775
<div class="card-subtitle listing-subtitle"><%= item.subtitle %></div>
7876
<% } %>
7977

@@ -122,12 +120,10 @@ const flexJustify = showField('author') && showField('date') ? "justify" : showF
122120
```
123121

124122
<% if (showField('author')) { %>
125-
126123
<div class="listing-author"><%= item.author %></div>
127124
<% } %>
128125

129126
<% if (showField('date')) { %>
130-
131127
<div class="listing-date"><%= item.date %></div>
132128
<% } %>
133129

0 commit comments

Comments
 (0)