Skip to content

Commit

Permalink
add support for PageTitle in common_header.html
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaronland committed Apr 24, 2023
1 parent 1ded116 commit 4797e47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion static/css/sfomuseum.common.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions templates/html/common_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="shortcut icon" href="{{ if (IsAvailable "URIPrefix" . ) }}{{ .URIPrefix }}{{ end }}/images/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="shortcut icon" href="{{ if (IsAvailable "URIPrefix" . ) }}{{ .URIPrefix }}{{ end }}images/favicon.ico" type="image/vnd.microsoft.icon" />

<title>Home | SFO Museum</title>
<title>SFO Museum{{ if (IsAvailable "PageTitle" . ) }} | {{ .PageTitle }}{{ end }}</title>

<!-- CSS is loaded sfomuseum.AppendResourcesHandlerWithPrefix -->
</head>
Expand Down

0 comments on commit 4797e47

Please sign in to comment.