Skip to content

Commit

Permalink
fixup! Convert 'About' pages to Hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
dscho committed Sep 19, 2024
1 parent bbeb596 commit c9207ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h1>Redirecting&hellip;</h1>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{{ .Page.Title | default "Git" }}</title>
<title>{{ .Page.Title | default "Git" }}{{ if (isset .Params "subtitle") }} - {{ .Params.subtitle }}{{ end }}</title>

<link href="{{ relURL "favicon.ico" }}" rel='shortcut icon' type='image/x-icon'>

Expand Down Expand Up @@ -148,7 +148,7 @@ <h2>{{ .Params.video_title }}</h2>
</div>
{{ else if eq $section "about" }}
<div id="main">
<h1>About</h1>
<h1 data-pagefind-meta="title">About{{ if (isset .Params "subtitle") }} - {{ .Params.subtitle }}{{ end }}</h1>

<ol id="about-nav">
{{ $abouts := sort (where .Site.RegularPages "Params.section" "about") "Params.order" }}
Expand Down

0 comments on commit c9207ae

Please sign in to comment.