https://github.com/flowpack/photon-base-distribution
Photon static site generator - base distribution (experimental)
https://github.com/flowpack/photon-base-distribution
Last synced: 3 months ago
JSON representation
Photon static site generator - base distribution (experimental)
- Host: GitHub
- URL: https://github.com/flowpack/photon-base-distribution
- Owner: Flowpack
- Created: 2018-03-12T16:57:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-12T17:58:10.000Z (about 8 years ago)
- Last Synced: 2024-05-09T06:56:36.999Z (almost 2 years ago)
- Homepage:
- Size: 1.95 KB
- Stars: 3
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Photon static site generator (experimental)
**Photon is a static site generator based on Neos CMS technology.**
## What is Photon?
* Content is stored in folders and files without needing a database
* A static version of the Neos Content Repository provides many of the same features like flexible and custom Node Types for structuring semantic content - by using folders and YAML files
* Content can be nested inside YAML files (but it can always be split in separate files)
* Photon does not use a fixed one-to-one mapping between files for the content and its output, like many other SSGs
* Generating _something_ (it's not limited to HTML) from the content is fully flexible and based on Fusion (as one possible generator implementation)
* Fusion in Photon can use `FlowQuery` to traverse static nodes almost like in the original content repository
* For now it's an experiment to see how static site generation and Neos can be brought together
## Getting started
### Creating a new project
composer create-project flowpack/photon-base-distribution -s dev photon-demo
### Generate content from the demo package
./flow generate:content Flowpack.Photon.Demo
See `Flowpack.Photon.Demo/Resources/Private/Fusion/Root.fusion` for a demo generator definition and `Flowpack.Photon.Demo/Resources/Private/Content` for the static content layout.
## Development
All development is done in https://github.com/Flowpack/photon-development-collection, expect to find a lot of loose ends and bugs.