razonyang / hugo-theme-bootstrap-comments

1 stars 0 forks source link

v1/en/docs/getting-started/installation/hugo-module/ #61

Closed utterances-bot closed 2 years ago

utterances-bot commented 2 years ago

Install via Hugo Module - Hugo Theme Bootstrap Docs v1

This article refers to the modern, up-to-date installation method of installing the theme locally as Hugo module. It describes how to install, upgrade the theme, and write new articles. Proxy (Optional)# If you’re located at China mainland without VPN, the Hugo module download may fail. There are two proxies for this: GOPROXY.CN and GOPROXY.IO. 1$ export HUGO_MODULE_PROXY=https://goproxy.cn Please note that, Hugo doesn’t respect the GOPROXY env var, please use HUGO_MODULE_PROXY instead.

https://hbs.razonyang.com/v1/en/docs/getting-started/installation/hugo-module/

digitalblackboard commented 2 years ago

After following these steps and executing 'hugo server', I am getting only a skeleton site without any left access panel. Also, the tabs on top show only 'news' and 'blog'. Certainly doesn't look the same as your demo version here. Did I miss anything?

razonyang commented 2 years ago

After following these steps and executing 'hugo server', I am getting only a skeleton site without any left access panel. Also, the tabs on top show only 'news' and 'blog'. Certainly doesn't look the same as your demo version here. Did I miss anything?

That's expected, the demo site is used for theme docs, I don't think user need to clone the whole docs site. But you can still do that by copying the content, config and other stuff from the exampleSite https://github.com/razonyang/hugo-theme-bootstrap/tree/master/exampleSite

razonyang commented 2 years ago

@digitalblackboard I think the left access panel means docs navigation, the docs-nav is part of docs layout, now the skeleton template contains an example of docs layout. https://hbs-skeleton.netlify.app/docs/

digitalblackboard commented 1 year ago

when I tried to run 'hugo serve' today, I got an error:

Error: Error building site: JSBUILD: failed to transform "service-worker/bundle.ts" (application/typescript): Expected ")" but found "s"

It was still working well when I ran hugo serve one week ago. And I haven't modified any settings since then.

On Tue, Jul 12, 2022 at 11:02 AM Razon Yang @.***> wrote:

@digitalblackboard https://github.com/digitalblackboard I think the left access panel means docs navigation, the docs-nav is part of docs layout, now the skeleton template contains an example of docs layout. https://hbs-skeleton.netlify.app/docs/

— Reply to this email directly, view it on GitHub https://github.com/razonyang/hugo-theme-bootstrap-comments/issues/61#issuecomment-1181260414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWU7MZSRSGLRJ56ESNDVV5TVTTN47ANCNFSM53HPZVMA . You are receiving this because you were mentioned.Message ID: @.***>

razonyang commented 1 year ago

@digitalblackboard

digitalblackboard commented 1 year ago

PS E:\Hugo\Sites\mysite> hugo serve Start building sites … hugo v0.100.2-d25cb2943fd94ecf781412aeff9682d5dc62e284+extended windows/amd64 BuildDate=2022-06-08T10:25:57Z VendorInfo=gohugoio Error: Error building site: JSBUILD: failed to transform "service-worker/bundle.ts" (application/typescript): Expected ")" but found "s" Built in 25516 ms

I am using v1 of your Hugo Bootstrap Theme.

Will running the following commands help? $ hugo mod npm pack $ npm install

Website: https://digitalblackboard.io/

On Fri, Aug 4, 2023 at 9:22 AM Razon Yang @.***> wrote:

@digitalblackboard https://github.com/digitalblackboard

— Reply to this email directly, view it on GitHub https://github.com/razonyang/hugo-theme-bootstrap-comments/issues/61#issuecomment-1664841070, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWU7MZX5VASTE56DZQSWAHTXTRFF5ANCNFSM53HPZVMA . You are receiving this because you were mentioned.Message ID: @.***>

razonyang commented 1 year ago

I am using v1 of your Hugo Bootstrap Theme.

You can use the following commands to check the version:

For Git submodule installation.

cd themes/hugo-theme-bootstrap && git log -n 1 --decorate --pretty=oneline 

For Hugo modules installation.

grep 'require github.com/razonyang/hugo-theme-bootstrap' go.mod

Or just check the go.mod file, I'm not sure if Windows has the grep command.

https://digitalblackboard.io/

The site doesn't helpful, I need the source of site to rebuild and diagnose if possible.

digitalblackboard commented 1 year ago

Thanks Razon.

I managed to resolve the issue. It's due to images with prohibited symbols in my static folder.

I checked the 'service-worker.min.js' file and realised names of images are important. That's how I managed to pinpoint the error.

My email is: @. @.> My website is built upon your theme.

Do you have a personal email address? Can you send me an email?

Thanks.

On Fri, Aug 4, 2023 at 9:43 AM Razon Yang @.***> wrote:

I am using v1 of your Hugo Bootstrap Theme.

You can use the following commands to check the version:

For Git submodule installation.

cd themes/hugo-theme-bootstrap && git log -n 1 --decorate --pretty=oneline

For Hugo modules installation.

grep 'require github.com/razonyang/hugo-theme-bootstrap' go.mod

Or just check the go.mod file, I'm not sure if Windows has the grep command.

https://digitalblackboard.io/

The site doesn't helpful, I need the source of site to rebuild and diagnose if possible.

— Reply to this email directly, view it on GitHub https://github.com/razonyang/hugo-theme-bootstrap-comments/issues/61#issuecomment-1664855127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWU7MZSF4ZIZHNDO46TNVGTXTRHVLANCNFSM53HPZVMA . You are receiving this because you were mentioned.Message ID: @.***>

razonyang commented 1 year ago

Emailed you, you can share your repo via the email address.