Homepage (landing page) and announcements for CPACS (http://www.cpacs.de).
Based on Pelican and a modifed Polar theme by CodePassenger.
-
Install Python (Anaconda works perfectly)
-
Install Pelican and supporting libraries
pip install pelican
pip install markdown
pip install fabric
pip install ghp-import
- Clone rce-website
git clone https://github.com/dlr-ly/cpacs-website
- Set proper port for local testing, which works on your machine in
fabfile.py
# Port for `serve`
PORT = 8001
- Generate website
fab build
- Start local server for testing (http://localhost:8001/)
fab serve
- Convenience target for rebuild and starting local server
fab reserve
Use either Markdown or HTML for new articles, as described in Writing content.
Add new articles to content.
The required meta data for CPACS release announcements are:
Title: Release 3.5.0
Date: 2025-04-22 12:00
Category: Releases
Author: CPACS
- Article image: 870x440 px
- Thumbnail large: 100x108
- Thumbnail small: 67x73