A sophisticated, multilingual static site generator for your ERP system with an intellectual aesthetic inspired by high-quality editorial sites.
config.json.
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Actions workflow
├── translations/
│ ├── en.json # English translations
│ └── de.json # German translations
├── config.json # Site configuration
├── template.html # HTML template
├── styles.css # Stylesheet
├── generate.py # Site generator script
└── dist/ # Generated output (created by script)
{
"demo_url": "https://demo.yourerp.com",
"default_language": "en",
"languages": {
"en": {
"name": "English",
"phone": "+1-555-0123"
},
"de": {
"name": "Deutsch",
"phone": "+49-621-123456"
}
},
"sections": [...]
}
Key Options:
demo_url: URL for the “View Demo” buttondefault_language: Language for the root index.htmllanguages: Each language must have name and phonesections: Array of section configurationsSection Types:
hero: Main header with CTA buttonsfeatures: Grid of feature cardstestimonial: Customer quotecta: Call-to-action sectionEach section can be enabled/disabled with the enabled flag and reordered by changing array position.
Create one JSON file per language in the translations/ directory:
{
"site_title": "Your Site Title",
"hero_title": "Main Headline",
"view_demo": "View Demo",
"contact_sales": "Contact Sales",
...
}
# Generate the site
python generate.py
# View output in dist/ folder
# Open dist/index.html or dist/en/index.html in your browser
The site will be available at https://yourusername.github.io/your-repo/
translations/[lang].json with all translation keysconfig.json:
"languages": {
"fr": {
"name": "Français",
"phone": "+33-1-23-45-67-89"
}
}
Edit config.json and add to the sections array:
{
"type": "cta",
"enabled": true,
"title": "cta_new_title",
"description": "cta_new_description"
}
Then add the translation keys to all language files.
Simply rearrange the order in the sections array in config.json.
Set "enabled": false for any section you want to hide.
Edit styles.css to customize:
:roottemplate.htmlThe design follows an intellectual, editorial aesthetic inspired by publications like The New Yorker:
Customize this section with your license information.