hugo-universal-theme icon indicating copy to clipboard operation
hugo-universal-theme copied to clipboard

Demo menu like Blog ?

Open nyue opened this issue 4 years ago • 3 comments

Hi,

I would like to add a blog like menu which I want to use to show information about demos I am showing.

I make a copy of the content/blog directory to content/demo and add entry to config.toml

The top menu bar show my new Demo link but when I click, it does not show the content in the directory but something like this

image

Are there additional configuration I need to make?

Thank you in advanced.

Cheers

nyue avatar May 25 '21 01:05 nyue

hello @nyue do you have the link to your repository?

ryanfox1985 avatar Jul 31 '21 14:07 ryanfox1985

Here you can see an example:

https://github.com/Bioconductor/BioC2021

https://bioc2021.bioconductor.org/

ryanfox1985 avatar Jul 31 '21 14:07 ryanfox1985

Have a look at this commit: https://github.com/Lokdei/hugo-universal-theme/commit/ce625c4d60be0d4916f962782cc7a8dfbb27a052

This allows multiple sections under /content rather then only /blog

Lokdei avatar Dec 17 '21 14:12 Lokdei