hmsy personalize style

This commit is contained in:
2021-08-23 19:58:09 +08:00
parent 281a3bec39
commit 05f1eaf95a
7 changed files with 18 additions and 9 deletions

View File

@@ -5,7 +5,7 @@
{{ partial "nav-bar.html" . }}
<main class="card-container side-gutter">
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
<header class="home-header" style="background-image: url('{{ "img/home-blob.svg" | absURL }}');">
<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 }}