Button list for categories with range

Hello,
I am always in the discovery of this wonder that is Hugo.
I usually work on wordpress but Hugo looks really great.

I have been stuck on a problem for two days, usually reading the various posts and help provide me with an answer but nothing.

My problem :
I try to display a button by categories, available on the site, on the index page which is composed of sections.

So the range is done from the partials-> sections-> blog.html

I tried several solutions found on the net and the forum but I can not get it to work. I think it’s a “parent / child” problem.

my different tests:
{{range site.Data.Terms}}
{{range .Site.Data.Terms}}
{{range .Site.Taxonomies}}
{{range site.RegularPages.Taxonomies}}
{{range site.RegularPages.Terms}}

But nothing works. I do not know either what to enter in value of “name”.

PS: this is my first request for help if the shape does not go do not hesitate.

PS2: My architecture.

├── archetypes
│   └── default.md
├── config.toml
├── content
│   ├── articles
│   │   ├── add-ons
│   │   │   ├── installer-add-ons
│   │   │   │   ├── hero.jpg
│   │   │   │   ├── images
│   │   │   │   │   ├── Add-on dans Home Assistant.png
│   │   │   │   │   ├── Log d_un add-on.png
│   │   │   │   │   └── Magasin d_add-on Home Assistant.png
│   │   │   │   └── installer-add-ons.md
│   │   │   └── integrer-balance-xiaomi
│   │   │       ├── hero.jpg
│   │   │       ├── images
│   │   │       │   ├── HACS_Frontend_Swipe_Card.png
│   │   │       │   └── Xiaomi_Scale_Entite_Poid.png
│   │   │       └── installer-balance-xiaomi.md
│   │   ├── _index.md
│   │   └── installations
│   │       ├── docker-rpi
│   │       │   ├── hero.jpg
│   │       │   ├── images
│   │       │   │   ├── hero.jpg
│   │       │   │   ├── Installation_Dependances_Rpi_Supervised_2.png
│   │       │   │   └── Modification_NetworkManager.png
│   │       │   └── index.md
│   │       ├── hassos-rpi
│   │       │   ├── hero.jpg
│   │       │   ├── images
│   │       │   │   └── etcher.png
│   │       │   └── index.md
│   │       ├── _index.md
│   │       ├── premiere-configuration
│   │       │   ├── hero.jpg
│   │       │   ├── images
│   │       │   │   ├── Articles_Installation_Home_Assistant_Raspberry.jpg
│   │       │   │   ├── Interface_Base_Home_Assistant.png
│   │       │   │   └── Profil_Utilisateur.png
│   │       │   └── index.md
│   │       ├── rpi
│   │       │   └── installation-rpi.md
│   │       ├── supervised-vm
│   │       │   └── index.md
│   │       └── supervised-vm-freebox-os
│   │           ├── hero.jpg
│   │           ├── images
│   │           │   ├── Freebox_Delta_Ajouter_VM.png
│   │           │   └── Freebox_Delta_Ouvrir_VM.png
│   │           └── index.md
│   ├── awesome-list-fr.md
│   └── pourquoi-hacf.md
├── data
│   └── sections
│       ├── blog.yaml
│       ├── hacf.yaml
│       ├── home-assistant.yaml
│       ├── news.yaml
│       └── projects.yaml
├── layouts
│   ├── categories
│   │   └── terms.html
│   └── partials
├── README.md
├── resources
│   └── _gen
│       ├── assets
│       │   └── fichier-vide.md
│       └── images
│           └── fichier-vide.md
├── static
│   └── fichier-vide.md
└── themes
    └── theme-hacf
        ├── archetypes
        │   ├── articles.md
        │   ├── default.md
        │   └── news.md
        ├── layouts
        │   ├── 404.html
        │   ├── articles
        │   │   ├── list.html
        │   │   └── single.html
        │   ├── _default
        │   │   ├── baseof.html
        │   │   ├── list.html
        │   │   ├── pourquoi-hacf.html
        │   │   └── single.html
        │   ├── index.html
        │   ├── partials
        │   │   ├── footer.html
        │   │   ├── header.html
        │   │   ├── head.html
        │   │   ├── sections
        │   │   │   ├── blog.html
        │   │   │   ├── hacf.html
        │   │   │   ├── home-assistant.html
        │   │   │   ├── news.html
        │   │   │   └── projects.html
        │   │   └── widgets
        │   └── shortcodes
        ├── LICENSE
        ├── static
        │   ├── css
        │   │   ├── bulma.min.css
        │   │   └── style.css
        │   ├── images
        │   │   ├── auteurs
        │   │   │   └── mcfly.png
        │   │   ├── medias
        │   │   │   ├── icone_awesome.svg
        │   │   │   ├── icone_discord.svg
        │   │   ├── pages
        │   │   │   ├── logo3x.png
        │   │   │   ├── logo.svg
        │   │   │   └── Médias HACF
        │   │   │       ├── awesomelists.svg
        │   │   │       ├── discord.svg
        │   │   │       ├── discourse.svg
        │   │   ├── sections
        │   │   │   └── decouverteHomeAssistantMobile.png
        │   │   └── theme
        │   │       ├── Logo_HACF_714px.png
        │   │       └── logo_hacf.svg
        │   └── js
        │       └── fichier-vide.md
        └── theme.toml


Please show your full shortcode layout and how you call it in your markdown. Inside of a shortcode the dot can mean anything, so .Site will often fail, if the dot is not the full page object.

I tryed

{{ range .Params.categories }}
        <a class="button" href="{{ . | urlize}}">{{ . }}</a>
        {{ end }}

But i think is from single or list of my content ?
or
But i think is with params [taxonomies] in my config.toml.

 <ul>
            {{ $data := .Data }}
            {{ range $key, $value := .Data.Terms.ByCount }}
            <li><a href="{{ .Site.LanguagePrefix }}/{{ $data.Plural }}/{{ $value.Name | urlize }}">{{ $value.Name }}</a> {{
                $value.Count }}</li>
            {{ end }}
        </ul>

Because it’s code find in web and i tryed other code from the web.

<ul>
                {{ range .Params.tags }}
                <li>
                    <a href="/tags/{{ . | urlize }}">{{ . }}</a>
                    - {{ $.Site.Title }}
                </li>
                {{ end }}
            </ul>
<ul>
                {{ range .Site.Params.tags }}
                <li>
                    <a href="/tags/{{ . | urlize }}">{{ . }}</a>
                    - {{ $.Site.Title }}
                </li>
                {{ end }}
            </ul>
<ul>
                {{ range .Site.Data.tags }}
                <li>
                    <a href="/tags/{{ . | urlize }}">{{ . }}</a>
                    - {{ $.Site.Title }}
                </li>
                {{ end }}
            </ul>

Because .Site.Data.*** is for global variable ?.

I dont know if i replyed your answer ?

Thanks for advance