Discussion:
git: 8619f06653 - main - Improve the documentation titles
Sergio Carlavilla Delgado
2021-05-23 19:52:47 UTC
Permalink
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=8619f066537d36101d4f4d8a60ccb806a9c62275

commit 8619f066537d36101d4f4d8a60ccb806a9c62275
Author: Ceri Davies <***@FreeBSD.org>
AuthorDate: 2021-05-23 19:50:24 +0000
Commit: Sergio Carlavilla Delgado <***@FreeBSD.org>
CommitDate: 2021-05-23 19:50:24 +0000

Improve the documentation titles

Change the documentation titles order.

From:

The FreeBSD Project | Committer's Guide

To:

Committers'Guide | The FreeBSD Project

PR: 255884
Submitted by: ygy@
---
documentation/themes/beastie/layouts/partials/site-head.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/themes/beastie/layouts/partials/site-head.html b/documentation/themes/beastie/layouts/partials/site-head.html
index 8ab1b3b283..f8caeca139 100644
--- a/documentation/themes/beastie/layouts/partials/site-head.html
+++ b/documentation/themes/beastie/layouts/partials/site-head.html
@@ -6,7 +6,7 @@
<meta name="copyright" content="1995-2021 The FreeBSD Foundation">
<link rel="canonical" href="{{ .Permalink }}" />

- <title>{{ block "title" . }}{{ .Site.Title }}{{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>
+ <title>{{ with .Params.Title }}{{ . }} | {{ end }} {{ block "title" . }}{{ .Site.Title }}{{ end }}</title>

<!-- FAVICON -->
<link rel="shortcut icon" href="{{ absLangURL ($.Site.BaseURL) }}favicon.ico">
Loading...