Skip to content

Commit 5d1ef85

Browse files
committed
refactor: put if/else inside code block
1 parent 0af2dd7 commit 5d1ef85

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/resources/projects/website/listing/_pagination.ejs.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
<%- listing.utilities.localizedString("listing-page-no-matches") %>
33
:::
44

5-
<% if (listing["page-size"] < items.length) { %>
6-
75
```{=html}
6+
<% if (listing["page-size"] < items.length) { %>
87
<nav id="<%- listing.id %>-pagination" class="listing-pagination" aria-label="Page Navigation">
98
<ul class="pagination"></ul>
109
</nav>
11-
```
12-
1310
<% } %>
11+
```

0 commit comments

Comments
 (0)