No description
  • PHP 42.4%
  • CSS 31.8%
  • Svelte 22.6%
  • JavaScript 3.2%
Find a file
DiamantTh 064cacfa17 feat: tags pill-box on single posts
- novarapress_post_meta(): add $show_tags param (default false)
  → tags no longer appear inline in the header byline
- New novarapress_post_tags_box(): renders each tag as individual
  #tag pill link inside a compact bordered card
- single.php footer: calls tags box separately, passes show_tags:false
  to post_meta to avoid the old comma-list in the byline
- CSS: .post-tags-box card with label + flex-wrap pill list,
  max-height capped to ~3 lines with fade-out mask,
  .entry-footer now flex-column for clean stacking
- Version 1.0.9
2026-03-25 00:41:48 +01:00
.github/workflows feat: tags pill-box on single posts 2026-03-25 00:41:48 +01:00
assets feat: tags pill-box on single posts 2026-03-25 00:41:48 +01:00
inc feat: tags pill-box on single posts 2026-03-25 00:41:48 +01:00
src feat: tags pill-box on single posts 2026-03-25 00:41:48 +01:00
template-parts/content feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00
.gitignore feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00
.nvmrc ci: upgrade to Node 22 LTS – setup-node v5, job-level env, engines field, .nvmrc 2026-03-24 13:08:08 +00:00
404.php feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00
archive.php feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00
comments.php chore: bump version to 1.0.5 2026-03-24 22:27:47 +01:00
footer.php feat: show theme name + version on new line in footer 2026-03-24 11:14:17 +00:00
functions.php chore: bump version to 1.0.5 2026-03-24 22:27:47 +01:00
header.php feat: slow smooth rain drops, accent colours, WP Customizer controls 2026-03-24 23:59:34 +01:00
index.php feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00
LICENSE Initial commit 2026-03-24 07:32:29 +01:00
package-lock.json feat: tags pill-box on single posts 2026-03-25 00:41:48 +01:00
package.json feat: tags pill-box on single posts 2026-03-25 00:41:48 +01:00
page.php feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00
README.md chore: bump version to 1.0.5 2026-03-24 22:27:47 +01:00
screenshot.png fix: lighter navy palette, visible rain drops, add screenshot.png 2026-03-24 23:40:32 +01:00
screenshot.svg fix: lighter navy palette, visible rain drops, add screenshot.png 2026-03-24 23:40:32 +01:00
search.php feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00
sidebar.php feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00
single.php feat: tags pill-box on single posts 2026-03-25 00:41:48 +01:00
style.css feat: tags pill-box on single posts 2026-03-25 00:41:48 +01:00
vite.config.js feat: complete NovaraPress hybrid WordPress + Svelte theme 2026-03-24 06:49:36 +00:00

NovaraPress

WordPress-Theme mit server-seitig gerenderten PHP-Templates und Svelte-UI-Islands, gebündelt über Vite.

WordPress bleibt die primäre Rendering-Engine. PHP-Templates liefern vollständiges, barrierefreies HTML — JavaScript ist nicht erforderlich. Svelte-Komponenten mounten als Islands auf spezifische DOM-Knoten und erweitern die Seite progressiv.

Voraussetzungen

  • PHP 8.1+, WordPress 6.3+
  • Node.js 22+, npm

Lokale Entwicklung

npm install      # Abhängigkeiten installieren
npm run build    # Produktions-Build
npm run dev      # Watch-Modus

Kompilierte Assets landen in assets/ und sind im Repository eingecheckt — nach dem Clonen ist kein Build-Schritt auf dem Server nötig.

Theme-Ordner nach wp-content/themes/novarapress/ kopieren und im WordPress-Backend aktivieren.

Svelte Islands

Komponente Mount Target Funktion
DarkModeToggle #novara-dark-mode-toggle Dark/Light-Umschaltung mit localStorage-Persistenz
NavigationMenu #site-navigation Mobile Nav, Tastaturnavigation
SearchOverlay #novara-search-overlay Vollbild-Suche via WP REST API
CommentThread #novara-comment-thread Verschachtelte Kommentare via WP REST API
ReadingProgress #novara-reading-progress Scroll-Fortschrittsbalken (Einzelbeiträge)

WordPress-Integration

  • Menüs: primary, footer
  • Sidebars: Primary Sidebar (sidebar-1), Footer Widgets (footer-widgets)
  • Bildgrößen: novarapress-hero (1280×640), novarapress-card (640×360), novarapress-thumbnail (320×180)
  • Customizer: Sidebar-Position, Standard-Farbschema (system / dark / light), Lesezeit / Fortschrittsbalken

Autor

DiamantTh

Lizenz

AGPL-3.0-or-later — siehe LICENSE.