Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ theme = "microcks"
timeZone = "Europe/Paris" # frenchies

# post pagination
pagination.pagerSize = 6 # see https://gohugo.io/extras/pagination/ as paginate is deprecated since Hugo version v0.128.0
[pagination]
pagerSize = 6 # see https://gohugo.io/extras/pagination/ as paginate is deprecated since Hugo version v0.128.0
# post excerpt
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/

Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/figure.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{- $u := urls.Parse (.Get "src") -}}
{{- $src := $u.String -}}
{{- if not $u.IsAbs -}}
{{- with or (.Page.Resources.Get $u.Path) (resources.Get $u.Path) -}}
{{- with or (.Page.Resources.GetMatch $u.Path) (resources.Get $u.Path) -}}
{{- $src = .RelPermalink -}}
{{- end -}}
{{- end -}}
Expand Down