Public website for benjaminpatch.com, built with Pelican and Bootstrap.
Code syntax highlighting provided by highlight.js.
This project's Python environment is managed by uv.
uv sync: Sync the project's dependencies with the environment.uv add: Add a dependency to the project.uv remove: Remove a dependency from the project.uv run: Run a command in the project environment.
rm -rf output/*
uv run invoke regenerate
uv run invoke livereloadrm -rf output/*
uv run make publishPush the newly generated site to the gh-pages branch. GitHub Pages should
automatically update the production site within a few minutes.
Social media icons appear in the author byline on all article pages and index pages. To update the social media links:
-
Edit the SOCIAL configuration in
pelicanconf.py:SOCIAL = ( ("LinkedIn", "https://www.linkedin.com/in/your-profile/"), ("Bluesky", "https://bsky.app/profile/your-handle"), )
-
Update the About page in
content/pages/about.mdto match your new links:<a href="https://www.linkedin.com/in/your-profile/" target="_blank" rel="noopener noreferrer">LinkedIn</a>
The social media icons (LinkedIn and Bluesky SVGs) are automatically rendered in the templates. To add new social platforms, edit the conditional logic in themes/bootstrap/templates/article.html and themes/bootstrap/templates/index.html.
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a- Publish "Python Kickstart (part 3): Control Flow and Conditionals" article.
- Update article headings to use code formatting for Python keywords.
- Add social media links to author's byline.
- Configure Claude Code.
- Publish "Python Kickstart (part 2)" article.
- Correct a typo in "When Vibe Coding Fails."
- Move to
uvas our Python package and project manager.
- Publish "When Vibe Coding Fails: Python Kickstart (part 1)" article.
- Set Python version for pyenv.
- Update to a Python 3.13.3 build.
- Update Bootstrap CSS to version 5.3.5.
- Add controllable meta descriptions for all pages.
- Refactor all templates to consistently use 2 spaces.
- Update to Python 3.13.2 build.
- Correct and adjust content in "Python venv" article.
- Publish article "DeepSeek-R1: The Promise and Peril..."
- Update Bluesky links to @benjaminpatch.com.
- Improve styling of blockquotes.
- Publish article "Simple Python Virtual Environments: Linux and Mac."
- Clean up presentation of information on index pages.
- Enable syntax highlighting of common coding languages with highlight.js.
- Load Bootstrap stylesheet from CDN.
- Create initial dependency declaration with
pip freeze.
- Evenly round corners on all sides of header and footer.
- Publish article "The Journey of Artificial Intelligence."
- Rebuild as a blog using Pelican.
- Rename "master" git branch to "main."