Commit Graph
10074 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen 2f84d0896b netlify: Hugo 0.92.1 2022-01-27 13:46:11 +01:00
Bjørn Erik Pedersen b55f5773b1 Update complement.md 2022-01-25 20:37:10 +01:00
Joe Mooring 7013ee43e7 Remove deprecated RSSLink from page variables 2022-01-25 06:09:21 -08:00
Joe Mooring 1c3fb6ed30 Remove deprecated page vars (#1638) 2022-01-25 05:57:22 -08:00
Bjørn Erik Pedersen 9bd0af3abf Update union.md 2022-01-25 14:10:01 +01:00
Bjørn Erik Pedersen 4576487a0f Update symdiff.md 2022-01-25 14:09:17 +01:00
Tim Torres 58f1b26c74 Update starter-kits.md (#1521)
Blaupause, victor-hugo, hugulp, and atlas are all either deprecated, archived, or abandoned.
2022-01-24 11:12:22 -08:00
Joe Mooring 285356c1d6 Move inline partials section (#1635)
Closes #1634
2022-01-18 07:03:45 -08:00
Joe Mooring 4d08625d22 Improve directions for editing Win 10 path env var (#1632)
Closes #1631
2022-01-18 06:43:31 -08:00
Matthew Sanabria 41d9c78042 Update page content (#1629)
* Update page content

The Security Model page had some grammatical errors, incorrect spelling of words, and unclear context. These were all addressed in this commit.

* Update verbiage
2022-01-17 11:09:05 -08:00
Andreas Deininger d05536cadf Removed unpaired quote character (#1630) 2022-01-17 08:35:38 -08:00
Bjørn Erik Pedersen 3b0fdcd883 netlify: Bump to Hugo 0.92.0 2022-01-12 10:36:36 +01:00
Bjørn Erik Pedersen cdb0683468 docs: Regenerate docshelper 2022-01-12 08:17:03 +01:00
Bjørn Erik Pedersen 778503ca8f Merge commit 'a8e9fc699a6ff7d578f97a7c553ce844efad8fdb' 2022-01-12 08:16:35 +01:00
Bjørn Erik Pedersen 2d2401c915 docs: Add dependency table to maintainance page
See #8949
2022-01-11 21:57:37 +01:00
Bjørn Erik Pedersen b8b20e9a25 Update index.md 2022-01-11 19:23:17 +01:00
Bjørn Erik Pedersen 6bc95c3860 Add hugo.Deps
Fixes #8949
2022-01-11 18:06:23 +01:00
Bjørn Erik Pedersen 19d0b5e23f docs. Regen CLI docs
Closes #9363
2022-01-07 12:37:07 +01:00
Bjørn Erik Pedersen f33994fe65 Remove files.Extension (duplicate of files.Ext) 2022-01-05 11:27:28 +01:00
Bjørn Erik Pedersen 76a750d961 docs: Regenerate CLI docs 2022-01-04 17:12:09 +01:00
Bjørn Erik Pedersen 70156962aa docs: Regenerate docshelper 2022-01-04 17:11:17 +01:00
Bjørn Erik Pedersen 948d6d69d9 layouts: Use .File.Path 2022-01-04 13:55:21 +01:00
Joe Mooring d3050b78c9 Document .Page.BundleType (#1620)
Closes #785
2021-12-30 07:36:31 -08:00
Mark A. Matienzo 8a033918f9 Image filters: ensure Grayscale is a level-2 heading
The `images.Grayscale` function was previously tagged as an h3, leading to its omission from the righthand navigation.
2021-12-30 10:13:48 +01:00
Joe Mooring 98537018f9 Document .Publish method for global resources 2021-12-29 20:17:32 +01:00
Patrick Kollitsch 963ddc994a docs: add a link to the mailmap documentation
I find that Hugo should contain more links to relevant documentation of features in other tools/documentations. Please let me know if we don't want that and I'll stop. In this specific case I read about `.mailmap` in the Hugo docs and as a developer knew what was meant, but I think less dev-y users might not understand this. Instead of starting to add paragraphs about the format maybe it's ok to link to the features docs? As I said, let me know if that is overkill/bloat. It would make my life easier than seeing a word and googling it :)

(for instance, if we link to git in this case we don't need to add extra-documentation about what the mailmap file should look like and what should be in there)
2021-12-26 17:05:52 +01:00
Bjørn Erik Pedersen 915f858dce Fix release notes version 2021-12-23 18:06:24 +01:00
Bjørn Erik Pedersen 58093dafec Update index.md 2021-12-23 18:03:30 +01:00
Bjørn Erik Pedersen 8008ba1e1f Release 0.91.2 2021-12-23 17:59:17 +01:00
Bjørn Erik Pedersen d1788dae83 Merge branch 'tempv0.91.2' 2021-12-23 17:42:29 +01:00
Bjørn Erik Pedersen af2970180d Revert "config/security: Add HOME to default exec env var whitelist"
There have been one report in the wild suggesting that this needs to be tested better before doing:

https://discourse.gohugo.io/t/hugo-mod-failing-in-v0-91-1-but-works-in-v0-91-0/36180/5

This reverts commit fca266ebbb.
2021-12-23 16:23:15 +01:00
Bjørn Erik Pedersen 2648d3088c netlify: Hugo 0.91.1 2021-12-22 17:20:30 +01:00
Bjørn Erik Pedersen d0801599cf Merge branch 'tempv0.91.1' 2021-12-22 17:19:10 +01:00
Bjørn Erik Pedersen b343bfd7aa config/security: Add HOME to default exec env var whitelist
See #9309
2021-12-22 11:33:59 +01:00
Joe Mooring 03fbb403f3 Update data-templates.md
Closes #1610
2021-12-19 19:21:09 -08:00
Joe Mooring 2f608055ff Correct GetRemote docs and examples 2021-12-17 16:51:02 +01:00
Bjørn Erik Pedersen 4e942166ab Update 2021-12-17-no-more-releasenotes.md 2021-12-17 13:26:03 +01:00
Bjørn Erik Pedersen dbf9514fd6 Update security.toml
Add BRANCH to env whitelist.
2021-12-17 13:22:58 +01:00
Bjørn Erik Pedersen 2c38aa356c Update index.md 2021-12-17 13:21:28 +01:00
Bjørn Erik Pedersen 562ad8e969 Add timeZone 2021-12-17 13:19:44 +01:00
Bjørn Erik Pedersen 4bc4821521 Update introduction.md 2021-12-17 12:27:49 +01:00
Bjørn Erik Pedersen 1eb66c758b news: Add a note about the placement of release notes 2021-12-17 12:25:18 +01:00
Bjørn Erik Pedersen b2a293abb1 Remove the default archetype template 2021-12-17 12:22:35 +01:00
Bjørn Erik Pedersen f9837793ca netlify: Hugo 0.91.0 2021-12-17 12:19:31 +01:00
Bjørn Erik Pedersen 467256ad5a docs: Regen docs helper 2021-12-17 10:31:08 +01:00
Bjørn Erik Pedersen 68554cf77c Add some basic security policies with sensible defaults
This ommmit contains some security hardening measures for the Hugo build runtime.

There are some rarely used features in Hugo that would be good to have disabled by default. One example would be the "external helpers".

For `asciidoctor` and some others we use Go's `os/exec` package to start a new process.

These are a predefined set of binary names, all loaded from `PATH` and with a predefined set of arguments. Still, if you don't use `asciidoctor` in your project, you might as well have it turned off.

You can configure your own in the new `security` configuration section, but the defaults are configured to create a minimal amount of site breakage. And if that do happen, you will get clear instructions in the loa about what to do.

The default configuration is listed below. Note that almost all of these options are regular expression _whitelists_ (a string or a slice); the value `none` will block all.

```toml
[security]
  enableInlineShortcodes = false
  [security.exec]
    allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
    osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']

  [security.funcs]
    getenv = ['^HUGO_']

  [security.http]
    methods = ['(?i)GET|POST']
    urls = ['.*']
```
2021-12-16 09:40:22 +01:00
Bjørn Erik Pedersen 4eb10c1a96 Set a sensible maxAge on the image cache 2021-12-12 15:18:21 +01:00
Bjørn Erik Pedersen 2c37f4f898 Update lists.md 2021-12-11 20:31:28 +01:00
Bjørn Erik Pedersen 8690c018fd Update introduction.md 2021-12-11 18:27:35 +01:00
Bjørn Erik Pedersen 0458c3d887 Update index.md 2021-12-11 16:04:06 +01:00