Skip to content

Commit a4277a0

Browse files
committed
fix: replace template syntax with partial for pagination
deps: require Hugo v0.146.5 or later Closes #1136
1 parent acb8d55 commit a4277a0

File tree

7 files changed

+8
-10
lines changed

7 files changed

+8
-10
lines changed

exampleSite/content/docs/shortcodes/online-ide/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ A detailed description of online IDE shortcodes, such as JSFiddle, CodePen, JSRu
5050

5151
{{< jsrun "QG6Kp" >}}
5252

53-
## Gist
53+
## Gist (Deprecated)
5454

5555
```markdown
5656
{{</* gist razonyang f82a9399c2f682df36432f0ef828c451 */>}}
5757
```
58-
59-
{{< gist razonyang f82a9399c2f682df36432f0ef828c451 >}}

config.toml renamed to hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[module]
22
[module.hugoVersion]
33
extended = true
4-
min = "0.134.0"
4+
min = "0.146.5"
55

66
[params]
77
sass_transpiler = "libsass" # dartsass is recommended, since libsass is deprecated.

layouts/_default/terms.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h2 class="taxonomy-title card-title fs-4 my-2 text-surface">
5050
</div>
5151
{{- end -}}
5252
</div>
53-
{{- partial "pagination" . -}}
53+
{{- partial "wrap-pagination" . -}}
5454
</div>
5555
</div>
5656
{{- partial "sidebar" . -}}

layouts/partials/docs/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
{{- end -}}
1818
</div>
1919
{{- partial "hooks/list-end" . -}}
20-
{{- partial "pagination" . -}}
20+
{{- partial "wrap-pagination" . -}}
2121
</div>

layouts/partials/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
{{- end }}
1212
</div>
1313
{{- partial "hooks/list-end" . }}
14-
{{- partial "pagination" . }}
14+
{{- partial "wrap-pagination" . }}
1515
</div>

layouts/partials/pagination.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

layouts/partials/wrap-pagination.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="row table-responsive mb-3">
2+
{{- partial "pagination" . -}}
3+
</div>

0 commit comments

Comments
 (0)