Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.168.0
HUGO_VERSION: 0.170.1
steps:
- name: Install Hugo CLI
run: |
wget -O "${{ runner.temp }}/hugo.deb" "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb" \
wget -O "${{ runner.temp }}/hugo.deb" "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb" \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.168.0
HUGO_VERSION: 0.170.1
steps:
- name: Install Hugo CLI
run: |
wget -O "${{ runner.temp }}/hugo.deb" "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb" \
wget -O "${{ runner.temp }}/hugo.deb" "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb" \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
Expand Down
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module:
- source: "node_modules/@material-symbols/svg-700/rounded"
target: "static/icons/material-symbols-rounded"
hugoVersion:
min: "0.168.0"
min: "0.170.1"

markup:
tableOfContents:
Expand Down
2 changes: 1 addition & 1 deletion layouts/_partials/booking/booking.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ <h4 id="{{ .id }}" class="o-expander__title-text">
{{- $content = partial "transformations/resolve-images" (dict "content" $content "page" .page) -}}
{{- $content | safeHTML -}}
</div>
{{ partial "booking/links" (dict "page" .page "id" .id "metaFields" $metaFields) }}
{{ partial "./links" (dict "page" .page "id" .id "metaFields" $metaFields) }}
</div>
2 changes: 1 addition & 1 deletion layouts/_partials/booking/links.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
)
-}}
{{- end -}}
{{- partial "booking/email-links" (dict "params" .page.Params "metaFields" .metaFields) -}}
{{- partial "./email-links" (dict "params" .page.Params "metaFields" .metaFields) -}}
{{- partial "anchorlink-button" .id -}}
</div>
4 changes: 2 additions & 2 deletions layouts/_partials/border-points/rows.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- $country := .country -}}
{{- $page := .page -}}
{{- $borders := partialCached "border-points/data" . site.Language.Lang | default dict -}}
{{- $borders := partialCached "./data" . site.Language.Lang | default dict -}}

{{- $order := $page.Params.border_points | default slice -}}

Expand All @@ -21,7 +21,7 @@
{{- $points := $border.points | default slice -}}
{{- with $points -}}
{{- $rows = $rows | append (dict
"label" (partial "border-points/side-label" (dict "side" (index $border $other) "page" $page))
"label" (partial "./side-label" (dict "side" (index $border $other) "page" $page))
"points" .)
-}}
{{- end -}}
Expand Down
4 changes: 2 additions & 2 deletions layouts/_partials/border-points/side-label.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

{{- $countryLabel := "" -}}
{{- with $side.country -}}
{{- $countryLabel = partial "border-points/resolve-ref" (dict "prefix" "country" "id" .id "label" .label "page" $page) -}}
{{- $countryLabel = partial "./resolve-ref" (dict "prefix" "country" "id" .id "label" .label "page" $page) -}}
{{- end -}}

{{- $operators := slice -}}
{{- range $side.operators -}}
{{- $operators = $operators | append (partial "border-points/resolve-ref" (dict "prefix" "operator" "id" .id "label" .label "page" $page)) -}}
{{- $operators = $operators | append (partial "./resolve-ref" (dict "prefix" "operator" "id" .id "label" .label "page" $page)) -}}
{{- end -}}
{{- $operatorLabel := delimit $operators ", " -}}

Expand Down
2 changes: 1 addition & 1 deletion layouts/_partials/border-points/table.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- $country := .country -}}
{{- $page := .page -}}
{{- $rows := partial "border-points/rows" . -}}
{{- $rows := partial "./rows" . -}}

{{- with $rows -}}
<table>
Expand Down
4 changes: 2 additions & 2 deletions layouts/_partials/fip-validity/dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@


<div class="o-fip-validity-dialog__controls">
{{ partial "fip-validity/issuer-dropdown" (dict
{{ partial "./issuer-dropdown" (dict
"id" (printf "fip-validity-dialog-%s" $type)
"issuers" $issuerPages
)
Expand All @@ -47,7 +47,7 @@
<div class="o-fip-validity__card-title">
{{ T (printf "fipValidity.%s" .) }}
</div>
{{ partial "fip-validity/value" (dict "entry" $entry "field" . "lang" $lang "page" $.page "groups" $groups) }}
{{ partial "./value" (dict "entry" $entry "field" . "lang" $lang "page" $.page "groups" $groups) }}
</div>
{{- end -}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/_partials/fip-validity/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
dict
"ID" $dialogId
"Title" (printf "%s %s" (T "fipValidity.validity") (T $typeI18n))
"Content" (partial "fip-validity/dialog" (dict "type" .type "page" .page))
"Content" (partial "./dialog" (dict "type" .type "page" .page))
)
-}}
{{- end -}}
10 changes: 5 additions & 5 deletions layouts/_partials/fip-validity/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
{{ partial "link" (dict "Destination" (print "/operator/" $targetSlug) "Text" $targetPage.Title "Page" $page) }}
</td>
<td>
{{ partial "fip-validity/value" (dict "entry" $entry "field" "active" "lang" $lang "page" $page "groups" $groups) }}
{{ partial "./value" (dict "entry" $entry "field" "active" "lang" $lang "page" $page "groups" $groups) }}
</td>
<td>
{{ partial "fip-validity/value" (dict "entry" $entry "field" "active-relatives" "lang" $lang "page" $page "groups" $groups) }}
{{ partial "./value" (dict "entry" $entry "field" "active-relatives" "lang" $lang "page" $page "groups" $groups) }}
</td>
<td>
{{ partial "fip-validity/value" (dict "entry" $entry "field" "retired" "lang" $lang "page" $page "groups" $groups) }}
{{ partial "./value" (dict "entry" $entry "field" "retired" "lang" $lang "page" $page "groups" $groups) }}
</td>
<td>
{{ partial "fip-validity/value" (dict "entry" $entry "field" "retired-relatives" "lang" $lang "page" $page "groups" $groups) }}
{{ partial "./value" (dict "entry" $entry "field" "retired-relatives" "lang" $lang "page" $page "groups" $groups) }}
</td>
<td>
{{ partial "fip-validity/value" (dict "entry" $entry "field" "widows" "lang" $lang "page" $page "groups" $groups) }}
{{ partial "./value" (dict "entry" $entry "field" "widows" "lang" $lang "page" $page "groups" $groups) }}
</td>
</tr>
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/_partials/helper/ogImage.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $contentImageData := partial "helper/contentImage" . -}}
{{- $contentImageData := partial "./contentImage" . -}}
{{- $contentImage := $contentImageData.firstImage -}}
{{- if reflect.IsImageResourceProcessable $contentImage -}}
{{- $image := $contentImage.Fill "1200x630 center jpg q85" -}}
Expand Down
Loading