Bitwise

Content Directory

This directory contains the source content for the website, organized by type.

Structure

Creating Blog Posts

  1. Create a new AsciiDoc file in the blog/ directory
  2. Start with the proper metadata header
  3. Add your content using AsciiDoc syntax
  4. Run the conversion script to generate HTML

AsciiDoc Blog Post Template

= Title of Your Blog Post
:stem: latexmath
:toc: left
:icons: font
:doctype: article
:description: A brief description for metadata and SEO.
:keywords: keyword1, keyword2, keyword3
:published_date: YYYY-MM-DD

== Introduction

Your introduction paragraph here.

== Main Content

Your main content here.

=== Subsection

Subsection content goes here.

== Conclusion

Your conclusion paragraph here.

AsciiDoc Features

Converting Content

After creating or editing AsciiDoc files, run the conversion script:

.\scripts\convert-adoc.ps1

This will:

  1. Convert all AsciiDoc files to HTML
  2. Apply the site’s theme and styling
  3. Generate an index page of all posts
  4. Place the output in the /public/blog/ directory

Content Guidelines