Joe Mooring
322b75f406
Update configuration.md
2022-08-06 16:27:28 -07:00
Bjørn Erik Pedersen
7fb28085ac
releaser: Fat MacOS binaries
...
Closes #9131
2022-08-03 23:22:01 +02:00
Bjørn Erik Pedersen
0cd1929b9c
Update to Go 1.19
...
Fixes #10145
2022-08-03 23:22:01 +02:00
piyo
cbdaff2135
markup/goldmark/codeblock: Fix attributes when no language identifier in CodeBlock
...
Fixes #10118
2022-08-03 11:32:08 +02:00
杨晴
3fefea06b8
commands: Fix embed in livereload.go
2022-08-01 11:42:26 +02:00
Bjørn Erik Pedersen
5c48ba9343
Update README.md
...
Updates #10136
2022-07-31 15:41:42 +02:00
Patrice Chalin
2fa6f0b948
404 template example: remove slash relURL arg
...
For context, see:
- #9994
/cc @jmooring @dep
2022-07-29 20:53:34 +02:00
Christian Oliff
1195f168a3
Remove broken link ( #1767 )
...
The `examples` directory was removed with https://github.com/gohugoio/hugo/pull/9615 .
2022-07-26 10:52:50 -07:00
Takeshi Sato
21562e3aad
Externalise and embed livereload.js string
...
This is a small refactoring. `livereload/livereload.go` has a wide
column. Sometimes language server does not work because of it.
Create a new js file and embed it.
2022-07-26 13:51:08 +02:00
Joe Mooring
e0838e574e
Update RenderString.md
...
With https://github.com/gohugoio/hugo/pull/9948 the .RenderString method now renders shortcodes.
2022-07-21 08:35:36 -07:00
Bjørn Erik Pedersen
bee6adf71e
Update page-resources.md
2022-07-18 09:02:11 +02:00
Olivier Goulet
24e142f229
Remove duplicate word from cascade description
...
Removed the duplicate word "down" from the sentence:
"Pass down down default configuration values..."
2022-07-18 08:58:26 +02:00
Razon Yang
879fc39839
docs: Update the description of PostCSS config
2022-07-18 08:57:56 +02:00
Bjørn Erik Pedersen
9c24b86e4b
Cache when not found in LookupLayout
...
Very visible when using the pprof mutex profiler.
```bash
name old time/op new time/op delta
Baseline-10 58.4ms ± 1% 51.6ms ± 0% -11.56% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
Baseline-10 64.3MB ± 0% 64.2MB ± 0% ~ (p=0.114 n=4+4)
name old allocs/op new allocs/op delta
Baseline-10 649k ± 0% 649k ± 0% ~ (p=0.229 n=4+4)
```
2022-07-13 15:49:00 +02:00
Bjørn Erik Pedersen
223bf28004
parser/pageparser: Don't store the byte slices
...
On its own this change doesn't do any magic, but this is part of a bigger picture about making Hugo leaner in the
memory usage department.
2022-07-09 16:03:11 +02:00
Kaushal Modi
2ffe539e3a
fix: Use = instead of := for variable reassignments ( #1771 )
...
Ref: https://discourse.gohugo.io/t/join-two-variables-together/39402/6
2022-07-08 07:58:28 -07:00
Christian Oliff
7496b8f878
update 404 error for digitalocean docs
...
it was showing a 404 error!
https://docs.digitalocean.com/products/app-platform/references/app-specification-reference/
2022-07-05 09:38:50 +02:00
Bjørn Erik Pedersen
72b0ccdb01
Make the baseline benchmark's test files stable
...
And add some assertions.
2022-06-30 12:36:55 +02:00
Bjørn Erik Pedersen
bdf935d66c
Squashed 'docs/' changes from 30f32a624..e5aa641a6
...
e5aa641a6 remove erroneous foo
8307b474e Add hl_inline to highlight function documentation
8517b02d9 update GitHub 404 docs URL to prevent redirect
5c52c2715 remove aerobatic.com
3eb179558 Update syntax-highlighting.md
00cbe3f2f Check for nil Chroma .Aliases
45416515e netlify: Hugo 0.101.0
d5dcd1581 docs: Regen docshelper
4785e99b1 common: Add hugo.GoVersion
e679f1b7e resources/page: Add :slugorfilename attribute
f2cc72a1f Update spellcheck.yml (#1755 )
git-subtree-dir: docs
git-subtree-split: e5aa641a62
2022-06-28 20:51:33 +02:00
Bjørn Erik Pedersen
c85caca4ae
Merge commit 'bdf935d66c1f02dfc942a30e9fc00519bba3aacb'
2022-06-28 20:51:33 +02:00
Bjørn Erik Pedersen
65e52a7f5c
Merge commit 'bdf935d66c1f02dfc942a30e9fc00519bba3aacb'
2022-06-28 20:51:33 +02:00
Anthony Fok
8ebcaa5394
Accept vendor-specified build date if .git/ is unavailable
...
Fixes #10053
2022-06-28 20:51:18 +02:00
Anthony Fok
241481931f
snap: Replace mage with "go build" and set VendorInfo=snap
2022-06-28 04:09:50 -06:00
Anthony Fok
5caed8a71f
snap: Use interface names etc-gitconfig and gitconfig, Take 2
...
as recommended by @alexmurray to keep consistency with other snaps; see
https://forum.snapcraft.io/t/system-files-and-personal-files-request-for-hugo/30598
I neglected to make the rename of system-gitconfig → etc-gitconfig and
user-gitconfig → gitconfig to the apps.plugs section in commit fd3953c ,
hence this commit to fix the store upload scan failure:
interface 'system-gitconfig' not found in base declaration
interface 'user-gitconfig' not found in base declaration
unknown plugs interface name reference 'system-gitconfig'
unknown plugs interface name reference 'user-gitconfig'
Special thanks to Alex Murray and Igor Ljubuncic for approving the
system-files and personal-files request for Hugo.
Fixes #6226
2022-06-27 09:27:30 -06:00
Bjørn Erik Pedersen
d1278f696a
Extract the baseline benchmark to a test
2022-06-26 09:56:01 +02:00
Bjørn Erik Pedersen
92f31ae63b
Add a baseline benchmark
2022-06-25 18:26:40 +02:00
Anthony Fok
fd3953c18c
snap: Use interface names etc-gitconfig and gitconfig
...
as recommended by @alexmurray to keep consistency with other snaps; see
https://forum.snapcraft.io/t/system-files-and-personal-files-request-for-hugo/30598/2
One closer step towards fixing #6226
2022-06-24 00:59:37 -06:00
Christian Oliff
e5aa641a62
remove erroneous foo
2022-06-23 08:44:38 +02:00
Joe Mooring
8307b474e6
Add hl_inline to highlight function documentation
2022-06-16 19:19:14 +02:00
Christian Oliff
8517b02d9e
update GitHub 404 docs URL to prevent redirect
2022-06-16 16:14:46 +02:00
Christian Oliff
5c52c27157
remove aerobatic.com
...
dead link.
2022-06-16 16:12:25 +02:00
Bjørn Erik Pedersen
3eb179558d
Update syntax-highlighting.md
2022-06-16 10:48:59 +02:00
Bjørn Erik Pedersen
00cbe3f2fc
Check for nil Chroma .Aliases
2022-06-16 10:43:56 +02:00
Bjørn Erik Pedersen
45416515e9
netlify: Hugo 0.101.0
2022-06-16 10:35:30 +02:00
Bjørn Erik Pedersen
d5dcd1581d
docs: Regen docshelper
2022-06-16 10:35:30 +02:00
Khayyam Saleem
4785e99b14
common: Add hugo.GoVersion
...
Closes #9849 . This enables `hugo.GoVersion` in templates to access the
version of Go that the Hugo binary was built with.
2022-06-16 10:35:30 +02:00
Dawid Potocki
e679f1b7e9
resources/page: Add :slugorfilename attribute
...
Fixes #4739 , #385
2022-06-16 10:35:30 +02:00
Christian Oliff
f2cc72a1f1
Update spellcheck.yml ( #1755 )
2022-06-16 17:32:58 +09:00
hugoreleaser
15463f835b
releaser: Prepare repository for 0.102.0-DEV
...
[ci skip]
2022-06-16 07:51:58 +00:00
hugoreleaser
466fa43c16
releaser: Bump versions for release of 0.101.0
...
[ci skip]
2022-06-16 07:09:16 +00:00
hugoreleaser
6072ce0bcd
releaser: Add release notes for 0.101.0
...
[ci skip]
2022-06-16 07:09:16 +00:00
Bjørn Erik Pedersen
2c5943ddc6
build: Update to Go 1.18.3
...
Fixes #9964
2022-06-16 08:27:08 +02:00
Bjørn Erik Pedersen
c3888b63aa
docs: Regen docshelper
2022-06-16 07:23:38 +02:00
Bjørn Erik Pedersen
0cb459a20a
docs: Regen docshelper
2022-06-16 07:23:38 +02:00
Bjørn Erik Pedersen
475f87f685
Squashed 'docs/' changes from 96fdc246c..30f32a624
...
30f32a624 Update scss-sass.md
503130186 Update scss-sass.md
cbfaa6704 Remove references to outdated Blackfriday markdown processor (#1748 )
e43948d26 netlify: Hugo 0.100.2
aaabe0ee9 Merge branch 'tempv0.100.2'
bc615f257 tpl/path: Add path.BaseName function
5dddbf95e Add Chinese translation for _documentation and _index.md
b1e4f3200 Add translation for search tools
23281633a Update introduction.md
3abb5fb5d netlify: Hugo 0.100.1
644ed3b01 Update faq.md
54f377051 Add some lines about resources.Copy
82cf08355 Remove most Blackfriday references
bfbe5aaf3 netlify: Update to Hugo 0.100.0
8b6f8577f docs: Regen CLI docs
858a5d39c docs: Regen docs helper
5037d504f Merge commit 'e4bfe59c4e043c92d3992587d8c64d264b262a22'
03ca7be5b Fix indentation in highlight shortcode
git-subtree-dir: docs
git-subtree-split: 30f32a6243
2022-06-16 07:22:11 +02:00
Bjørn Erik Pedersen
8a5942555a
Merge commit '475f87f685439de0f907a9ffc29bfd1361eb1c59'
2022-06-16 07:22:11 +02:00
Bjørn Erik Pedersen
604cfffc5b
Merge commit '475f87f685439de0f907a9ffc29bfd1361eb1c59'
2022-06-16 07:22:11 +02:00
Bjørn Erik Pedersen
d863dde6c6
markup/highlight: Add hl_inline option
...
Closes #9442
Closes #9635
Closes #9638
2022-06-15 20:04:20 +02:00
Bjørn Erik Pedersen
580b214a4c
deps: Update github.com/alecthomas/chroma/v2 v2.1.0 => v2.2.0
2022-06-15 20:04:20 +02:00
dependabot[bot]
ddb9547085
build(deps): bump github.com/clbanning/mxj/v2 from 2.5.5 to 2.5.6
...
Bumps [github.com/clbanning/mxj/v2](https://github.com/clbanning/mxj ) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/clbanning/mxj/releases )
- [Commits](https://github.com/clbanning/mxj/compare/v2.5.5...v2.5.6 )
---
updated-dependencies:
- dependency-name: github.com/clbanning/mxj/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-15 14:19:26 +02:00