From 281a3bec391c6dce60b3d2084e72fc49d519541d Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Mon, 23 Aug 2021 17:08:21 +0800 Subject: [PATCH] Fix description not display on homepage --- layouts/_default/home.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 2a1ebd9..ba296ed 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -7,8 +7,8 @@ {{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
- {{ with .Title }}

{{ . }}

{{ end }} - {{ with .Description }}

{{ . }}

{{ end }} + {{ with .Site.Title }}

{{ . }}

{{ end }} + {{ with .Site.Params.Description }}

{{ . }}

{{ end }}
{{ with resources.GetMatch .Site.Params.headshotimg -}}