Fix description not display on homepage
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
|
||||
<header class="home-header" style="background-image: url('{{ "img/home-blob.svg" | absURL }}');">
|
||||
<div class="home-blob-text-container">
|
||||
{{ with .Title }}<h1 class="home-blob-title">{{ . }}</h1>{{ end }}
|
||||
{{ with .Description }}<p class="home-blob-text">{{ . }}</p>{{ end }}
|
||||
{{ with .Site.Title }}<h1 class="home-blob-title">{{ . }}</h1>{{ end }}
|
||||
{{ with .Site.Params.Description }}<p class="home-blob-text">{{ . }}</p>{{ end }}
|
||||
</div>
|
||||
{{ with resources.GetMatch .Site.Params.headshotimg -}}
|
||||
<div class="home-faceshot-card">
|
||||
|
||||
Reference in New Issue
Block a user