Source for zehta.me.
The source is located in source/
.
The built content is located in docs/
.
This option serves content more reliably, but rebuilds all content instead of only content that has changed.
- Install Pipenv
brew install pipenv
- Install Lektor and other Python 3 dependencies via Pipenv
pipenv install
- Install Docker (Install Docker Engine | Docker Documentation)
- Run Docker NGINX and Lektor build
- Run NGINX webserver via Docker
docker compose up; docker compose down
- access development site at
127.0.0.1:8080
- access development site at
- Rebuild output, as necessary
./build.sh
- Run NGINX webserver via Docker
Usage: build.sh [OPTIONS]
Options:
-h Show this help message and exit
-p Pretify HTML and skip minify
-x Clear Lektor plugins
Description:
Build website in docs/ dirctory.
This option process changes faster (only rebuilding changed content), but also injects Lektor admin UX and is slower than NGINX (bad for performance testing).
- Install Pipenv
brew install pipenv
- Install Lektor and other Python 3 dependencies via Pipenv
pipenv install
- Run Lektor development server
./server.sh
- access development site at
127.0.0.1:5000
- access development site at
See New Website - Timid Robot.
Thank you to the free and open source software, open content, and non-profits that contributed to me being able to create and maintain this blog!
- Software and Third-party Content
- Lektor Documentation: Static Content Management System
- lektor/lektor: The lektor static file content management system (GitHub)
- Plugins:
- nixjdm/lektor-atom: Lektor Atom plugin.
- chaos-bodensee/lektor-html-pretify: Lektor plugin to pretify HTML
- lektor/lektor-markdown-header-anchors: Adds support for anchors and table of contents to Markdown.
- lektor/lektor-markdown-highlighter: Adds support for syntax highlighting through Pygments to Lektor's markdown support
- pietroalbini/lektor-minify: Minify build artifacts in a Lektor project
- Andrew-Shay/lektor-read-full-post: Allows blog listing posts to be shortened with a link to the full post.
- Python Tooling
- Black: the uncompromising Python code formatter
- flake8: a python tool that glues together pep8, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
- isort: A Python utility / library to sort imports.
- Pipenv Documentation: Python Dev Workflow for Humans
- Redirects (
redirects/
)- tartley/colorama: Simple cross-platform colored terminal text in Python
- Jinja — Jinja Documentation (3.0.x)
- CSS / Layout
- csstools/normalize.css: A cross-browser CSS foundation
- Skeleton: Responsive CSS Boilerplate
- Free and Brand Icons | Font Awesome
- Lektor Documentation: Static Content Management System
- Guides
- Web Development
- Link rot
- Wayback Machine by the Internet Archive
Unless otherwise specified, the code within this repository is dedicated,
with all copyright and related and neighboring rights, to the public domain
worldwide. It is distributed without any warranty. (CC0 1.0 Universal (CC0
1.0) Public Domain Dedication)
(It is my opinion that much of the code used in this respository is standard boilerplate or otherwise should be too simple and obvious to copyright.)
Unless otherwise specified, the content within this repository is licensed
under a Creative Commons Attribution-ShareAlike 4.0 International
License.
Free License | Font Awesome (retreived
2022-03-04
):
Icons — CC BY 4.0 License
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons packaged as
.svg
and.js
files types.
Fonts — SIL OFL 1.1 License
In the Font Awesome Free download, the SIL OFL license applies to all icons packaged as web and desktop font files.
Code — MIT License
In the Font Awesome Free download, the MIT license applies to all non-font and non-icon files.
Brand Icons
All brand icons are trademarks of their respective owners. The use of these trademarks does not indicate endorsement of the trademark holder by Font Awesome, nor vice versa. Please do not use brand logos for any purpose except to represent the company, product, or service to which they refer.
@csstools/normalize.css is dedicated, with all copyright and related and neighboring rights, to the public domain worldwide. It is distributed without any warranty. (CC0 1.0 Universal (CC0 1.0) Public Domain Dedication)