Referencing images in static directory when site is served from subdirectory

It didn’t solve mine.
the prefix /Images/ (Images directory being inside static) used to work on all pages, I had to recreate the directory from scratch, edit my conf, but migrate everything else including the content.
And now only [whatever](Images/....) works, and ONLY on the first (_index.md) page, none others.

This ßðîþ is bugged, I swear to god the behavior is not coherent at all…

Why the hell isn’t there a predictable, official way to address something in file tree, especially in static/ ? Why do they concentrate on whatever fancy complicate feature I can’t understand instead of FIXING essential things ?

pleasure help me ! thanks.

config.toml
baseURL = 'https://evanescente-ondine.gitlab.io/finalworldview/'

languageCode = 'en-us'
title = 'Final Worldview'
theme = "hugo-book"

[params]
BookTheme = 'dark'
    BookSearch = true
    BookComments = true
    BookPortableLinks = true
    BookServiceWorker = true
    BookTranslatedOnly = true  
disablePathToLower = false
enableGitInfo = true

# Needed for mermaid/katex shortcodes
[markup]
[markup.goldmark.renderer]
  unsafe = true

[markup.tableOfContents]
  startLevel = 1

# Multi-lingual mode config
# There are different options to translate files
# See https://gohugo.io/content-management/multilingual/#translation-by-filename
# And https://gohugo.io/content-management/multilingual/#translation-by-content-directory
[languages]
[languages.en]
  languageName = 'English'
  contentDir = 'content'
  weight = 1
[languages.fr]
  languageName = 'Français'
  contentDir = 'content_fr'
  weight = 1

The hugo-book theme uses a markdown render hook for images when site.Params.BookPortableLinks = true. This hook does not function as expected when the site is served from a subdirectory. For example:

baseURL = 'https://example.org/foo/'

Please raise an issue with the author of the theme:
https://github.com/alex-shpak/hugo-book/issues

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.