commit 57a707ce60297e90cbd8265fbebf428eef695c95 from: Anton Kasimov date: Mon May 18 13:01:21 2026 UTC Переход на Hugo > 0.160 commit - 5742c0c476c0327c5a81048d993b123fd5b4f24f commit + 57a707ce60297e90cbd8265fbebf428eef695c95 blob - e6f2d96b6bffcc816640509b65a2511491916160 blob + 71b14c986e0d204480926c4e0e82af40b948b3d5 --- layouts/_partials/head/base.html +++ layouts/_partials/head/base.html @@ -4,4 +4,4 @@ {{- with .Description }} {{ end }} - + blob - bdc2e5041ba1c8e3ee365faf89d2a7eb2112d492 blob + 73bc6d770f28e383dc16b74913e8da3e655217c9 --- layouts/_partials/head/css.html +++ layouts/_partials/head/css.html @@ -1,8 +1,10 @@ {{- with resources.Get "css/main.css" | postCSS }} {{- if eq hugo.Environment "development" }} - + {{- with . | css.Build }} + + {{- end }} {{- else }} - {{- with . | minify | fingerprint }} + {{- with . | css.Build (dict "minify" true) | fingerprint }} {{- end }} {{- end }} blob - b41514e6d087eb0afa4d49ad5ab408ccd8fd665c blob + 00cb92cb03bf4a2f58a2ee978a74f1225ca819d8 --- layouts/_partials/image.html +++ layouts/_partials/image.html @@ -16,4 +16,4 @@ height="{{ . }}" {{- end }} {{ with .alt }}alt="{{ . }}"{{ end }} -/> +> blob - 246c5ba6d844fee8e8ba2b278841c53576e15677 blob + afeccfd4072b49e27cb6fd9b4458f08a5629ea0d --- layouts/_partials/logo.html +++ layouts/_partials/logo.html @@ -1,4 +1,7 @@ {{- $img := resources.Get (default "img/logo.svg" .image) }} - + {{- partial "image" (dict "image" $img "alt" (default "Logo image" .alt)) -}} blob - 7f2cbee50e3449cf3083ae55c8ead7b84b8c1fe9 blob + 921cd60f9b3ab88d884e5546adfc2d1ee441e39d --- layouts/_shortcodes/source.html +++ layouts/_shortcodes/source.html @@ -18,4 +18,4 @@ + {{- end }} > blob - bbc0dad791de7bf3eb55e939679a4ed13011c446 blob + 2890f33ceee990006cbc257a3d98d671fd4d0b4d --- postcss.config.mjs +++ postcss.config.mjs @@ -1,11 +1,7 @@ import UnoCSS from '@unocss/postcss' -import postcssImport from 'postcss-import' export default { plugins: [ - postcssImport({ - path: ['assets/css'] - }), UnoCSS(), ], }