🔒
Intranet
This content is password-protected.
Please enter the password to view.
Sample Post — Getting Started
February 16, 2026
guidesetup
Welcome to the Intranet
This is your private intranet section. Only people with the password can view this content.
How to Add a New Note
- Create a new Markdown file in the
_notes/folder - Name it with the date prefix:
YYYY-MM-DD-your-title.md - Add the frontmatter:
---
title: "Your Note Title"
date: 2026-02-16
tags: [tag1, tag2]
icon: "📝" # optional emoji icon
excerpt: "Short description of this note."
---
- Write your content below the frontmatter using standard Markdown.
How to Change the Password
- Open your browser console (F12 → Console)
- Run this command (replace
YOUR_NEW_PASSWORD):
crypto.subtle.digest('SHA-256', new TextEncoder().encode('YOUR_NEW_PASSWORD'))
.then(b => console.log(Array.from(new Uint8Array(b)).map(x=>x.toString(16).padStart(2,'0')).join('')))
- Copy the hash output
- Open
assets/js/note-auth.jsand replace theDEFAULT_PASSvalue with your new password.
Security Note
⚠️ This is client-side password protection on a static site. It provides a privacy barrier for casual visitors, but is not equivalent to server-side authentication. For truly sensitive content, use a private repository or a server-based solution.
