-
A la fin :
05:40:45PM INF generate_hugo_config.go:120 > Updating config file: /tmp/generated-2025-09-22-14-59-32/data/library.yaml 05:40:45PM INF media_cache_setup.go:81 > media will be fetched url=https://www.cyber-neurones.org/favicon.ico 05:40:46PM DBG media_downloader.go:16 > Writing favicon 05:40:46PM DBG media_downloader.go:26 > Downloading from URL destFilePath=/tmp/generated-2025-09-22-14-59-32/static/favicon.ico 05:40:46PM INF hugo_gen_setup.go:168 > Nginx config generated nginxConfigPath=/tmp/generated-2025-09-22-14-59-32/nginx.conf 05:40:46PM DBG hugo_gen_setup.go:174 > Hugo site has been generated cmd="cd /tmp/generated-2025-09-22-14-59-32 && hugo serve" -
Je teste un autre thème car j’ai des erreurs :
git clone --recurse-submodules https://gitlab.com/avron/gruvhugo themes/gruvhugo -
J’ai une erreur :
Error: error building site: TOCSS: failed to transform "/sass/main.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS with transpiler set to 'libsass'.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more informationJe fais donc :
# curl https://webi.sh/sass | sh # source ~/.config/envman/PATH.env -
Impossible de supprimer l’erreur, j’essaye donc un autre theme :
# git clone --recurse-submodules https://github.com/nunocoracao/blowfish themes/blowfishOups je dois remettre à la place :
# mv content/post/ content/posts # mv hugo.toml hugo.toml.old # cp themes/blowfish/config.toml . # mkdir config # mkdir config/_default # cp themes/blowfish/*.toml config/_default/. -
Pas de galerie … misère.

-
Le code est présent :

-
Je vais refaire un test :
# hugo new site move.cyber-neurones.org # cd move.cyber-neurones.org # git submodule add --depth=1 https://github.com/MeiK2333/github-style themes/github-style # echo "theme = 'github-style'" >> hugo.tomlµ # hugo server --bind 192.168.1.118 --baseURL http://192.168.1.118 -t github-styleOn va dire que cela fonctionne à 50% :


-
C’est mieux avec :
# hugo server --bind 192.168.1.118 --baseURL http://192.168.1.118 -t github-style --disableFastRender
-
Deplacement après compilation :
# cp -r public/ /var/www/. # chown -R www-data:www-data /var/www/ -
Aie … pas la bonne commande :
# hugo server --bind 0.0.0.0 --baseURL http://192.168.1.118:80 -t github-style --disableFastRender --appendPort=false -D # cp -r public/ /var/www/. # chown -R www-data:www-data /var/www/Il manque livereload.js
Live reload broken
Continuing the discussion from Live reload not working again, how can I fix?: Unfortunately I have the same problem and live reloading on my machine suddenly has stopped from working. I can’t figure out why. I’m on Hu…
HUGO (discourse.gohugo.io)
-
Problème fixé avec la nouvelle commande de build :
# hugo server --bind 0.0.0.0 --baseURL http://192.168.1.118:80 -t github-style --disableFastRender --appendPort=false -D --disableFastRender --disableLiveReload -
J’ai testé d’autres plugins :
Sachant que j’avais déjà :
- https://github.com/MeiK2333/github-style
- https://github.com/hbstack/theme-cards (KO)
- https://github.com/mfg92/hugo-shortcode-gallery
- https://github.com/mfg92/hugo-shortcode-timeline
Dans themes j’ai :
# ls -A themes/ github-style hugo-shortcode-gallery hugo-shortcode-timeline theme-cardsPour la compilation :
# hugo server --bind 0.0.0.0 --baseURL http://192.168.1.118:80 -t github-style,hugo-shortcode-gallery --disableFastRender --appendPort=false -D --disableFastRender --disableLiveReload -
Je viens de pousser dans un projet privé sur Forgeo :
-
On progresse :

-
Quand je vois le code fait ma moi à la main et le code fait par l’outil il y a un monde :
++ author = "Fred'ô" date = "2025-09-21" title = "Trail de Barcel à Castellane" url = "/2025/09/trail-de-barcel-a-castellane/" tags = ["Trail", "Competition", "Castellane"] +++ Le site de l'organisation : - https://www.trailsdeprovence.fr/trail/rocn-trail-verdon/ - https://rocntrailverdon.fr/ Trail de 22 km pour 1200 D+⛰️ <!--more--> Le parcours : {{< embed "https://aventures.cyber-neurones.org/trail/view/@cyberneurones@aventures.cyber-neurones.org/5bc4cfeb64c9332" "900" "600">}} Quelques photos : {{< gallery match="images/*" sortOrder="desc" rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" showExif=true previewType="blur" embedPreview=true loadJQuery=true >}}Et l’autre :
--- _edit_last: "1" _thumbnail_id: "25492" activitypub_status: federated author: admin categories: - trail classic-editor-remember: classic-editor cover: alt: "20250921_113215" image: /wp-content/uploads/2025/09/20250921-113215-scaled.jpg date: "2025-09-21T15:42:42+00:00" guid: https://www.cyber-neurones.org/?p=25487 parent_post_id: null post_id: "25487" title: Trail de Barcel à Castellane url: /2025/09/trail-de-barcel-a-castellane/ yarpp_meta: yarpp_display_for_this_post: 1 --- Le parcours : \[sgpx gpx="/wp-content/uploads/gpx/castellane-2025.gpx"\] Quelques photos : {{< gallery cols="1" >}} {{< figure src="/wp-content/uploads/2025/09/20250921-090249-scaled.jpg" title="20250921\_090249" alt="20250921\_090249" >}} {{< figure src="/wp-content/uploads/2025/09/20250921-102021-scaled.jpg" title="20250921\_102021" alt="20250921\_102021" >}} {{< figure src="/wp-content/uploads/2025/09/20250921-102515-scaled.jpg" title="20250921\_102515" alt="20250921\_102515" >}} {{< figure src="/wp-content/uploads/2025/09/20250921-112524-scaled.jpg" title="20250921\_112524" alt="20250921\_112524" >}} {{< figure src="/wp-content/uploads/2025/09/20250921-113215-scaled.jpg" title="20250921\_113215" alt="20250921\_113215" >}} {{< figure src="/wp-content/uploads/2025/09/20250921-122833-scaled.jpg" title="20250921\_122833" alt="20250921\_122833" >}} {{< /gallery >}} -
Je vais faire un test avec un nom de domaine :

-
Ajout à apache2 :
# certbot certonly -d move.cyber-neurones.org Saving debug log to /var/log/letsencrypt/letsencrypt.log How would you like to authenticate with the ACME CA? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: Apache Web Server plugin (apache) 2: Spin up a temporary webserver (standalone) 3: Place files in webroot directory (webroot) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate number [1-3] then [enter] (press 'c' to cancel): 1 Plugins selected: Authenticator apache, Installer None Requesting a certificate for move.cyber-neurones.org Performing the following challenges: http-01 challenge for move.cyber-neurones.org Waiting for verification... Cleaning up challenges IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/move.cyber-neurones.org/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/move.cyber-neurones.org/privkey.pem Your certificate will expire on 2025-12-22. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le -
Pas encore dans les DNS : https://move.cyber-neurones.org
# ping move.cyber-neurones.org PING move.cyber-neurones.org (195.144.11.124) 56(84) bytes of data. 64 bytes from 195-144-11-124.phpnet.fr (195.144.11.124): icmp_seq=1 ttl=51 time=16.9 ms 64 bytes from 195-144-11-124.phpnet.fr (195.144.11.124): icmp_seq=2 ttl=51 time=17.5 ms -
J’ai pas dans le DNS mais certains oui …
# tail -f /var/log/apache2/access.move-ssl.log 88.99.233.240 - - [23/Sep/2025:21:56:43 +0200] "GET / HTTP/1.1" 200 13533 "-" "Mastodon/4.4.4 (http.rb/5.3.1; +https://pouet.chapril.org/) Bot" 188.245.170.3 - - [23/Sep/2025:21:57:04 +0200] "GET / HTTP/1.1" 200 13533 "-" "Mastodon/4.5.0-nightly.2025-09-23 (http.rb/5.3.1; +https://mastodon.social/) Bot" -
J’avais un problème, pas la bonne baseURL :
# hugo server --bind 0.0.0.0 --baseURL https://move.cyber-neurones.org -t github-style,hugo-shortcode-gallery --disableFastRender --appendPort=false -D --disableFastRender --disableLiveReload -
F farias a déplacé ce sujet de General Discussion sur
Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.
Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.
Grâce à votre participation, ce message peut devenir encore meilleur 💗
S'inscrire Se connecter