Add ability to add site description below company name. Fixes #2
This commit is contained in:
parent
f239fbad19
commit
0e96aa8c95
|
@ -2,3 +2,5 @@ baseURL = "http://example.org/"
|
|||
languageCode = "en-us"
|
||||
title = "Awesome Lighting Inc."
|
||||
theme = "hugo-shopping-product-catalogue-simple"
|
||||
[Params]
|
||||
description = ""
|
|
@ -1,5 +1,6 @@
|
|||
<header>
|
||||
<h1 class="text-center">{{ .Site.Title }}</h1>
|
||||
{{ with .Site.Params.description }}<h4 class="text-center">{{ . }}</h4>{{ end }}
|
||||
</header>
|
||||
<article class="container-fluid">
|
||||
<div class="row">
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{{ define "main" }}
|
||||
<header>
|
||||
<h1 class="text-center">{{ .Site.Title }}</h1>
|
||||
{{ with .Site.Params.description }}<h4 class="text-center">{{ . }}</h4>{{ end }}
|
||||
</header>
|
||||
<article class="container-fluid">
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in New Issue