mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 06:20:38 -07:00
docs: revamp homepage and switch to custom GitHub buttons
- Make the docs English-only by removing all zh-cn content, the language switcher UI, and related JS/config - Rework homepage feature cards (Safe & Typed, Pure JavaScript, Shopify & Jekyll, Streaming) and refresh section colors/layout - Replace buttons.github.io with custom Star/Sponsor buttons featuring a live star count and dark-mode support - Drop the buttons.js script and tidy banner, header, footer, and share partials Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Vendored
+1
-1
@@ -10,7 +10,7 @@ index:
|
||||
get_started: Get Started
|
||||
contributors:
|
||||
title: Contributors
|
||||
description: 'LiquidJS follows the <a href="https://github.com/all-contributors/all-contributors">all-contributors</a> specification, see <a href="tutorials/contribution-guidelines.html">guidelines here</a>! Thanks goes to these wonderful people:'
|
||||
description: 'Thanks to these wonderful people! See <a href="tutorials/contribution-guidelines.html">contribution guidelines</a> if you'd like to help.'
|
||||
sponsors:
|
||||
title: Sponsors
|
||||
description: 'If you personally love LiquidJS or it's benefiting your business, please <a href="https://github.com/sponsors/harttle">sponsor us</a>!'
|
||||
|
||||
Vendored
-68
@@ -1,68 +0,0 @@
|
||||
menu:
|
||||
tutorials: 教程
|
||||
tags: 标签
|
||||
filters: 过滤器
|
||||
playground: 演示
|
||||
api: API
|
||||
search: 搜索
|
||||
|
||||
index:
|
||||
get_started: 开始使用
|
||||
contributors:
|
||||
title: 贡献
|
||||
description: 'LiquidJS 欢迎任何形式的贡献,可以从 <a href="tutorials/contribution-guidelines.html">阅读贡献指南</a> 开始!感谢这些参与过 LiquidJS 项目的人:'
|
||||
sponsors:
|
||||
title: 赞助
|
||||
description: '如果你喜欢 LiquidJS 或你的公司在使用 LiquidJS,请考虑 <a href="tutorials/contribution-guidelines.html#成为赞助者!">赞助 LiquidJS</a>!'
|
||||
|
||||
playground:
|
||||
title: 演示
|
||||
loading: 加载中...
|
||||
|
||||
page:
|
||||
contents: 目录
|
||||
back_to_top: 回到顶部
|
||||
improve: 改进这篇文档
|
||||
report: 报告问题
|
||||
prev: 上一页
|
||||
next: 下一页
|
||||
last_updated: 上次更新:%s
|
||||
|
||||
sidebar:
|
||||
tutorials:
|
||||
getting_started: 开始使用
|
||||
intro: Liquid 简介
|
||||
setup: 安装
|
||||
options: 选项
|
||||
render_file: 文件渲染
|
||||
partials: 引用/继承
|
||||
express: Express.js 中使用
|
||||
|
||||
advanced: 高级主题
|
||||
caching: 缓存
|
||||
escaping: 转义
|
||||
registration: 注册标签/过滤器
|
||||
access_scope_in_filters: 过滤器里访问上下文
|
||||
parse_parameters: 参数解析
|
||||
render_tag_content: 渲染标签内容
|
||||
drops: Liquid Drop
|
||||
sync_and_async: 同步和异步
|
||||
whitespace: 换行和缩进
|
||||
plugins: 插件
|
||||
operators: 运算符
|
||||
truth: 真和假
|
||||
security_model: 安全模型
|
||||
static_analysis: 静态分析
|
||||
|
||||
miscellaneous: 其他
|
||||
migration9: '迁移到 LiquidJS 9'
|
||||
contribution_guidelines: '贡献指南'
|
||||
differences: 与 Shopify/liquid 的不同
|
||||
changelog: '更新日志'
|
||||
filters:
|
||||
overview: 概述
|
||||
tags:
|
||||
overview: 概述
|
||||
|
||||
footer:
|
||||
license: '本文档通过 <a href="http://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0</a> 授权。'
|
||||
Reference in New Issue
Block a user