BluestNight Theme - Thoughts?

ERROR 2017/09/20 09:50:30 Two or more menu items have the same name/identifier in Menu “main”

This is almost certainly an issue with your site. BluestNight doesn’t modify the menu, only display it. Is it possible that you have two menu items with the same name and/or identifier? I believe some version of the name is used as an identifier if one isn’t explicitly specified. You can also add pages to the menu from their front matter, so I would check there too.

ERROR 2017/09/20 09:50:31 Failed to render “/home/psa/dev/tutorials/hugo/mathguru/themes/BluestNight/layouts/_default/single.html”: runtime error: invalid memory address or nil pointer dereference

Interesting, I haven’t run into that before. Check for updates just to be sure and file an issue if it still happens.

Extra math js, css don’t seem to be recognized. I added in a partial just before /head . They worked well in another template.

BluestNight doesn’t (currently) have support for including random user partials in the theme. For CSS, you can create a shortcode that places styling information in the page body and for JavaScript you can do that same for a script tag (probably with the defer or async attributes).

Including user partials is a feature that’s been requested previously, and is one that I’m on the fence about.

If you’re saying that you modified a theme file directly, though, I don’t see why it isn’t working.

When “hugo server” loads up 1st time, it take 3 sec (!!) . Shouldn’t it be in millisec ? Any reason for this ?

This is a known issue on my end. I haven’t done any benchmarking yet to see what the problem is, but I’m going to assume that it’s because BluestNight performs some extra calculations when building the site to programmatically lighten and darken colors, make them semi-transparent, and detect if a particular color is “light” or “dark” to help improve the appearance of the generated site. It’s possible Hugo caches these results after the first render, which would be why you see the lag the first time around.

That said, I realized I didn’t have any way of tracking the problem, so I’ve created a new issue regarding the slow compilation times.

Regardless of the errors, the site (local) displays as intended, except the annoying part where the latex math code are displayed without being processed.

Unless Hugo somehow processes the LaTeX code itself, BluestNight does not have any way of parsing/displaying LaTeX. Feel free to create an issue on the issue tracker (linked earlier) for it, though.