An efficient static site generator built with PHP and Symfony, transforming Markdown files into static HTML using Twig templates.
Note: HexaSite is currently under heavy development. Features and functionalities may change, and usage is at your own risk.
HexaSite provides a straightforward way to build static websites by converting Markdown files into HTML pages. Leveraging the power of PHP and the Symfony framework, it utilizes Twig for templating, allowing for flexible and customizable site designs.
- Markdown to HTML Conversion: Easily convert your Markdown files into static HTML pages.
- Twig Templating: Customize your site's appearance with powerful Twig templates.
- Symfony Integration: Built on Symfony for robust performance and scalability.
- Lightweight and Easy to Use: Minimal setup with a focus on simplicity.
- PHP 8.3 or higher
- Composer
-
Clone the Repository
git clone https://github.com/marcuskober/HexaSite.git cd hexasite
-
Install Dependencies
composer install
-
Prepare Your Content
Place your Markdown files in the
content
directory.
Generate your static site by running:
symfony console static:build
The generated HTML files will be placed in the build
directory.
- Templates: Modify the Twig templates in the
templates
directory to change the site's layout and design.
- First prototype for generating html files from markdown files
- Internal linking
- Asset management
- Navigation
- Top level
- Sub menus
- Article list (for blog pages)
- Render article list
- List parameters like sorting
- Pagination
- Multi language support
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License.
For questions or support, please contact hello@marcuskober.de.