This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b415ce  fix: styles
0b415ce is described below

commit 0b415ce170d3063e65c4638471349ac88ef41f8e
Author: juzhiyuan <jjzhiy...@gmail.com>
AuthorDate: Mon Mar 30 22:33:56 2020 +0800

    fix: styles
---
 assets/style.scss               | 2 +-
 layouts/partials/hero-body.html | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/assets/style.scss b/assets/style.scss
index 2576bda..e067a83 100644
--- a/assets/style.scss
+++ b/assets/style.scss
@@ -9,7 +9,7 @@
   color: #363636;
   font-size: 1.5rem;
   font-weight: 600;
-  line-height: 1.125;
+  line-height: 1.5;
 }
 
 .warning {
diff --git a/layouts/partials/hero-body.html b/layouts/partials/hero-body.html
index 0ae585b..02bb58a 100644
--- a/layouts/partials/hero-body.html
+++ b/layouts/partials/hero-body.html
@@ -2,6 +2,7 @@
 {{- $title      := index $hero "title" }}
 {{- $subtitle1   := index $hero "subtitle1" }}
 {{- $subtitle2   := index $hero "subtitle2" }}
+{{- $subtitle3   := index $hero "subtitle3" }}
 {{- $buttonText := index $hero "buttontext" }}
 {{- $buttonLink := index $hero "buttonlink" }}
 {{- $downloadsButtonText := index $hero "downloadsbuttontext" }}
@@ -27,6 +28,12 @@
         </h2>
         {{ end }}
 
+        {{ with $subtitle3 }}
+        <h2 class="subtitle is-4 is-muted">
+          {{ . }}
+        </h2>
+        {{ end }}
+
         <p class="btns">
           <a class="button cta rounded primary-btn raised" href="{{ 
$buttonLink }}">
             {{ $buttonText }}

Reply via email to