vantagedesign / ace-documentation

A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.

Home Page:https://docs.vantage-design.com/ace/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No menu bar while deploying using github pages

PRUBHTEJ opened this issue · comments

While I'm deploying the same website on github pages I'm unable to see the menu bar on the left hand side whereas, if I'm running it locally, then everything seems fine.
I'm attaching the screenshots below. Kindly suggest.
Screenshot from 2020-09-15 01-15-30
Screenshot from 2020-09-15 01-15-59

Hi,

I've checked your site and it seems like the site is unable to load core dependencies, such as jquery, popper, bootstrap, etc.

Please check if your JavaScript files are being properly loaded on remote domains. Perhaps the base URL is misconfigured.

Greetings,
Thanks for your help!
It worked, I changed the base URL as well as did hugo -D and it surprisingly ran!!

Greetings,
Actually I am trying to arrange the menu in a customized manner, but I'm unable to do so.
Could you please guide me in some way?

Could you be more specific?

My website is currently live on synbiohub.github.io and I'm trying to customize the menu order i.e. not using the regular alphabetical order which is on the LHS of the page.

You can use the weight option in a page's configuration to list it higher or lower.

Thank for the reply!!
I'll close this issue now.

I've to edit the weights in the config.toml file or in the specific _index.md file?

In each .md file for a page, same place where you set the title of a page. The example site might have it

I tried that by adding "weight:value" term but nothing worked, could you please share the link to the example site?

Also what should be that value that should be assigned to the page of highest priority?

https://raw.githubusercontent.com/vantagedesign/ace-documentation/master/exampleSite/content/getting-started/installation.md

There is an example for the exampleSite pages. See the
weight = 1
at the top.
A higher weight places it lower in the order, I think.

Greetings,
Thanks!!
This issue has been resolved.