Skip to content

A simple and extensible static site generator leveraging Jinja2 templating and Bootstrap 5.3.3 for modern, responsive styling. Effortlessly create beautiful, customizable pages for your GitHub repositories. Ideal for project documentation, portfolios, and quick web publishing, with easy configuration and support for rapid content updates.

License

Notifications You must be signed in to change notification settings

manojkumar-jmp/github-pages-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 See DISCLAIMER for legal and usage disclaimers related to this repository.

Static Website Generator

This project is a simple static website generator using Jinja2 templating and Bootstrap 5.3.3 for styling.

Sample Static Website generated using this repo is live here.

Features

  • Templated HTML pages with Jinja2
  • Bootstrap 5.3.3 styling
  • Modular header and footer includes
  • Easy to extend with new pages

Getting Started

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repo-name.git
    cd your-repo-name
  2. Set up a virtual environment (optional but recommended):

    python -m venv myenv
    .\myenv\Scripts\activate  # On Windows
    source myenv/bin/activate      # On macOS/Linux

** On Windows**

image

  1. Install dependencies:

    pip install jinja2 staticjinja
  2. Build the site:

    staticjinja build --srcpath templates --outpath dist --static static

    This will create a dist directory with the rendered HTML files and a copy of style.css

Adding Pages

  • Create a new template in the templates/ directory, extending _base.html.
  • Add your content in the {% block body %} section.
  • Rebuild the site with staticjinja build.
This is a personal project. All views expressed here are mine and are not affiliated with, nor endorsed by, my current or past employers. All sample code is for educational use only.

About

A simple and extensible static site generator leveraging Jinja2 templating and Bootstrap 5.3.3 for modern, responsive styling. Effortlessly create beautiful, customizable pages for your GitHub repositories. Ideal for project documentation, portfolios, and quick web publishing, with easy configuration and support for rapid content updates.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published