hbstack / hb

The core module of HB framework, which automatically load and compile module's TypeScript and SCSS.
https://hbstack.dev/
MIT License
18 stars 3 forks source link

Feature request, can we have password protected pages? Thank you. #17

Closed mobilelifeful closed 1 year ago

razonyang commented 1 year ago

It's out of scope of theme/static site, we are unable to protect the pages, you may need to find the related docs of your platform to protect your pages, such as Netlify and Cloudflare pages.

Some info may help.

mobilelifeful commented 1 year ago

was thinking we cloud have https://github.com/Li4n0/hugo_encryptor in hbstack. Thank you anyway.

razonyang commented 1 year ago

Hmm, you're requesting a partial protection, sounds interesting, reopening it for tracking this request.

johnsmithodom commented 1 year ago

hi @razonyang , also like the idea, can you please share any update on this feature ? Thank you in advance.

razonyang commented 1 year ago

@johnsmithodom Haven't started yet, need to confirm whether if the license of Hugo encrypt is compatible with current theme (MIT).

razonyang commented 1 year ago

Done, it's a little bit of complexity, see https://hugomods.com/en/docs/content/encrypt/ for details.

For HB theme users:

  1. Import the module
  2. Using the shortcode
  3. Install the CLI tool
  4. Execute the CLI tool after building the site.