1
0
Fork 0
forked from github/pelican
Custom Pelican theme, colorway heavily inspired by rosepinetheme.com https://lugh.ch
  • CSS 68.5%
  • HTML 26.5%
  • JavaScript 5%
Find a file
2025-01-07 17:26:20 +01:00
static fix: headings hierarchy, font sizes, optimize sizes for breakpoints 2024-12-19 23:22:34 +01:00
templates fix(article): remove orphaned closing a href element 2025-01-07 17:26:20 +01:00
.editorconfig feat: this is going live now 2024-12-19 09:56:25 +01:00
.gitignore feat: this is going live now 2024-12-19 09:56:25 +01:00
LICENSE fix: add license name 2024-12-30 12:40:24 +01:00
package-lock.json feat: update Tailwind to 3.4.17 2024-12-19 10:03:49 +01:00
package.json feat: update Tailwind to 3.4.17 2024-12-19 10:03:49 +01:00
README.md feat: this is going live now 2024-12-19 09:56:25 +01:00
tailwind.config.js fix: headings hierarchy, font sizes, optimize sizes for breakpoints 2024-12-19 23:22:34 +01: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