Remove default home page title
This commit is contained in:
@@ -3,6 +3,7 @@ blurb: There's a new daddy in town. A discipline daddy. If I make this comeback,
|
||||
description: Go ahead, touch the Cornballer
|
||||
greeting: You know [best](https://www.youtube.com/watch?v=1WDW8XKEGgU)
|
||||
stretch: stretch.jpg
|
||||
title: No Borders, No Limits
|
||||
---
|
||||
|
||||
<p class="lead text-center">
|
||||
|
@@ -1,17 +1,13 @@
|
||||
{{ $title := .Title }}
|
||||
{{ $class := "display-5" }}
|
||||
{{ if .IsHome }}
|
||||
{{ $class = "display-1" }}
|
||||
{{ if not $title }}
|
||||
{{ $title = .Site.Title }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if $title }}
|
||||
{{ if .Title }}
|
||||
<h1 class="{{ $class }} fw-bold text-center">
|
||||
{{ with .Params.link }}
|
||||
<a href="{{ . }}">{{ $title | markdownify }}</a>
|
||||
<a href="{{ . }}">{{ .Title | markdownify }}</a>
|
||||
{{ else }}
|
||||
{{ $title | markdownify }}
|
||||
{{ .Title | markdownify }}
|
||||
{{ end }}
|
||||
</h1>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user