cnio-bu / website

Other
0 stars 9 forks source link

When changing the name of the 'work' folder to 'research', the right sidebars have stopped working #28

Open FranSoriano opened 1 year ago

FranSoriano commented 1 year ago

As I describe in the title, when changing the folder name from "work" to "research" to ensure consistency between the folder name and the related website section, the sidebars that appear on the right side of each project page do not display. The folder contains the Markdown files for each of the projects, in which the content to appear on their respective pages is defined, including that of the sidebars. I've tried several solutions but haven't been able to fix it, so for now, I've reverted to the previous folder name. From what I've been able to investigate, the issue involves the respective Markdown files of each project and the index.html file.

tdido commented 1 year ago

For what I've seen with a simple grep -lir work website/, it seems like there's a gazillion references to "work". Many of them from CSS. It's likely that many of those would need modification if you really want to achieve the swap...

FranSoriano commented 1 year ago

Thanks for the answer, Tomás. Yes, I did something similar, and as you said, there are many references to "work". The problem is that this word is used both to name the folder with the files for the "Research" page and to name a tag present in the YAML header of the Markdown files on that page (that tag is the one that specifically refers to the right sidebars). Therefore, this makes it not immediate or obvious to figure out which files to modify in order to achieve the desired change. I, at least, didn't find a way to fix it. I'm not ruling out solving it later, but I wanted to open this issue in case someone had a clearer understanding of how to fix it.