Skip to content

Commit cb77272

Browse files
Update adding_password_protection_to_a_hugo_post.md
fixed typo
1 parent 3a91c35 commit cb77272

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/posts/adding_password_protection_to_a_hugo_post.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ In this post, I'll show you the simplest way to protect a Hugo page with a passw
1313
This method lacks complete security. Anyone with basic Hugo knowledge can access your repository and view the passwords. Therefore, it's advisable to avoid sharing sensitive information using this approach. For full password protection, consider using GitHub secrets or variables instead of passwords, though this topic is not covered in this post.
1414
{{< /admonition >}}
1515

16-
This post do not talk about
1716

1817
{{< admonition type=success title="What this post cover" open=false >}}
1918
1. Easy method to assign a password to any Hugo post (not 100% secured)
2019
2. Users will be prompted to enter a password to access the post.
2120
3. Unique password for each post
2221
{{< /admonition >}}
2322

24-
Before we proceed, open the post [Top Secret](http://localhost:1313/posts/top_secret/) that is protection with a password. When prompted, enter the password `1234` to read the top secret.
23+
Before we proceed, open the post [Top Secret](http://localhost:1313/posts/top_secret/) that is protection with a password. When prompted, enter the password `1234` to read the top secret.
2524

2625
![password-protection](https://pouch.jumpshare.com/preview/GA_t8X7rJkwOSdsolhK4H7ND9kHBOgRq7g98Vcr_R62DovJUg6TLF0gQt5140AoHfJD7SLqCLZnupx2aUWWIM4A9dVtAxDj6JHloBdAvI18)
2726

0 commit comments

Comments
 (0)