{{- $isZH := eq site.Language.Lang "zh" -}} {{- $teaserTitle := cond $isZH "不错过每一个信号" "Never Miss a Signal" -}} {{- $teaserSubtitle := cond $isZH "专为技术人构建。最新文章直接送达:AI 探索、开源实践与游民生活。" "Built for builders. Get new posts on AI, open source & nomad life — direct to your inbox." -}} {{- $socialProof := cond $isZH "1,200+ 读者同行" "Join 1,200+ readers" -}} {{- $rssTitle := cond $isZH "RSS 订阅" "Subscribe via RSS" -}} {{- $rssDescription := cond $isZH "第一时间获取最新文章通知,支持所有 RSS 阅读器。" "Get the latest posts delivered right to your RSS reader." -}} {{- $rssButtonText := cond $isZH "打开 RSS Feed" "Open RSS Feed" -}} {{- $rssChannelsLabel := cond $isZH "或按频道订阅" "Or subscribe by channel" -}} {{- $rssAllLabel := cond $isZH "全部文章" "All Posts" -}} {{- $rssOpmlHint := cond $isZH "OPML 一键导入全部频道" "OPML — import all channels at once" -}} {{- $emailTitle := cond $isZH "邮件订阅" "Email Newsletter" -}} {{- $emailDescription := cond $isZH "新文章和月度思考将通过邮件发送给你。默认双重确认,可随时退订。" "Get new posts and monthly notes by email. Double opt-in by default, unsubscribe anytime." -}} {{- $emailPlaceholder := "you@example.com" -}} {{- $emailConsent := cond $isZH "我同意接收博客更新邮件,并理解可随时取消订阅。" "I agree to receive blog update emails and understand I can unsubscribe anytime." -}} {{- $emailTopicsLabel := cond $isZH "内容偏好" "Topics" -}} {{- $emailStatusIdle := cond $isZH "输入邮箱后即可订阅。" "Enter your email to subscribe." -}} {{- $emailOpenText := cond $isZH "打开邮件订阅" "Open email signup" -}} {{- $backText := cond $isZH "返回" "Back" -}} {{- $noSpamText := cond $isZH "绝不发垃圾邮件,随时退订。" "No spam. Unsubscribe anytime." -}} {{- $rssAltText := cond $isZH "RSS 订阅" "RSS" -}}
{{/* ── TEASER (default view) ── */}}
{{/* Decorative background grid */}} {{/* Left column: headline + copy */}}

{{ $teaserTitle }}

{{ $teaserSubtitle }}

{{ $socialProof }}
{{/* Right column: actions */}}

{{ $noSpamText }}

{{/* end teaser */}} {{/* ── RSS PANEL ── */}} {{/* ── EMAIL PANEL ── */}}
{{/* end .rss-subscribe-card */}}