Stig-Ørjan Smelror 7521c744bd Improve qsgen3 theme system: complete theme override and new minimal theme
- Remove legacy themes (black-orange, minimal) with old .tpl structure
- Create new minimal theme with proper qsgen3 structure:
  - Complete layouts/ directory with all required templates
  - Modern CSS with responsive design and clean styling
  - Proper theme documentation in README.md
- Update THEMES-HOWTO.md to accurately reflect theme behavior:
  - Clarify complete layout override (no fallback to defaults)
  - Document included minimal theme example
  - Correct layout processing documentation
- Update site.conf to use new minimal theme CSS path
- Ensure themes are complete packages when specified
2025-05-31 03:14:36 +02:00

54 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$site_name$ - $site_tagline$</title>
$for(css)$
<link rel="stylesheet" href="$css$">
$endfor$
$if(site_rss_url)$
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="$site_rss_url$">
$endif$
</head>
<body class="minimal-theme">
<header class="site-header">
<div class="container">
<h1 class="site-title"><a href="$site_url$">$site_name$</a></h1>
<p class="site-tagline">$site_tagline$</p>
</div>
</header>
<main class="main-content">
<div class="container">
<section id="posts-list">
<h2>Latest Posts</h2>
$if(posts)$
<div class="posts-grid">
$for(posts)$
<article class="post-card">
<h3><a href="$posts.url$">$posts.title$</a></h3>
$if(posts.date)$
<p class="post-date">$posts.date$</p>
$endif$
$if(posts.summary)$
<p class="post-summary">$posts.summary$</p>
$endif$
</article>
$endfor$
</div>
$else$
<p class="no-posts">No posts found.</p>
$endif$
</section>
</div>
</main>
<footer class="site-footer">
<div class="container">
<p>&copy; $current_year$ $site_name$. Generated by qsgen3.</p>
</div>
</footer>
</body>
</html>