diff --git a/content/en/news/news-05.md b/content/en/news/news-05.md index cd05d5857..7e8ce36e4 100644 --- a/content/en/news/news-05.md +++ b/content/en/news/news-05.md @@ -19,7 +19,7 @@ Including fixes for: [View the full 3.4.1 changelog](https://github.com/Warzone2100/warzone2100/raw/3.4.1/ChangeLog) -**(For all the changes since 3.3.0, see the [Version 3.4.0 release announcement]({{< ref "news-04.md" >}}).)** +**(For all the changes since 3.3.0, see the [Version 3.4.0 release announcement]({{< newslink "news-04.md" >}}).)** There have been **over 70 commits since 3.4.0**, from many contributors including: Colin MacDonald, Cyp, Ilari Tommiska, KJeff01, past-due, Prot, Vitya Andreev diff --git a/content/en/news/news-10.md b/content/en/news/news-10.md index 3bf4fd2d3..40cffd9b5 100644 --- a/content/en/news/news-10.md +++ b/content/en/news/news-10.md @@ -23,7 +23,7 @@ Including fixes for: [View the full 4.0.1 changelog](https://github.com/Warzone2100/warzone2100/raw/4.0.1/ChangeLog) -**(For all the changes in 4.0.0, see the [Version 4.0.0 release announcement]({{< ref "news-09.md" >}}).)** +**(For all the changes in 4.0.0, see the [Version 4.0.0 release announcement]({{< newslink "news-09.md" >}}).)** There have been **40 commits since 4.0.0**, from many contributors including: Federico Dossena, KJeff01, Maxim Zhuchkov, past-due, Thiago Romão Barcala, Thomas Rupprecht diff --git a/content/en/news/news-13.md b/content/en/news/news-13.md index 1e5bd6e18..e0a0d4732 100644 --- a/content/en/news/news-13.md +++ b/content/en/news/news-13.md @@ -25,7 +25,7 @@ And a number of balance tweaks: [View the full 4.1.1 changelog](https://github.com/Warzone2100/warzone2100/raw/4.1.1/ChangeLog) -**(For all the changes in 4.1.0, see the [Version 4.1.0 release announcement]({{< ref "news-12.md" >}}).)** +**(For all the changes in 4.1.0, see the [Version 4.1.0 release announcement]({{< newslink "news-12.md" >}}).)** **[Download Options]({{< ref "/" >}})** diff --git a/content/en/news/news-14.md b/content/en/news/news-14.md index 6a494001c..a7670e31f 100644 --- a/content/en/news/news-14.md +++ b/content/en/news/news-14.md @@ -21,7 +21,7 @@ Including: [View the full 4.1.2 changelog](https://github.com/Warzone2100/warzone2100/raw/4.1.2/ChangeLog) -**(For all the changes in 4.1.0, see the [Version 4.1.0 release announcement]({{< ref "news-12.md" >}}).)** +**(For all the changes in 4.1.0, see the [Version 4.1.0 release announcement]({{< newslink "news-12.md" >}}).)** **[Download Options]({{< ref "/" >}})** diff --git a/content/en/news/news-15.md b/content/en/news/news-15.md index c88cbdb6d..5ef21b547 100644 --- a/content/en/news/news-15.md +++ b/content/en/news/news-15.md @@ -21,7 +21,7 @@ And the following multiplayer balance adjustments: [View the full 4.1.3 changelog](https://github.com/Warzone2100/warzone2100/raw/4.1.3/ChangeLog) -**(For all the changes in 4.1.0, see the [Version 4.1.0 release announcement]({{< ref "news-12.md" >}}).)** +**(For all the changes in 4.1.0, see the [Version 4.1.0 release announcement]({{< newslink "news-12.md" >}}).)** **[Download Options]({{< ref "/" >}})** diff --git a/content/pt-BR/news/news-09.md b/content/pt-BR/news/news-09.md deleted file mode 100644 index a09a8ad71..000000000 --- a/content/pt-BR/news/news-09.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: "Version 4.0.0 released" -date: 2021-04-04 # no-translate -draft: false # no-translate -slug: "version-4-0-0" -tags: - - "Releases" ---- - -With over **1000 commits** since the last release, it’s time for Warzone 2100 v**4.0.0**! - -#### 4.0.0 General Highlights: - -- New graphics backend support: - - New support for: - - **[Vulkan 1.0+](https://en.wikipedia.org/wiki/Vulkan_%28API%29)** - - **[OpenGL ES 3.0 / 2.0](https://en.wikipedia.org/wiki/OpenGL_ES)** - - **[DirectX](https://en.wikipedia.org/wiki/DirectX)** (via [libANGLE](https://en.wikipedia.org/wiki/ANGLE_%28software%29), OpenGL ES -> DirectX) - - **[Metal](https://en.wikipedia.org/wiki/Metal_%28API%29)** (via [MoltenVK](https://github.com/KhronosGroup/MoltenVK), Vulkan -> Metal) - - In addition to the existing support for: - - **[OpenGL 3.0+ Core Profile](https://en.wikipedia.org/wiki/OpenGL#OpenGL_3.0)** (default), **[OpenGL 2.1 Compatibility Profile](https://en.wikipedia.org/wiki/OpenGL#Version_history)** - - See the new "Graphics Backend" option in the Video Options menu. -- New "Factions" for multiplayer / skirmish -- Higher-res terrain textures, backdrops -- New Music Manager, + Lupus-Mechanicus's new soundtrack album -- Support for "script-generated" / "random" maps (and two new built-in maps that take advantage of this: `6p-Entropy` and `10p-Waterloop`) -- Scrollable room chat, and many other UI / widget improvements -- Updated / smarter AI bots (Bonecrusher, Cobra) -- New "headless" mode (for `--autogame`, `--autohost`, `--skirmish`) -- JS API enhancements, + a new "Script Debugger" -- Removal of Qt as a dependency, + a new embedded JS engine: QuickJS -- New Blender 2.9x ".pie" addon -- Quality-of-Life / smoothness improvements -- Hundreds of bug fixes - -With this release, we also now offer native builds for additional platforms: -- New: **Windows 64-bit builds** (for both Intel 64-bit / x64, and ARM64) -- New: **macOS Universal Binaries** with native Apple Silicon support (in addition to Intel 64-bit support) - -[View the full 4.0.0 changelog](https://github.com/Warzone2100/warzone2100/raw/4.0.0/ChangeLog) - -There have been over **1000 commits** since the last stable release, from many contributors including: Alexander Volkov, alfred007 / highlander1599, Bennett Somerville, Björn Ali Göransson, cpdef, Cyp, Daniel Llewellyn, Ilari Tommiska, inodlite, Karamel, KJeff01, lakebeans, Lupus-Mechanicus, Maxim Zhuchkov, Next67, past-due, Paweł Perłakowski, Prot EuPhobos, Solstice245, Thiago Romão Barcala, Tipchik, toilari, Topi Miettinen, TotalCaesar659, Vitya Andreev - -We'd also like to thank all of the new and returning translators who have helped to improve the translations for the game via the [Crowdin project](https://crowdin.com/project/warzone2100). For more information on how to help with translations, see [doc/Translations.md](https://github.com/Warzone2100/warzone2100/blob/master/doc/Translations.md#how-do-i-help-translate). - -Please report all bugs [on GitHub](https://github.com/Warzone2100/warzone2100/issues). - -And don't forget to check out the new official Discord server: - -{{< discordinvite description="Official Server" >}} diff --git a/content/pt-BR/news/news-10.md b/content/pt-BR/news/news-10.md index 9829cb58d..b04814362 100644 --- a/content/pt-BR/news/news-10.md +++ b/content/pt-BR/news/news-10.md @@ -23,7 +23,7 @@ Incluindo correções para: [Veja o registro de alterações completo da versão 4.0.1](https://github.com/Warzone2100/warzone2100/raw/4.0.1/ChangeLog) -**(Para ver todas as alterações na versão 4.0.0, veja o [Anúncio de lançamento da versão 4.0.0]({{< ref "news-09.md" >}}).)** +**(Para ver todas as alterações na versão 4.0.0, veja o [Anúncio de lançamento da versão 4.0.0]({{< newslink "news-09.md" >}}).)** Houve **40 commits desde 4.0.0**, com a contribuição de vários usuários, incluindo: Federico Dossena, KJeff01, Maxim Zhuchkov, past-due, Thiago Romão Barcala, Thomas Rupprecht diff --git a/themes/wz2100net/layouts/shortcodes/newslink.html b/themes/wz2100net/layouts/shortcodes/newslink.html index 3fbaa06be..19b5abce8 100644 --- a/themes/wz2100net/layouts/shortcodes/newslink.html +++ b/themes/wz2100net/layouts/shortcodes/newslink.html @@ -3,7 +3,7 @@ {{- if not $page -}} {{- with .Page -}} {{- if ne .Page.Site.Language.Lang .Page.Sites.Default.Language.Lang -}} -{{- with .Sites.Default.GetPage .Page.Dir }} +{{- with .Sites.Default.GetPage .File.Dir }} {{- $page = .GetPage $URL -}} {{- end -}} {{- else -}}