hugo/commands
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
..
commandeer.go Add HUGO_PUBLISHDIR to the Node environment 2022-12-22 12:43:50 +01:00
commands.go
commands_test.go commands: Create assets directory with new site 2022-11-21 09:42:40 +01:00
config.go
convert.go
deploy.go
env.go Make the hugo env non verbose output slightly more verbose 2022-12-06 13:37:08 +01:00
gen.go
genchromastyles.go
gendoc.go
gendocshelper.go
genman.go
helpers.go
hugo.go Add any configured Go Workspace file to the config watcher 2022-12-19 20:17:33 +01:00
hugo_test.go
hugo_windows.go
import_jekyll.go
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go
list_test.go
mod.go
mod_npm.go
new.go
new_content_test.go
new_site.go commands: Create assets directory with new site 2022-11-21 09:42:40 +01:00
new_theme.go
nodeploy.go
release.go
release_noop.go
server.go server: Fix 404 redirects on Windows 2022-09-23 13:07:56 +02:00
server_errors.go
server_test.go Skip flakey server tests on GitHub Action on Windows 2022-10-26 09:29:55 +02:00
static_syncer.go Also consider wrapped errors when checking for file IsNotExist errors 2022-12-14 13:51:06 +01:00
version.go