Tags and search do not work

Hi i have two problems, I have some articles with some tags not long ago It was working both the search and the list of tags but from one moment to another (do not touch anything related to this) stopped working and already tried everything but there is no solution the link to my repo is GitHub - Loaxert/loaxert.github.io: Mi web personal if anyone can help me thanks

See this FAQ and the three after it.

mv content/index.md content/_index.md

Also:

  • Remove the following front matter from all files: layout, type
  • Add some front matter to content/tags/_index.md (the file shouldn’t be empty)
  • Use either hugo.toml or config/_default/hugo.toml (not both)
  • Fix your content structure

Current:

content/
β”œβ”€β”€ Challenges/
β”‚   β”œβ”€β”€ OnlyHacks/
β”‚   β”‚   └── OnlyHacks.md
β”‚   └── _index.md
β”œβ”€β”€ HTB/
β”‚   └── index.md
β”œβ”€β”€ Maquinas/
β”‚   β”œβ”€β”€ Dog/
β”‚   β”‚   └── dog.md
β”‚   β”œβ”€β”€ Topology/
β”‚   β”‚   └── topology.md
β”‚   └── _index.md
β”œβ”€β”€ tags/
β”‚   └── _index.md 
└── index.md

Expected:

content/
β”œβ”€β”€ challenges/
β”‚   β”œβ”€β”€ _index.md
β”‚   └── onlyhacks.md
β”œβ”€β”€ htb/
β”‚   └── _index.md
β”œβ”€β”€ maquinas/
β”‚   β”œβ”€β”€ _index.md
β”‚   β”œβ”€β”€ dog.md
β”‚   └── topology.md
β”œβ”€β”€ tags/
β”‚   └── _index.md
└── _index.md

A directory with an _index.md is a branch bundle (a.k.a. β€œsection”) and can have descendants.
A directory with an index.md file is a leaf bundle and has no descendants.

thanks man that works

1 Like

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