Skip to content

Commit

Permalink
separate template and text
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed Sep 25, 2023
1 parent 296a0ea commit 2bccf5d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion themes/navy/languages/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -74,4 +78,4 @@ sidebar:
migrator: Migrator
processor: Processor
renderer: Renderer
tag: Tag
tag: Tag
8 changes: 4 additions & 4 deletions themes/navy/layout/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
</div>
<div class="plugin-intro">
<div class="plugin-intro-container">
<h2 class="plugin-intro-title">Powerful API</h2>
<p class="plugin-intro-text">Features powerful APIs for limitless extensibility. Easily integrate with your existing toolchains (Babel, UglifyJS, PostCSS, HTMLMinifier and many others).</p>
<a href="/plugins/" class="plugin-link">Explore Plugins</a>
<a href="/api/" class="plugin-link">View API docs</a>
<h2 class="plugin-intro-title">{{ __('index.plugin_intro_title') }}</h2>
<p class="plugin-intro-text">{{ __('index.plugin_intro') }}</p>
<a href="/plugins/" class="plugin-link">{{ __('index.plugin_link') }}</a>
<a href="/api/" class="plugin-link">{{ __('index.api_link') }}</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 2bccf5d

Please sign in to comment.