mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-18 20:19:30 -07:00
chore(hugo.toml): remove unused disableKinds to improve build performance
chore(params.toml): add website title parameter for better customization chore(baseof.html): update page title to use the website title parameter chore(nav.html): update navigation link to use the website title parameter
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
baseURL = 'https://www.example.com/'
|
baseURL = 'https://www.example.com/'
|
||||||
title = 'My New Hugo Site'
|
|
||||||
themesdir = '../..'
|
themesdir = '../..'
|
||||||
theme = 'Bridget'
|
theme = 'Bridget'
|
||||||
disableKinds = ["section", "taxonomy", "term", "home"]
|
disableKinds = ["section", "taxonomy", "term", "home"]
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
|
# website title
|
||||||
|
title = "Bridget"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Site.Params.title }}</title>
|
||||||
{{- partial "head/link.html" -}}
|
{{- partial "head/link.html" -}}
|
||||||
{{- partial "head/meta.html" -}}
|
{{- partial "head/meta.html" -}}
|
||||||
{{- partial "head/seo.html" -}}
|
{{- partial "head/seo.html" -}}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<nav>
|
<nav>
|
||||||
<div class="navArtist">
|
<div class="navArtist">
|
||||||
<a href="/">Bridget Baker</a>
|
<a href="/">{{ .Site.Params.title }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="links">
|
<div class="links">
|
||||||
{{- $index := 0 -}}
|
{{- $index := 0 -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user