-
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
-
Echec dans le test de timeline :
# hugo server --bind 0.0.0.0 --baseURL https://move.cyber-neurones.org -t github-style,hugo-shortcode-gallery,hugo-shortcode-timeline --disableFastRender --appendPort=false -D --disableFastRender --disableLiveReload WARN Module "hugo-shortcode-gallery" is not compatible with this Hugo version: Min 0.121.2 extended; run "hugo mod graph" for more information. Watching for changes in /root/hugo/move.cyber-neurones.org/{archetypes,assets,content,data,i18n,layouts,static,themes} Watching for config changes in /root/hugo/move.cyber-neurones.org/hugo.toml, /root/hugo/move.cyber-neurones.org/themes/github-style/config.toml, /root/hugo/move.cyber-neurones.org/themes/hugo-shortcode-gallery/config.toml, /root/hugo/move.cyber-neurones.org/themes/hugo-shortcode-timeline/config.toml Start building sites … hugo v0.150.0-3f5473b7d4e7377e807290c3acc89feeef1aaa71 linux/amd64 BuildDate=2025-09-08T13:01:12Z VendorInfo=gohugoio ERROR TOCSS: failed to transform "/shortcode-timeline/timeline-mobile.sass" (text/x-sass). 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 information Built in 197 ms Error: error building site: TOCSS: failed to transform "/shortcode-timeline/timeline.sass" (text/x-sass). 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 information
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