Theme based on Hugo doc theme

Are there any plan/work to separate the doc theme? Most (all?) the themes that are available seems to be blog themes. I think there is a large “market” for non-blog like sites. Hugo doc theme covers many uses cases where you’ll need hierarchical layout. Two other that I can think of would be single page and magazine.

1 Like

I agree with you. The next version of hugo will be aimed largely at non blog use with a lot of “power user” features. Of course there will be plenty of good features for blog users as well.

The current Hugo doc theme isn’t really generalized yet as in it has a lot of features specific to this site. It wouldn’t be hard to do, but would take some time.

1 Like

I’m translating the Hugo doc theme landing page to … hugo, when I finish it il will give you may repo.
Like than you could enjoy of it and in the same time comment my implementation :wink:

Do we have any update on that? I also would like to use the main Hugo theme (currently only docu) for my personal blog.

Someone did it, but I don’t know where it is and am traveling without good Internet access. If you search github or twitter you can probably find it.
Best,Steve

Steve Francia
http://stevefrancia.comhttp://spf13.comhttp://twitter.com/spf13

I searched a bit in Twitter, and I found this: https://github.com/bguiz/techdocshugotheme
Is the one that you were referring to?

I am getting:

(myblog)drpaneas@macbook:~/Virtualenvs/myblog$ hugo server --theme=techdocshugotheme --buildDrafts

ERROR: 2015/02/26 Error while rendering homepage: template: theme/index.html:6:90: executing "theme/index.html" at <safeHtml>: wrong number of args for safeHtml: want 1 got 0

Maybe this:

Thanks @bjornerik. That’s the one I was thinking of. We need to put it in the official repo.

It is in the official repo.

As @garywu mentioned most of the Hugo themes are blog themes.
hugo-base-theme sugested by @bep is the landing page theme for gohugo.io

I am also interested in theme used in Hugo docs having a nested menu for my personal website. Are there any updates on this?

See also https://github.com/spf13/hugo/issues/1658

1 Like

Thanks much @anthonyfok !

Tried Camunda Docs site, and it is working. However it needs a patched hugo binary…

Still the hugo doc looks better. :slight_smile: I tried to run it with “hugo” directly in the doc folder; has go compiling error with goroutines… Was able to make it work as static files to put into gh-pages

  • remove some subfolder in content; then the compile passed
  • change some prefix in the nav prev/next
  • change the base url; and add the {{ .Site.BaseURL }} to all .css/.js/ src img url