Read me
gaylerme.com
This site: static, bilingual, handmade, with an A+ grade on security headers.
Python HTML CSS JavaScript Cloudflare CSP
The problem
I wanted a place of my own on the internet, with no algorithm, looking like a site from the 2000s and not depending on any platform.
What I did
- A static site generator in Python, with no framework, that builds every page in Portuguese and English.
- A translucent plastic look with six colors, light and dark modes, and a desktop version that imitates a laptop screen.
- A bookshelf in CSS, with spines, drawers by year and a book that opens.
- Security headers with a strict content policy: the securityheaders.com grade went from F to A+.
- Automatic publishing on Cloudflare on every change to the repository.
What I learned
That a site can be pretty, fast and secure with static files only, and that a security policy only counts after it has been tested on every page.