Suositut: Tiedot päivitetty 25. marraskuuta 2026

Kategoriat

Internet1 425
Viestintä330
Ääni ja video941
Grafiikka ja suunnittelu570
Toimisto ja tuottavuus1 192
Kehitystyökalut3 303
Tekoälytyökalut614
Tietoturva ja yksityisyys410
Järjestelmätyökalut3 210
Pelit545
Opiskelu ja tiede242
Verkko ja IT296

Lataa Hugo 0.152.2

The world’s fastest framework for building websites

Tämä on vanhempi versio. Uusin versio on 0.170.1. Hugo 0.170.1 · Julkaistu:

Asennustiedostot 0.152.2

ArkkitehtuuriTyyppiLaajuusTiedostokokoLatausSHA256
64-bittinen ZIP → Portable — — github.com VirusTotal
ARM64 ZIP → Portable — — github.com VirusTotal

Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.

Muutosloki

In v0.152.0 we tightened the source validation for file mounts. We always said that project mounts can mount with absolute file/directorynames, modules/themes are restricted to relative. In v0.152.0 we narrowed module/themes mounts to be local, which made the setup in the bug report listed below fail:
[[module.mounts]]
source = '../../node_modules/bootstrap'
target = 'assets/vendor/bootstrap'
One part of this is security. But the construct above is usually very odd (the project uses files in a theme/module, not the other way around) and not very portable. But the example above demonstrates a valid exception, that we now have added support for in a portable way. The above example now works as it did before v0.152.0, but going forward you can also write:
[[module.mounts]]
source = 'node_modules/bootstrap'
target = 'assets/vendor/bootstrap'
We now have the node_modules as a special case: For themes/modules we first check if the mounted source exists locally, if not we try relative to the project root.
What's Changed
- deps: Update github.com/tdewolff/minify v2.24.4 ⇒ v2.24.5 1c8c21e45 @jmooring #14086
- hugofs: Make node_modules a "special case" mount 809ebe01f @bep #14089
- github: Fix typo in stale PR message 08a0679a8 @jordelver

https://github.com/gohugoio/hugo/releases/tag/v0.152.2

Suosituin kategoriassa Ohjelmointikielet ja SDK:t

Näytä kaikki
  1. Go Programming LanguageOhjelmointikielet ja SDK:t
  2. LLVMOhjelmointikielet ja SDK:t · LLVM
  3. DenoOhjelmointikielet ja SDK:t · Deno Land Inc.
  4. CMakeOhjelmointikielet ja SDK:t · Kitware
  5. YarnOhjelmointikielet ja SDK:t · Yarn Contributors
  6. pnpmOhjelmointikielet ja SDK:t · pnpm
  7. CcacheOhjelmointikielet ja SDK:t · Joel Rosdahl
  8. sbtOhjelmointikielet ja SDK:t · Lightbend, Inc.
  9. BOINCOhjelmointikielet ja SDK:t · Space Sciences Laboratory, U.C. Berkeley
  10. Dart SDKOhjelmointikielet ja SDK:t · Google

Lisää julkaisijalta The Hugo Authors

Näytä kaikki

Tunnisteet

Jaa