From 5e55b25c8ad04c8aa1af12d87b7fa47147996602 Mon Sep 17 00:00:00 2001 From: Dillon ZENG Date: Thu, 8 Aug 2019 06:05:51 +0800 Subject: [PATCH] feat: add subtitle typeit --- layouts/partials/home_post.html | 8 ++++---- layouts/partials/home_profile.html | 6 ++++-- layouts/partials/js.html | 11 ++++++++++- layouts/shortcodes/typeit.html | 2 +- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/layouts/partials/home_post.html b/layouts/partials/home_post.html index 80080b9..f53dac5 100644 --- a/layouts/partials/home_post.html +++ b/layouts/partials/home_post.html @@ -16,10 +16,10 @@ {{ end }} - {{ with .Site.Params.subtitle}} -

- {{ . }} -

+ {{ with .Site.Params.subtitle }} +

+
+

{{ end }} diff --git a/layouts/partials/home_profile.html b/layouts/partials/home_profile.html index 3901231..c379956 100644 --- a/layouts/partials/home_profile.html +++ b/layouts/partials/home_profile.html @@ -12,8 +12,10 @@
avatar
{{ end }} - {{ with .Site.Params.subtitle}} -

{{ . }}

+ {{ with .Site.Params.subtitle }} +

+
+

{{ end }}