Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mobilelifeful opened this issue Apr 29, 2023 · 6 comments
Closed
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mobilelifeful
Copy link

No description provided.

@razonyang
Copy link
Member

razonyang commented Apr 29, 2023

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.

@razonyang razonyang added good first issue Good for newcomers question Further information is requested labels Apr 29, 2023
@mobilelifeful
Copy link
Author

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

@razonyang
Copy link
Member

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

@razonyang razonyang reopened this Apr 29, 2023
@razonyang razonyang added enhancement New feature or request and removed question Further information is requested labels Apr 29, 2023
@johnsmithodom
Copy link

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

@razonyang
Copy link
Member

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

@razonyang
Copy link
Member

razonyang commented Jun 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants