Compare commits
No commits in common. "851166b5d648aabdc6f05b361d457cbada953d3a" and "0b0eb7a93415bb6ac3d82048cfda30450d6eb2b5" have entirely different histories.
851166b5d6
...
0b0eb7a934
3 changed files with 4 additions and 6 deletions
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: hugomods/hugo:exts
|
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Pipeline info
|
- name: Pipeline info
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ cleanDestinationDir = true
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
# paginate = 10
|
# paginate = 10
|
||||||
|
|
||||||
[markup.goldmark.renderer]
|
|
||||||
unsafe = true
|
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = ['html']
|
home = ['html']
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
{{- if in $validFormats $format }}
|
{{- if in $validFormats $format }}
|
||||||
{{- if gt $page.Paginator.TotalPages 1 }}
|
{{- if gt $page.Paginator.TotalPages 1 }}
|
||||||
<ul class="pagination pagination-{{ $format }}">
|
<ul class="pagination pagination-{{ $format }}">
|
||||||
{{- partial (printf "inline/pagination/%s.html" $format) $page }}
|
{{- partial (printf "partials/inline/pagination/%s" $format) $page }}
|
||||||
</ul>
|
</ul>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
{{/* Format: default
|
{{/* Format: default
|
||||||
{{/* --------------------------------------------------------------------- */}}
|
{{/* --------------------------------------------------------------------- */}}
|
||||||
{{- define "_partials/inline/pagination/default.html" }}
|
{{- define "partials/inline/pagination/default" }}
|
||||||
{{- with .Paginator }}
|
{{- with .Paginator }}
|
||||||
{{- $currentPageNumber := .PageNumber }}
|
{{- $currentPageNumber := .PageNumber }}
|
||||||
|
|
||||||
|
|
@ -100,7 +100,7 @@
|
||||||
|
|
||||||
{{/* Format: terse
|
{{/* Format: terse
|
||||||
{{/* --------------------------------------------------------------------- */}}
|
{{/* --------------------------------------------------------------------- */}}
|
||||||
{{- define "_partials/inline/pagination/terse.html" }}
|
{{- define "partials/inline/pagination/terse" }}
|
||||||
{{- with .Paginator }}
|
{{- with .Paginator }}
|
||||||
{{- $currentPageNumber := .PageNumber }}
|
{{- $currentPageNumber := .PageNumber }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue