markdownBlogStarter
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data ā all from the browser, and deployed in milliseconds.
index.tsx
https://real_subtle--019872bb741577fcb41a9bc7d2514437.web.val.run
A simple password-protected static blog.
This blog is protected using pomdtr's password_auth val. To set up the password:
- Go to your Val Town environment variables
- Set
BLOG_PASSWORD
to your desired password - If no password is set, it defaults to "defaultpassword"
- Click Remix on the top right to clone this project.
- Set your
BLOG_PASSWORD
environment variable - Your blog will be accessible only after entering the correct password
- Navigate to the
/posts
directory. - Create a new Markdown (
.md
) or.mdx
file. - Write your post and save the file.
Users can sign out using the "Sign out" link available on all pages.