This website is generated using Pelican, a static site generator written in Python. It was migrated from the deprecated pygreen generator.
content/: Contains the source Markdown files.content/pages/: Static pages like the home page (index.md).content/papers/: Individual paper entries.
theme/rhenderson/: Custom Bootstrap-based Pelican theme.resources/: Static assets like PDFs and CV (mirrored incontent/resources/for Pelican processing).pelicanconf.py: Main configuration file for development.publishconf.py: Configuration for production/publication.tasks.py: Automation tasks for building and deploying (usinginvoke).
-
Environment Setup:
source venv/bin/activate pip install pelican markdown boto3 invoke -
Build the site:
pelican content # OR invoke build -
Preview the site:
pelican --listen # OR invoke serveVisit
http://localhost:8000in your browser.
Add a new .md file to content/papers/ with the following metadata at the top:
Title: My Paper Title
Date: YYYY-MM-DD
Category: Papers
Slug: my-paper-slugModify content/pages/index.md.
To deploy the site to an AWS S3 bucket:
invoke s3_upload --bucket-name=your-s3-bucket-nameEnsure your AWS CLI is configured with the necessary permissions.