siddhant-vij / Static-Site-Generator

Practice project | Static site generator with OOPS & functional programming paradigms in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ever wondered how static site generators work?

A static site generator takes raw content files (like Markdown and images) and turns them into a static website of HTML and CSS files. Static sites are quite popular for blogs and other content-heavy websites because they're lightning-fast, secure, and easy to host.

A static site is what it sounds like... static. No matter who is interacting with the site, the content is always the same.


Some popular production-ready static site generators include:

  • Hugo
  • Astro
  • Eleventy
  • Gatsby
  • Jekyll

Learning Goals (Boot.dev)

  • Static Sites: Learn about what a static site is, and start building the functionality necessary to process and move static HTML and Markdown files.
  • Nodes: Build the core HTML generation logic that will power your static site generator. Use recursion and OOP to build an easily understandable and maintainable system.
  • Inline: Build the inline markdown parsing logic, and the logic to generate inline HTML elements.
  • Blocks: Handle entire blocks of markdown, and generate the HTML nodes that represent them.
  • Website: Put the entire static site generator together, and publish your first website.

About

Practice project | Static site generator with OOPS & functional programming paradigms in Python.

License:MIT License


Languages

Language:Python 82.3%Language:HTML 12.1%Language:CSS 5.0%Language:Shell 0.6%