git: 0df4ceb98d - main - Improve the website titles

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=0df4ceb98dd9895a7551b3ad3caad4111cdfc9e8

commit 0df4ceb98dd9895a7551b3ad3caad4111cdfc9e8
Author:     Sergio Carlavilla Delgado <[email protected]>
AuthorDate: 2021-05-15 20:20:53 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
CommitDate: 2021-05-15 20:20:53 +0000

    Improve the website titles
    
    Change the website titles order.
    
    From:
    
    The FreeBSD Project | About FreeBSD
    
    To:
    
    About FreeBSD | The FreeBSD Project
    
    PR:             255884
    Submitted by:   ygy@
---
 website/themes/beastie/layouts/partials/site-head.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/themes/beastie/layouts/partials/site-head.html b/website/themes/beastie/layouts/partials/site-head.html
index 0c00082381..c91c8bee11 100644
--- a/website/themes/beastie/layouts/partials/site-head.html
+++ b/website/themes/beastie/layouts/partials/site-head.html
@@ -5,7 +5,7 @@
 
   <meta name="copyright" content="1995-2020 The FreeBSD Foundation">
 
-  <title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>
+  <title>{{ with .Params.Title }}{{ . }} | {{ end }} {{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
 
   <link rel="shortcut icon" href="{{ absLangURL ($.Site.BaseURL) }}favicon.ico">
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.