1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/themes/simple
2024-12-13 14:59:35 +01:00
..
static feat: use Tailwind typography and implement rose pine, WIP 2024-10-26 00:28:57 +02:00
templates feat: use Tailwind typography and implement rose pine, WIP 2024-10-26 00:28:57 +02:00
.gitignore feat: add work in progress state 2024-10-21 07:53:36 +02:00
package-lock.json feat: use Tailwind typography and implement rose pine, WIP 2024-10-26 00:28:57 +02:00
package.json feat: use Tailwind typography and implement rose pine, WIP 2024-10-26 00:28:57 +02:00
README.md docs: update development parts of README 2024-12-13 14:59:35 +01:00
tailwind.config.js feat: use Tailwind typography and implement rose pine, WIP 2024-10-26 00:28:57 +02:00

lugh Pelican theme

This theme is based on the simple theme. It's heavily customized to what I need here, so no efforts have been made to keep it useful for others. Amongst other things, I:

  • removed translations
  • changed the structure (HTML <footer> etc.)

Docs

Doing

Prepare Pelican development server config

Adapt Pelican's publishconf.py for local development. E.g. RELATIVE_URLS = False

Install Tailwind CSS Typography plugin

Typography enables sane defaults for longer texts. In this case, we use it for the body content only, which is always Markdown. Typography is a bit of a beast to configure/align to standard Tailwind.

npm install -D @tailwindcss/typography

Run the Tailwind build process

npx tailwindcss -i static/css/in.css -o static/css/out.css --watch

Run Pelican dev server

conda activate pelican
./devserver.sh