diff options
author | Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> | 2022-07-24 10:40:13 +0000 |
---|---|---|
committer | Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> | 2022-07-24 10:40:13 +0000 |
commit | 41a39b1b9049a17b2a63c59e07d7adee5a362cc2 (patch) | |
tree | 07f9a3ef4ba532aa950d0de9fa43518fc7babdec | |
parent | 89aea52bac8631334da97d837afaf5173a278e3e (diff) | |
download | doc-41a39b1b9049a17b2a63c59e07d7adee5a362cc2.tar.gz doc-41a39b1b9049a17b2a63c59e07d7adee5a362cc2.zip |
Make ports page less obscure and add links to FreshPorts
Changes:
* Make ports page less obscure adding a link in the about menu
* Put SHORTCUTS in lowercase
* Add FreshPorts link in the ports sidenav section
PR: 265264
Submitted by: grahamperrin@
-rw-r--r-- | website/themes/beastie/i18n/de.toml | 2 | ||||
-rw-r--r-- | website/themes/beastie/i18n/en.toml | 2 | ||||
-rw-r--r-- | website/themes/beastie/i18n/es.toml | 2 | ||||
-rw-r--r-- | website/themes/beastie/i18n/nl.toml | 2 | ||||
-rw-r--r-- | website/themes/beastie/layouts/partials/sidenav.html | 1 | ||||
-rw-r--r-- | website/themes/beastie/layouts/partials/site-navigation.html | 3 |
6 files changed, 8 insertions, 4 deletions
diff --git a/website/themes/beastie/i18n/de.toml b/website/themes/beastie/i18n/de.toml index 3a8d12d0c8..96b6f38990 100644 --- a/website/themes/beastie/i18n/de.toml +++ b/website/themes/beastie/i18n/de.toml @@ -201,7 +201,7 @@ other = "Test" other= "FreeBSD-Einsteiger?" [shortcuts] -other = "SHORTCUTS" +other = "Shortcuts" [reportingProblems] other = "Reporting Problems" diff --git a/website/themes/beastie/i18n/en.toml b/website/themes/beastie/i18n/en.toml index 9c1ef17498..09a5312095 100644 --- a/website/themes/beastie/i18n/en.toml +++ b/website/themes/beastie/i18n/en.toml @@ -210,7 +210,7 @@ other = "Upcoming" other= "New to FreeBSD?" [shortcuts] -other = "SHORTCUTS" +other = "Shortcuts" [reportingProblems] other = "Reporting Problems" diff --git a/website/themes/beastie/i18n/es.toml b/website/themes/beastie/i18n/es.toml index 5285c3314c..6368668b8d 100644 --- a/website/themes/beastie/i18n/es.toml +++ b/website/themes/beastie/i18n/es.toml @@ -198,7 +198,7 @@ other = "Próximo" other= "¿Nuevo en FreeBSD?" [shortcuts] -other = "ENLACES RÁPIDOS" +other = "Enlaces rápidos" [reportingProblems] other = "Reportar un fallo" diff --git a/website/themes/beastie/i18n/nl.toml b/website/themes/beastie/i18n/nl.toml index 0a5127692b..a738157dab 100644 --- a/website/themes/beastie/i18n/nl.toml +++ b/website/themes/beastie/i18n/nl.toml @@ -180,7 +180,7 @@ other = "Upcoming" other= "New to FreeBSD?" [shortcuts] -other = "SHORTCUTS" +other = "Shortcuts" [reportingProblems] other = "Reporting Problems" diff --git a/website/themes/beastie/layouts/partials/sidenav.html b/website/themes/beastie/layouts/partials/sidenav.html index 419ae505e6..5e562ca950 100644 --- a/website/themes/beastie/layouts/partials/sidenav.html +++ b/website/themes/beastie/layouts/partials/sidenav.html @@ -95,6 +95,7 @@ <li><a href={{ "ports/updating/" | absLangURL }}>{{ i18n "updating" }}</a></li> <li><a href={{ "ports/searching/" | absLangURL }}>{{ i18n "searching" }}</a></li> <li><a href={{ "ports/references/" | absLangURL }}>{{ i18n "moreInformation" }}</a></li> + <li><a href="https://www.freshports.org/" target="_blank">FreshPorts</a></li> </ul> {{ else if eq .sidenavType "support" }} <ul> diff --git a/website/themes/beastie/layouts/partials/site-navigation.html b/website/themes/beastie/layouts/partials/site-navigation.html index 9564c680d9..27594789a6 100644 --- a/website/themes/beastie/layouts/partials/site-navigation.html +++ b/website/themes/beastie/layouts/partials/site-navigation.html @@ -27,6 +27,9 @@ <li> <a href={{ "projects/" | absLangURL }}>{{ i18n "projects" }}</a> </li> + <li> + <a href={{ "ports/" | absLangURL }} title={{ i18n "ports" }}>{{ i18n "ports" }}</a> + </li> </ul> </li> </ul> |