Commit Graph

4105 Commits

Author SHA1 Message Date
Septs 452bf675ce resource/page: Add Page.Ancestors
Fixes #10567
2022-12-23 10:14:53 +01:00
Bjørn Erik Pedersen 8f0fcba6bd 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
Bjørn Erik Pedersen ddb5fd6b04 Merge commit '41bc6f702aa54200530efbf4267e5c823df3028d' 2022-12-20 11:04:41 +01:00
Bjørn Erik Pedersen 2c0125b529 Remove .Site.Author
I will eventually deprecate and remove this.
2022-12-19 21:48:25 +01:00
Bjørn Erik Pedersen 54c54bf765 modules: Adjust watch logic vs workspace use definitions 2022-12-19 20:17:33 +01:00
Ivan Duka 2cf8841b35 Update partialCached.md (#1924)
* Update partialCached.md

Clarifying mechanics of `partialCached`

* incorporating jmooring's feedback
2022-12-18 21:06:26 -08:00
tyytytytyiigo 385487191b Update data-templates.md (#1926)
Co-authored-by: jafaican <118852541+jafaican@users.noreply.github.com>
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com>
2022-12-18 17:56:11 -08:00
Joe Mooring ce207e1416 Remove redundant markdown and fix a few typos (#1936) 2022-12-18 16:54:18 -08:00
Joe Mooring 3687c29534 Make heading id linkable, take 2 2022-12-18 16:20:28 -08:00
Joe Mooring 45c79bea70 Make heading id linkable 2022-12-18 16:16:11 -08:00
TokiNoKawa b220793447 Delete duplicates the lines 557-569 and 570-582. (#1934)
`## 404 Server Error Page" is duplicated between lines 557-569 and 570-582.
So, lines 570-582 should be deleted.
2022-12-18 16:12:52 -08:00
Joe Mooring 0a90dc1224 Rework the taxonomy variables page (#1935)
Closes #1933
2022-12-18 16:03:49 -08:00
Joe Mooring 26e682a3aa Update multilingual.md
Remove outdated admonition.
2022-12-16 07:16:20 -08:00
Joe Mooring d40e7693ff Update postcss.md 2022-12-14 09:50:37 -08:00
Joe Mooring 375d75c013 Update postcss npm instructions (#1931) 2022-12-13 17:24:47 -08:00
Joe Mooring 63020094ad Emphasize Window shell selection (#1930)
Closes #1928
2022-12-13 12:57:54 -08:00
Bjørn Erik Pedersen 56824be2cc Update configuration.md 2022-12-13 17:06:38 +01:00
Andreas Deininger b7b8f16b34 Docu 'Theme components': minor fix (#1929) 2022-12-10 07:15:40 -08:00
Sergio Carlavilla 09dc81a05a Remove Docker from BSD page (#1927)
Docker does not support any BSD
2022-12-06 07:11:03 -08:00
Bjørn Erik Pedersen 12b59a4c57 docs: Add basic doc for wrapStandAloneImageWithinParagraph etc.
See #10492
2022-12-05 16:50:47 +01:00
Bjørn Erik Pedersen ba07bd9707 dartsass: Add sourceMapIncludeSources option 2022-12-05 16:36:45 +01:00
Randy Burden 4c1309cdfe Fix broken link to front matter page (#1923) 2022-11-25 21:31:51 -08:00
Joe Mooring 8181fff20c Add footnote to Quick Start guide for Win users (#1922)
Closes #1918
2022-11-25 19:38:01 -08:00
Patrick Kollitsch 4fd934f616 Fix abslangurl.md (#1919)
Last missing closing highlighting markers break page layout.
2022-11-24 13:30:31 -08:00
Andreas Deininger bf2c456173 Quick start guide: fix broken links (#1915) 2022-11-24 13:29:19 -08:00
Joe Mooring b5b4f15f96 Add assets directory to directory structure diagram (#1917) 2022-11-23 12:11:50 -08:00
Andreas Deininger 76dd3a82a5 Follow-up: improve function signatures (#1914) (#1916) 2022-11-23 11:53:54 -08:00
Andreas Deininger 656dc72ba8 Improving function signatures (#1914)
Closes #98.
2022-11-23 11:37:51 -08:00
Joe Mooring b715e84073 Explain how to create multilingual content (#1912)
Closes #1910
2022-11-22 13:28:42 -08:00
Joe Mooring 8500ee417f Fix typo in Quick Start guide
Closes #1911
2022-11-22 13:08:12 -08:00
Andreas Deininger ce60bb5729 Add docu for undocumented functions (#1907)
* Document string manipulation functions

* Document crypto.FNV32a function

* Document functions duration and time.ParseDuration

* Changes according to review feedback
2022-11-22 07:40:31 -08:00
Joe Mooring 372bf5e88b Improve Quick Start tutorial 2022-11-21 10:19:45 +01:00
Joe Mooring 71e81ec5f6 Remove asciicast from site 2022-11-21 10:19:45 +01:00
genetikdisoda 1e56c653ff Update hosting-on-cloudflare-pages.md (#1903) 2022-11-20 11:31:57 -08:00
Andreas Deininger 1686f60b14 Adding documentation page for function 'strings.FirstUpper' (#1901) 2022-11-20 05:49:51 -08:00
Andreas Deininger d533f7c9c8 Fixing typos (#1900)
Adding related functions
2022-11-19 09:09:57 -08:00
Harald Ernst 2563eee45e Update multilingual.md (#1899)
defaultContentLang does not work. 
to set the the default language use: defaultContentLanguage (as written above)
2022-11-19 07:40:12 -08:00
Matthew Wildman 5591b88756 Update urls.md (#1897)
Fixed a typo.
2022-11-17 11:14:44 -08:00
Bjørn Erik Pedersen 512879fdd1 docs: Regen CLI docs 2022-11-17 16:19:22 +01:00
Bjørn Erik Pedersen 9feacb48f8 Merge commit '00c4484c7092181729f6f470805bc7d72e8ad17b' 2022-11-17 16:16:19 +01:00
Joe Mooring 32cb8785ea Fix page weights in content management section (#1896)
Closes #1285
2022-11-16 23:59:20 -08:00
Joe Mooring 11977b96f3 Make relURL and related functions consistent (#1895)
This addresses changes made in:
https://github.com/gohugoio/hugo/pull/10002

Closes #469
2022-11-16 22:58:11 -08:00
Jonathan Shull f12180207a Clarify github deployment (#1894) 2022-11-16 16:54:42 -08:00
Joe Mooring 9588777891 Remove remaining references to Highlight.js (#1893)
Closes #577
2022-11-16 16:11:39 -08:00
Joe Mooring fc487d2632 Minor edit to taxonomy page 2022-11-16 15:11:49 -08:00
Joe Mooring b28553b624 Change "flavor" to "edition" when referring to builds (#1892) 2022-11-14 13:25:39 -08:00
9glenda 660e7581cc Replaced sudo in OpenBSD with doas (#1891)
OpenBSD doesn't ship with sudo. It ships with the sudo alternative doas.
2022-11-13 15:48:37 -08:00
Christian Oliff e3fcdea104 fix a few minor grammatical issues on Firebase docs (#1889) 2022-11-12 21:55:52 -08:00
Christian Oliff e4c8b30eb4 update Static Web Apps docs (#1890)
Azure Static Web Apps is a specific product so it's important to use that for the title rather than just 'Azure'.
2022-11-12 21:54:42 -08:00
Bruno Gurgel da2197c9e6 Update hosting-on-firebase.md (#1347)
Firebase now does support native integration with Github Actions for CICD. Including steps on this documentation.
2022-11-12 20:34:08 -08:00