hugo/common/hugo
Bjørn Erik Pedersen 59af05cabc Add HUGO_PUBLISHDIR to the Node environment
So you can do  `process.env.HUGO_PUBLISHDIR` in your `postcss.config.js` to figure out where Hugo publishes
its files.

Note that the value will always be an absolute file path and will point to a directory on disk even when running `hugo server` in memory mode.

If you write to this folder from PostCSS when running the server, you could run the server with one of these flags:

```
hugo server --renderToDisk
hugo server --renderStaticToDisk
```

Fixes #10554
2022-12-22 12:43:50 +01:00
..
hugo.go Add HUGO_PUBLISHDIR to the Node environment 2022-12-22 12:43:50 +01:00
hugo_test.go common: Add hugo.GoVersion 2022-06-14 09:48:45 +02:00
vars_extended.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
vars_regular.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
version.go Accept vendor-specified build date if .git/ is unavailable 2022-06-28 20:51:18 +02:00
version_current.go releaser: Prepare repository for 0.109.0-DEV 2022-12-06 13:50:51 +00:00
version_test.go common/hugo: Fix version logic 2022-05-16 13:01:52 +02:00