aboutsummaryrefslogtreecommitdiff
path: root/website/config/_default
Commit message (Collapse)AuthorAgeFilesLines
* Restoration of previously deleted (in ↵Andrey Zakhvatov2025-10-061-0/+4
| | | | | | | | | | | | | 93cd704c1d44d6d8b7482f23eb70ce716dfb6cbf) Russian web-pages: website/content/ru/ website/config/_default/languages.ru.toml No changes in website/themes/beastie/layouts/index.html intended at this point. Reviewed by: carlavilla (mentor) Approved by: carlavilla (mentor) Differential Revision: https://reviews.freebsd.org/D52916
* Allow git commandFernando Apesteguía2024-08-191-1/+1
| | | | | | | Use the default configuration as show in the Hugo site: https://gohugo.io/about/security/#security-policy Necessary for the upcoming update to hugo 0.133.0
* website: Remove 'de' and 'it' languagesDanilo G. Baio2024-05-252-8/+0
| | | | | | | | Search engines are currently redirecting users to localized versions of outdated content. Reported by: grembo Discussed with: doceng
* Remove warnings in configuration filesMinsoo Choo2024-01-221-3/+1
| | | | | | | | | | | | | | | | | From Hugo doc: > With v0.109.0 and earlier the basename of the site configuration file was config instead of hugo. You can use either, but should transition to the new naming convention when practical. Therefore `config.toml` is moved to `hugo.toml`. > The taxonomyTerm page kind was effectively aliased to the taxonomy page kind in v0.73.0 (https://github.com/bep/hugo/commit/114d4012a89ca88583de5979a6ec4a4799c739b7) `list` and `single` are unknown configurations. Remove them. Differential Revision: https://reviews.freebsd.org/D43406
* Website: Remove fr, ja, nl, ru, zh-cn languagesSergio Carlavilla Delgado2023-11-125-20/+0
| | | | | | | | | Remove languages without current maintainer. This doesn't mean that languages can't be aded back in the future if someone decides to keep the translations. Discussed with: bofh@ Approved by: doceng (implicit)
* website/**/es: Remove es translation for websiteMuhammad Moinur Rahman2023-09-271-4/+0
| | | | | | | | | | | | | | | | | | | | It looks like that there is very little interest from the Spanish developers about FreeBSD as there has not been any single commit on this apart from the obvious ones: https://cgit.freebsd.org/doc/log/website/content/es Additionally our index page also do not point to the Spanish translations although they do about de, fr, ja, zh-cn and zh-tw. So I think it's better to kill it rather than serving old outdated information. If there are more interests from the community we will reconsider adding or resurrecting this. Just to clarify this do not delete the es documentation and also have no such intention to delete. The documentation will remain as is. Approved by: carlavilla fernape Differential Revision: https://reviews.freebsd.org/D41860
* website/**/hu: Kill hu translation for websiteMuhammad Moinur Rahman2023-09-071-4/+0
| | | | | | | | | | | | | | | | | | | | It looks like that there is very little interest from the Hungarian developers about FreeBSD as there has not been any single commit on this apart from the obvious ones: https://cgit.freebsd.org/doc/log/website/content/hu Additionally our index page also do not point to the Hungarian translations although they do about de, fr, ja, zh-cn and zh-tw. So I think it's better to kill it rather than serving old outdated information. If there are more interests from the community we will reconsider adding or resurrecting this. Just to clarify this do not delete the hu documentation and also have no such intention to delete. The documentation will remain as is. Approved by: carlavilla fernape Differential Revision: https://reviews.freebsd.org/D41646
* website: Remove the already disabled languagesDanilo G. Baio2023-07-282-5/+0
|
* Activate git info in the documentation portal and in the websiteSergio Carlavilla Delgado2022-04-081-1/+1
| | | | | | | | | In all pages except the main page for documentation portal and website will be shown information about who made the last modification and when. Thanks to dbaio@ and lwhsu@ to work into the CI infrastructure to reactivate the git info :)
* Disable Git informationSergio Carlavilla Delgado2022-03-251-1/+1
| | | | | The Hugo git information fails in the jenkins instance. Disable until find a proper solution.
* Add last modified to documentation and websiteSergio Carlavilla Delgado2022-03-251-1/+1
| | | | | Add the last modified information to the articles and books in the Documentation Portal and in the website.
* Activate events calendar ics and fix some warningsSergio Carlavilla Delgado2022-02-281-1/+1
| | | | | PR: 249061 Submitted by: lwhsu@
* website/config/_default/languages.fr.toml: Translate title.Marc Fonvieille2022-02-071-1/+1
|
* Add new security configuration to Hugo configuration.Sergio Carlavilla Delgado2021-12-271-0/+11
| | | | | | | | | | | | | Hugo added a security policy in 0.91 version to restric access to os/exec, remote communication and similar as can be readed here[1] * Allow the use of AsciiDoctor to 'exec' * Add 'LOAD_PATH' and 'RUBYLIB' to 'osEnv' variables to allow the use of custom AsciiDoctor extensions Reported by: Li-Wen Hsu [1] https://gohugo.io/about/security-model/
* hugo: Ignore gettext po files when buildingDanilo G. Baio2021-06-121-1/+1
|
* Allow building the documentation and the website with upstream hugoSergio Carlavilla Delgado2021-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | When we build our documentation and website we use a hacked version of www/gohugo that allows for arbitrary asciidoc extensions. This was added as a patch in r562416. The suggested pull request[1] this patch was based on was not accepted "as is" and only allows the execution of extensions in Ruby's $LOAD_PATH. With these changes, we add our <docroot>shared/lib directory to Ruby's library directory so we can load our custom extensions. This also allows building the docs and website outsite FreeBSD using upstream and unmodified tools. Tested with the upcoming vanilla gohugo-0.82 provided by gohugo's maintainer. [1] https://github.com/gohugoio/hugo/pull/8131 Patch by: fernape@ Differential Revision: https://reviews.freebsd.org/D29410
* Add gitref macro to reference a git hashSergio Carlavilla Delgado2021-02-131-1/+1
| | | | | | | | | | | | | | | | | | With this extension a git hash can be easily referenced. The porters handbook versions chapter uses this extension as an example in the FreeBSD 14.0 version table. An example of use gitref:hash[repository="src|doc|ports",length=hash-longitude] The repository should be src, doc or ports. And if no length it's specified the macro will use 12 characters of the specified hash. PR: 253050 Submitted by: jhb@
* Restore robots.txtSergio Carlavilla Delgado2021-01-261-0/+1
| | | | Restore the robots.txt file using Hugo configuration
* Fix links in the main page.Sergio Carlavilla Delgado2021-01-261-2/+2
| | | | | Add releases.toml to git ignored files Fix bad translation in German configuration file
* Migrate doc to Hugo/AsciiDoctorSergio Carlavilla Delgado2021-01-2513-0/+90
I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core