From 2bccf5d5a30d33da805b7169ac88c6d66f3f3e77 Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 26 Sep 2023 00:18:02 +0800 Subject: [PATCH] separate template and text --- themes/navy/languages/en.yml | 6 +++++- themes/navy/layout/index.njk | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/themes/navy/languages/en.yml b/themes/navy/languages/en.yml index 6805439d7d..e5c57a1310 100644 --- a/themes/navy/languages/en.yml +++ b/themes/navy/languages/en.yml @@ -11,6 +11,10 @@ index: get_started: Get started theme_intro: Choose from a huge library of spectacular, feature-packed and customizable themes. Create your own using any compatible template engines. theme_link: Explore themes + plugin_intro_title: Powerful API + plugin_intro: Features powerful APIs for limitless extensibility. Easily integrate with your existing toolchains (Babel, UglifyJS, PostCSS, HTMLMinifier and many others). + plugin_link: Explore Plugins + api_link: View API docs page: contents: Contents @@ -74,4 +78,4 @@ sidebar: migrator: Migrator processor: Processor renderer: Renderer - tag: Tag \ No newline at end of file + tag: Tag diff --git a/themes/navy/layout/index.njk b/themes/navy/layout/index.njk index 1e29ef48e3..ea22f0aab0 100644 --- a/themes/navy/layout/index.njk +++ b/themes/navy/layout/index.njk @@ -68,10 +68,10 @@
-

Powerful API

-

Features powerful APIs for limitless extensibility. Easily integrate with your existing toolchains (Babel, UglifyJS, PostCSS, HTMLMinifier and many others).

- Explore Plugins - View API docs +

{{ __('index.plugin_intro_title') }}

+

{{ __('index.plugin_intro') }}

+ {{ __('index.plugin_link') }} + {{ __('index.api_link') }}