Commit Graph
13874 Commits
Author SHA1 Message Date
Joe Mooring 8c25cfc5c1 Update index.md
Reverting changes from d9f7cfc0 that were superseded by 060076cb.
2022-11-08 19:18:12 -08:00
Joe Mooring 09fea41e0c Add lang to fenced code block 2022-11-07 03:12:11 -08:00
Joe Constant 35b9047988 Add small documentation about .Site.Social.twitter variable (#1854) 2022-11-07 03:10:32 -08:00
Joe Mooring 672042f898 Consolidate site configuration
Merged settings from config.toml in project root into
config/_default/config.toml.

Closes #1596
2022-11-07 11:56:14 +01:00
dfd4dd8739 Add help.ampio.com showcase. (#1863)
* Initial draft of help.ampio.com showcase.

* A couple of editorial changes

* Add TNTSearch link

* fix in "sorting issue" desc

* vscode paragraph redacted

* document lint

* vscode paragraph redacted again

* fix Ampio operations period

* last fixes

* Switch to 'one line per paragraph' markdown formatting flavour

* Apply suggestions from code review

Co-authored-by: Joe Mooring <joe@mooring.com>

Co-authored-by: anna.steyn <anna.steyn@ampio.pl>
Co-authored-by: Joe Mooring <joe@mooring.com>
2022-11-07 00:52:45 -08:00
anakinsleftlegandJoe Mooring e8d0e7bdf0 Include link to internal templates code (#1794)
* Include link to internal templates code

* Update content/en/templates/internal.md

Co-authored-by: Joe Mooring <joe@mooring.com>
2022-11-06 23:58:16 -08:00
Joe Mooring 7db6f0c018 Add example to split function (#1867) 2022-11-06 21:32:18 -08:00
anakinsleftlegandJoe Mooring be87dba80d Clarify split function docs (#1792)
* Clarify split function docs

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Joe Mooring <joe@mooring.com>
2022-11-06 21:25:53 -08:00
Joe Mooring a079193f19 Fix typo on data templates page 2022-11-06 20:55:56 -08:00
Joe ConstantandJoe Mooring b234c70ee3 Fix data templates page (#1855)
* Fix explanation about how duplicate keys in duplicate files are handled

* Add information about valid filenames including examples

* Update content/en/templates/data-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/templates/data-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/templates/data-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Apply suggested changes

* Update content/en/templates/data-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/templates/data-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/templates/data-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

Co-authored-by: Joe Mooring <joe@mooring.com>
2022-11-06 20:53:52 -08:00
mark-nihilistconsumer-com 074232b45c Update front-matter.md (#1856)
Fix typo
2022-11-06 11:15:20 -08:00
ahaaster 711c8fa80a Added missing default value (#1862) 2022-11-06 11:12:00 -08:00
Andrew DawesandJoe Mooring 0347628824 Fixed some grammar issues and typos (#1865)
* Fixed some grammar issues and typos

* Update content/en/content-management/sections.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/content-management/shortcodes.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/getting-started/configuration.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/hosting-and-deployment/hosting-on-netlify.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/templates/menu-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/templates/menu-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

* Update content/en/templates/shortcode-templates.md

Co-authored-by: Joe Mooring <joe@mooring.com>

Co-authored-by: Joe Mooring <joe@mooring.com>
2022-11-06 11:10:20 -08:00
Joe Mooring 764574a4dc Fix spelling error 2022-11-06 11:00:55 -08:00
Christian Oliff 2698f2d440 update URLs to prevent redirects (#1864) 2022-11-04 21:22:39 +09:00
Bjørn Erik Pedersen 52ea07d2eb Fix taxonomy weight sort regression
Fixes #10406
2022-11-01 18:45:34 +01:00
Christian Oliff 68f05fdc83 Fenced code blocks should have a language specified (#1861) 2022-10-31 09:49:33 +09:00
Alex 24393315bf GitHub Workflows security hardening (#1859) 2022-10-31 08:42:57 +09:00
Christian Oliff 3eeee13bf4 Markdown formatting: Add Fenced code block languages (#1858) 2022-10-30 22:15:25 +09:00
Bjørn Erik Pedersen e152cdf1ff netlify: Hugo 0.105.0 2022-10-28 14:56:36 +02:00
Bjørn Erik Pedersen 4c7fc9f7ef Merge branch 'tempv0.105.0' 2022-10-28 14:55:39 +02:00
hugoreleaser 77fc74a5b2 releaser: Prepare repository for 0.106.0-DEV
[ci skip]
2022-10-28 12:41:15 +00:00
hugoreleaser 0e3b42b4a9 releaser: Bump versions for release of 0.105.0
[ci skip]
2022-10-28 12:29:05 +00:00
dependabot[bot] f50585442d build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.12 to 0.2.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.12...v0.2.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-28 14:10:21 +02:00
dependabot[bot] 2aedccc9a9 build(deps): bump github.com/getkin/kin-openapi from 0.106.0 to 0.107.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.106.0 to 0.107.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.106.0...v0.107.0)

---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-28 14:09:21 +02:00
dependabot[bot] c10931404f build(deps): bump golang.org/x/text from 0.3.7 to 0.4.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.4.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.4.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 12:28:57 +02:00
dependabot[bot] 4732c47d1d build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 12:28:37 +02:00
dependabot[bot] 62780ec8dd build(deps): bump github.com/getkin/kin-openapi from 0.103.0 to 0.106.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.103.0 to 0.106.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.103.0...v0.106.0)

---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 12:28:21 +02:00
dependabot[bot] 351d6b062b build(deps): bump github.com/tdewolff/minify/v2 from 2.12.1 to 2.12.4
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.12.1 to 2.12.4.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.12.1...v2.12.4)

---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 13:02:40 +02:00
Bjørn Erik Pedersen 631d768be9 Revise the fix for shortcode vs output format nilpointer
We do lazy initialization and (potentially) reuse of an output format's rendered content. We do this evaluation when we
start a new rendering a new output format. There are, however, situation where these borders gets crossed (e.g.
accessing content from another output format). We have a check for this in place for most cases, but not the content
rendering of inner markdown blocks inside shortcodes. This patch applies that same logic to the newly introduced
RenderContent method (which is not available from the templates).

Fixes #10391
2022-10-26 13:00:21 +02:00
davidejones e5d2a8f6a3 Avoid nilpointer when shortcode page content output nil
Updates #10391
2022-10-26 13:00:21 +02:00
Bjørn Erik Pedersen 00ff161b67 livereload: Use text/javascript here, too 2022-10-26 12:54:50 +02:00
Bjørn Erik Pedersen 588710a7ac media: Rename application/javascript, application/typescript to text/javascript etc.
The former is deprecated.

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
See https://discourse.gohugo.io/t/mime-type-for-javascript-is-now-text-javascript/40813
2022-10-26 10:38:27 +02:00
dependabot[bot] ed930db2f0 build(deps): bump github.com/yuin/goldmark from 1.4.15 to 1.5.2
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.15 to 1.5.2.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.4.15...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 10:34:24 +02:00
dependabot[bot] 05df964816 build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.4...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 10:25:34 +02:00
Bjørn Erik Pedersen 20ef6dcf95 Skip flakey server tests on GitHub Action on Windows 2022-10-26 09:29:55 +02:00
dependabot[bot] 9860e0e186 build(deps): bump github.com/magefile/mage from 1.13.0 to 1.14.0
Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/magefile/mage/releases)
- [Changelog](https://github.com/magefile/mage/blob/master/.goreleaser.yml)
- [Commits](https://github.com/magefile/mage/compare/v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/magefile/mage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 16:13:08 +02:00
Bjørn Erik Pedersen d1cd1db0e7 github: Avoid duplicate test runs 2022-10-25 16:08:41 +02:00
Joe Constant d16710afc3 Change anchor reference to use relref function calls (#1853) 2022-10-25 10:33:56 +09:00
Bjørn Erik Pedersen f52af8e4a7 tpl/encoding: Add noHTMLEscape option to jsonify 2022-10-24 17:21:42 +02:00
Bjørn Erik Pedersen 09e10110a3 tpl/encoding: Add noHTMLEscape option to jsonify 2022-10-24 17:21:42 +02:00
dependabot[bot] 2ef60dbd2d build(deps): bump github.com/evanw/esbuild from 0.15.9 to 0.15.12
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.15.9 to 0.15.12.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.15.9...v0.15.12)

---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 17:19:54 +02:00
Christian Oliff eca0046c41 Update hosting-on-keycdn docs (#1852) 2022-10-21 16:53:42 +09:00
ffbe17a482 Add note for rsync deploy command (#1415)
Co-authored-by: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Co-authored-by: Christian Oliff <christianoliff@pm.me>
2022-10-21 16:44:38 +09:00
c482133f17 docs: Update quick start to clarify the need of extended version (#1828)
Co-authored-by: Joe Mooring <joe@mooring.com>
Co-authored-by: Christian Oliff <christianoliff@pm.me>
2022-10-21 01:12:36 +09:00
Christian Oliff 1e3b33804f use correct URL for Google Search console verification (#1851) 2022-10-20 20:25:05 +09:00
Christian Oliff dac034f63a Markdown and formatting fixes (#1850) 2022-10-20 16:05:43 +09:00
dumdam 43f177e3c8 Fix LiveReload in quick-start (#1739) 2022-10-20 10:45:32 +09:00
rbn30117andstullesha f78deaa5f2 Add link for ''Hugo Shortcode Syntax Highlighting' VS Code extension (#1765)
Co-authored-by: stullesha <106075265+stullesha@users.noreply.github.com>
2022-10-20 10:42:27 +09:00
Christian Oliff 08087ecd78 Remove some hidden pages (#1848) 2022-10-20 10:15:26 +09:00