Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanderdlm/jug
Very simple 1-to-1 Twig to HTML static site generator in PHP.
https://github.com/sanderdlm/jug
multilanguage php static-site-generator symfony twig
Last synced: 7 days ago
JSON representation
Very simple 1-to-1 Twig to HTML static site generator in PHP.
- Host: GitHub
- URL: https://github.com/sanderdlm/jug
- Owner: sanderdlm
- License: mit
- Created: 2022-03-08T20:45:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-29T20:50:47.000Z (10 months ago)
- Last Synced: 2024-10-29T10:32:43.274Z (8 days ago)
- Topics: multilanguage, php, static-site-generator, symfony, twig
- Language: PHP
- Homepage:
- Size: 5.34 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jug
Jug is a minimal static site generator built on Symfony components. It does exactly one thing: turn twig templates into straight HTML.
Jug aims to be fast & flexible. You won't find an extensive plugin system, but rather a set of basic yet powerful tools that you can use to build exactly what you need.
## Features
* Twig-powered
* Multilang ready (uses symfony/translations)
* Optimized images
* Watch & serve command for quick development
* Easy, PHP based config
* Events to customize the build before & after
* Smooth integration with Github Pages## Getting started
```yaml
# Create a new project directory
mkdir my-project && cd my-project# Install the package using composer
composer require dreadnip/jug# Run the init command to generate your base site
./vendor/bin/jug init# Run the serve command to view your site
./vendor/bin/jug serve
```
## What's nextTake a look at [the docs](docs/README.md) for more information.