Skip to content

Commit 252c4f5

Browse files
committed
Change test to a suffix test
1 parent 7a83163 commit 252c4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/develop/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1>
3636
{{ end }}
3737

3838
<!-- Responsive CLI Display Block as Table -->
39-
{{ if eq .RelPermalink "/develop/" }}
39+
{{ if strings.HasSuffix .RelPermalink "/develop/" }}
4040
<div class="overflow-x-auto">
4141
<table class="w-full border-collapse md:table">
4242
<thead>

0 commit comments

Comments
 (0)