refactor: 完成Handlebars模板系统基础集成

This commit is contained in:
Zuoling Rong
2025-05-07 14:58:38 +08:00
parent 7e378c229c
commit 6474fa3635
6 changed files with 487 additions and 44 deletions

10
templates/pages/home.hbs Normal file
View File

@@ -0,0 +1,10 @@
<div class="page active" id="home">
<div class="welcome-section">
<h2>{{profile.title}}</h2>
<h3>{{profile.subtitle}}</h3>
<p class="subtitle">{{profile.description}}</p>
</div>
{{#each categories}}
{{> category}}
{{/each}}
</div>