Create a new file in /blogs/ with the naming format POST_NAME.md:
---
title: "Your Post Title"
date: YYYY-MM-DD
---
## Section Title
Your content here...Supported features:
- Math equations: Use
$inline$or$$display$$(LaTeX via KaTeX) - Code blocks: Use fenced code blocks with language identifier for syntax highlighting
- Images: Reference as

Place any images in /blogs/images/ and reference them in your markdown:
Edit /html/blogs.html and add a new entry to the blogs array:
{ slug: 'POST_NAME', description: 'Brief description of the post' }The title and date are automatically read from the markdown front matter.
Add the new post to sitemap.xml:
<url>
<loc>https://basujindal.github.io/html/post.html?section=blogs&p=POST_NAME</loc>
<priority>0.6</priority>
</url>Commit and push to main branch. GitHub Actions will automatically deploy.
Place your image in the /astrophotos/ directory. Supported formats: .jpg, .png
Edit /html/photography.html and add a new figure inside the gallery:
<figure class="gallery-item"
data-src="../astrophotos/YourImage.jpg"
data-title="Photo Title"
data-description="Description of the photo"
data-camera="Camera Model"
data-lens="Lens Model"
data-settings="ISO, Aperture, etc."
data-location="Location"
data-date="YYYY-MM-DD"
data-alt="Alt text for accessibility">
<img src="../astrophotos/YourImage.jpg" alt="Alt text" loading="lazy">
<figcaption><h3>Photo Title</h3></figcaption>
</figure>Commit and push to main branch.
For work-in-progress posts, use the /inprogress/ directory instead:
- Markdown files go in
/inprogress/ - Images go in
/inprogress/images/ - Access via
html/post.html?section=inprogress&p=POST_NAME
Move to /blogs/ when ready to publish.