Compare commits

...

3 commits

Author SHA1 Message Date
Filip Vukelic
9b7e44a06e
feat: support latest Hugo version - remove remains of deprecated Site.GoogleAnalytics (#3139) 2024-09-07 23:44:59 +01:00
Alexandre Duverger
927fddeb50
i18n: fix typo in french translation (#3140) 2024-09-07 23:43:26 +01:00
George Cushen
edacf1f01f fix: citation view not wrapping in case of many links
Fix #3133
2024-09-07 23:35:07 +01:00
5 changed files with 6 additions and 6 deletions

View file

@ -262,4 +262,4 @@
# Published with # Published with
- id: published_with - id: published_with
translation: Publié avec {hugoblox} — le générateur {repo_link}libre{/repo_link} de site web gratuit permetant aux créateurs de s'épanouir. translation: Publié avec {hugoblox} — le générateur {repo_link}libre{/repo_link} de site web gratuit permettant aux créateurs de s'épanouir.

View file

@ -1,4 +1,4 @@
{{ $ga := site.Params.marketing.analytics.google_analytics | default site.GoogleAnalytics | default "" }} {{ $ga := site.Params.marketing.analytics.google_analytics | default "" }}
{{ $show_feedback := .Params.feedback | default true }} {{ $show_feedback := .Params.feedback | default true }}
{{ if hugo.IsProduction | and $ga | and $show_feedback }} {{ if hugo.IsProduction | and $ga | and $show_feedback }}

View file

@ -262,4 +262,4 @@
# Published with # Published with
- id: published_with - id: published_with
translation: Publié avec {hugoblox} — le générateur {repo_link}libre{/repo_link} de site web gratuit permetant aux créateurs de s'épanouir. translation: Publié avec {hugoblox} — le générateur {repo_link}libre{/repo_link} de site web gratuit permettant aux créateurs de s'épanouir.

View file

@ -1,5 +1,5 @@
{{/* TODO: port JS & response text from Bootstrap module. Re-integrate with GA plus Fathom/Plausible */}} {{/* TODO: port JS & response text from Bootstrap module. Re-integrate with GA plus Fathom/Plausible */}}
{{/* $ga := site.Params.marketing.analytics.google_analytics | default site.GoogleAnalytics | default "" */}} {{/* $ga := site.Params.marketing.analytics.google_analytics | default "" */}}
{{ $show_feedback := .Params.feedback | default true }} {{ $show_feedback := .Params.feedback | default true }}
{{ if hugo.IsProduction | and $show_feedback }}{{/* | and $ga */}} {{ if hugo.IsProduction | and $show_feedback }}{{/* | and $ga */}}

View file

@ -19,7 +19,7 @@
{{ end }} {{ end }}
{{ if $has_attachments }} {{ if $has_attachments }}
<div class="flex space-x-3"> <div class="flex flex-wrap space-x-3">
{{ partial "page_links" (dict "page" $item "is_list" 1) }} {{ partial "page_links" (dict "page" $item "is_list" 1) }}
</div> </div>
{{ end }} {{ end }}
@ -39,7 +39,7 @@
{{- $item.Date.Format "2006" -}}. {{- $item.Date.Format "2006" -}}.
{{ if $has_attachments }} {{ if $has_attachments }}
<div class="flex space-x-3"> <div class="flex flex-wrap space-x-3">
{{ partial "page_links" (dict "page" $item "is_list" 1) }} {{ partial "page_links" (dict "page" $item "is_list" 1) }}
</div> </div>
{{ end }} {{ end }}