From c8286173c7ee9b3dc9c66a6c8ca12b424b6e49be Mon Sep 17 00:00:00 2001 From: panhy Date: Sat, 16 Nov 2024 20:26:09 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E5=AE=8C=E6=88=90=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E6=B1=89=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/default/index.html | 20 +++--- codelabs/how-to-write-a-codelab.md | 76 +++++++++++--------- codelabs/how-to-write-a-codelab/codelab.json | 14 ++-- codelabs/how-to-write-a-codelab/index.html | 53 +++++++------- 4 files changed, 85 insertions(+), 78 deletions(-) diff --git a/app/views/default/index.html b/app/views/default/index.html index 6f6db09..80104ee 100644 --- a/app/views/default/index.html +++ b/app/views/default/index.html @@ -144,8 +144,8 @@

{{view.title}}

A-Z - Recent - Duration + 最近 + 时常
@@ -216,7 +216,7 @@

{{view.title}}

{%- endif -%}
{{codelab.title}}
- {%- if codelab.duration -%}{{codelab.duration}} min {%- endif -%} + {%- if codelab.duration -%}{{codelab.duration}} 分钟 {%- endif -%} {%- if codelab.updated -%}Updated {{codePrettyDate(codelab.updated)}}{%- endif -%}