Skip to content

Commit

Permalink
Merge pull request #2671 from truenas/PD-1108-fix-browser-tab-titling…
Browse files Browse the repository at this point in the history
…-3.0

Pd 1108 fix browser tab titling 3.0
  • Loading branch information
Mrt134 authored Apr 18, 2024
2 parents fb537f3 + a21ebd2 commit 7efeffe
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 3 deletions.
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.

0 comments on commit 7efeffe

Please sign in to comment.