Revert "Fix description not display on homepage"
This reverts commit 281a3bec39.
Because, description in `config.toml` will show in `<head>`,
the description in `/content/posts/_index.md` will show on the homepage,
below the title as a small text. So this is not a bug.
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
|
||||
<header class="home-header">
|
||||
<div class="home-blob-text-container">
|
||||
{{ with .Site.Title }}<h1 class="home-blob-title">{{ . }}</h1>{{ end }}
|
||||
{{ with .Site.Params.Description }}<p class="home-blob-text">{{ . }}</p>{{ end }}
|
||||
{{ with .Title }}<h1 class="home-blob-title">{{ . }}</h1>{{ end }}
|
||||
{{ with .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