docs: dedupe homepage subtitle and description into _config.yml

Remove redundant front matter from index.pug; theme falls back to site config for banner and meta tags.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Yang Jun
2026-06-23 15:07:46 +08:00
co-authored by Cursor
parent e4e275344d
commit e6b5587f49
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -1,6 +1,4 @@
layout: index
description: A simple, expressive, extensible Liquid template engine for JavaScript — Shopify, Jekyll and GitHub Pages compatible, for Node.js, browsers, and the CLI, with TypeScript support.
subtitle: A simple, expressive, extensible Liquid template engine for JavaScript
---
ul#intro-feature-list
li.intro-feature-wrap
+1 -1
View File
@@ -1,6 +1,6 @@
<header id="banner" class="wrapper">
<div class="inner inner-content">
<h2 id="banner-title">{{ page.subtitle }}</h2>
<h2 id="banner-title">{{ page.subtitle | default(config.subtitle) }}</h2>
<div id="banner-share">{{ partial('partial/share') }}</div>
<div id="banner-start">
<code id="banner-start-command">npm install liquidjs</code><a id="banner-start-link" href="./tutorials/setup.html"><i class="icon-arrow-right"></i></a>