Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pd 1108 fix browser tab titling 24.04 #2667

Merged
merged 5 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
{{ partial "head/meta" . }}
<title>
{{- if eq .Kind "home" -}}
{{ .Site.Title }}
TrueNAS Documentation Hub
{{- else -}}
{{ printf "%s | %s" (partial "utils/title" .) .Site.Title }}
{{ printf "%s %s | TrueNAS Documentation Hub" (partial "utils/title" .) .Site.Title }}
{{- end -}}
</title>

Expand Down
3 changes: 2 additions & 1 deletion layouts/partials/head/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
})(window,document,'script','dataLayer','GTM-P87FM6K');</script>

<!-- Favicon -->
<link rel="icon" href="{{ "favicon/TN-favicon-32x32.png" | relURL }}" type="image/x-icon">
<link rel="icon" href="{{ "favicon/TN-favicon-16x16.png" | relURL }}" type="image/png">
<link rel="icon" href="{{ "favicon/TN-favicon-32x32.png" | relURL }}" type="image/png">

<!-- Add Font Awesome and Material Design -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Expand Down
3 changes: 3 additions & 0 deletions layouts/partials/head/favicons.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<link rel="icon" type="image/svg+xml" href="{{ "favicon/tn-favicon.svg" | relURL }}" />
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon/TN-favicon-32x32.png" | relURL }}" />
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon/TN-favicon-16x16.png" | relURL }}" />
Binary file added static/favicon/TN-favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions static/favicon/tn-favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading