{{ include 'partials/head' }} {{~ # ============ 公告条(紫色调 mono 徽标) ============ ~}} {{ if content.announcement_enabled && content.announcement_text }}
[NOTICE] {{ content.announcement_text }} {{ if content.announcement_url }} read → {{ end }}
{{ end }}
{{~ # ============ Hero(点阵背景 + 霓虹标题) ============ ~}} {{ if content.hero_title || content.hero_subtitle }}
{{ if content.hero_eyebrow }}
> {{ content.hero_eyebrow }}
{{ end }} {{ if content.hero_title }}

{{ content.hero_title }}

{{ end }} {{ if content.hero_subtitle }}

{{ content.hero_subtitle }}

{{ end }} {{ if content.hero_cta_label && content.hero_cta_url }} {{ end }}
{{ end }} {{~ # ============ 精选:1 大卡 + 2 小卡 ============ ~}} {{ if content.recommended_enabled && recommended_articles.size > 0 }}

## {{ if content.recommended_title }}{{ content.recommended_title }}{{ else }}精选文章{{ end }}

{{ for article in recommended_articles limit:1 }}
{{ if article.CoverImageUrl }} {{ article.Title }} {{ else }} {{ end }}
{{ if article.ColumnName }} {{ article.ColumnName }} {{ end }} {{ article.Title }} {{ if article.Description }} {{ article.Description }} {{ end }}
{{ if article.Author }}@{{ article.Author }}·{{ end }}
{{ end }}
{{ end }} {{~ # ============ 最新 + 热门侧栏 ============ ~}}
{{ if content.latest_enabled }}

## {{ if content.latest_title }}{{ content.latest_title }}{{ else }}最新文章{{ end }}

{{ for article in latest_articles }} {{ include 'partials/article_card' }} {{ end }}
{{~ # 无文章时的占位(终端风格) ~}} {{ if latest_articles.size == 0 }}
$ ls ./articles
total 0

// no posts yet

首篇文章 push 后将展示在这里。

{{ end }}
{{ end }}
{{ include 'partials/footer' }}