Joe Mooring
4175934933
Fix broken link
2023-10-26 22:13:01 -07:00
Bjørn Erik Pedersen
71fd79a3f4
Revise the deprecation logging
...
This introduces a more automatic way of increasing the log levels for deprecation log statements based on the version it was deprecated.
The thresholds are a little arbitrary, but
* We log INFO for 6 releases
* We log WARN for another 6 releases
* THen ERROR (failing the build)
This should give theme authors plenty of time to catch up without having the log filled with warnings.
2023-10-26 20:41:19 +02:00
Bjørn Erik Pedersen
c4a530f104
Remove rest of the now unused emoji code
...
See #11598
2023-10-26 09:20:56 +02:00
Salim B
9829e28626
Mention Go variable naming rules
2023-10-25 10:52:06 -07:00
Salim B
11ce3a59c2
Fix typo
2023-10-25 10:51:24 -07:00
Joe Mooring
0d62feed52
Update glossary
2023-10-24 18:03:34 -07:00
Joe Mooring
272484f8bf
markdown: Pass emoji codes to yuin/goldmark-emoji
...
Removes emoji code conversion from the page and shortcode parsers. Emoji
codes in markdown are now passed to Goldmark, where the goldmark-emoji
extension converts them to decimal numeric character references.
This disables emoji rendering for the alternate content formats: html,
asciidoc, org, pandoc, and rst.
Fixes #7332
Fixes #11587
Closes #11598
2023-10-24 12:04:13 +02:00
Joe Mooring
5e9ecb2179
Prepare for pending deprecations
2023-10-23 06:48:57 -07:00
Christian Oliff
c5f76c7768
Update Twitter Cards URL
2023-10-23 06:14:07 -07:00
Razon Yang
de4e466036
Fix so hugo get -u updates transitively
2023-10-22 16:32:01 +02:00
Oleksandr Redko
c23a0c4a0f
watcher/filenotify: Remove redundant duplicated comments
2023-10-21 18:57:35 +02:00
Oleksandr Redko
a95670b981
docs: Remove outdated note from CONTRIBUTING.md
2023-10-21 18:57:01 +02:00
Bjørn Erik Pedersen
46bdc03885
tpl/debug: Add average and median to timer output
2023-10-21 15:41:21 +02:00
Bjørn Erik Pedersen
5160c7efa5
tpl/debug: Add debug.Timer
...
Closes #11580
2023-10-20 09:46:45 +02:00
Bjørn Erik Pedersen
24f2afeb2d
Merge commit 'e509cac533600cf4fa8382c9cdab78ddd82db688'
2023-10-20 09:43:56 +02:00
Bjørn Erik Pedersen
e2dd4cd05f
Merge commit 'e509cac533600cf4fa8382c9cdab78ddd82db688'
2023-10-20 09:43:56 +02:00
Bjørn Erik Pedersen
e509cac533
Squashed 'docs/' changes from 7ef2dbce4..cb18a5183
...
cb18a5183 Fix broken link
07a0198bf Config: Place Google Analytics tag ID under the services key
4bf0c719f Fix typo
50d8ad1af Fix muiltilingual menu definition instructions
1a32519a9 Fix typos
6f34ca8e0 Explain usage of front matter to target a template
5bd977257 Improve goldmark config docs
447632938 Remove Docker notes from installation instructions
84741d173 Update reference to hugo.work
0338d7c71 Fix menu template
f5d2f5ed4 Fix typos in content/en/functions/fmt
a3a40ff99 Add return type to functions
85ac3e779 Remove outdated feature image
d47d889e4 Fix signatures
7551ba28f Document safe.JSStr function
e77993be0 Document keyVals function
4dba20db3 Update theme
babf91544 Update echoparam
8c8203efa Adjust related functions
4cb1b30fc Fix example
ba95eca64 Improve showcase prose
5d3dcf366 Add Overmind Studios showcase
8d634ac70 Change code blocks from indented to fenced
cfab978e6 Add missing code fences
407dd5c47 Limit related pages for functions to other functions
9fa67d981 Fix .Site.LastChange doc
393aa16d0 netlify: Hugo 0.119.0
f864af97a docs: Even more about images.Process
9d772d5f0 docs: More about images.Process
bc655f869 docs: Regen docshelper
41c3536d1 Merge commit '9aec42c5452b3eb224888c50ba1c3f3b68a447e9'
918ed53f4 Add images.Process filter
573645883 Add $image.Process
a1151b0fd Add images.Opacity filter
git-subtree-dir: docs
git-subtree-split: cb18a5183fc62f301ffde50b8c39f03e4b897aec
2023-10-20 09:42:39 +02:00
Bjørn Erik Pedersen
fd38171810
Add some convenient integration test helpers
2023-10-18 18:54:15 +02:00
Joe Mooring
3f947c19a5
hugolib: Deprecate .Site.DisqusShortname
...
Use .Site.Config.Services.Disqus.Shortname instead.
2023-10-18 17:35:54 +02:00
Joe Mooring
2eca1b3cc1
hugolib: Deprecate .Site.DisqusShortname
...
Use .Site.Config.Services.Disqus.Shortname instead.
2023-10-18 17:35:54 +02:00
Lars Lehtonen
625162674d
tpl/tplimpl: Fix dropped error
2023-10-18 17:33:00 +02:00
Joe Mooring
6bd1af892d
hugolib: Deprecate .Site.GoogleAnalytics
...
Use .Site.Config.Services.GoogleAnalytics.ID instead.
2023-10-17 20:06:42 +02:00
Joe Mooring
a692278bc6
hugolib: Deprecate .Site.GoogleAnalytics
...
Use .Site.Config.Services.GoogleAnalytics.ID instead.
2023-10-17 20:06:42 +02:00
Joe Mooring
d4016dd5cd
tpl/tplimpl: Deprecate .Site.Author usage in RSS template
2023-10-17 20:04:49 +02:00
Joe Mooring
78becc6eed
tpl/tplimpl: Deprecate .Site.Social usage with internal templates
2023-10-17 20:04:24 +02:00
Joe Mooring
4910312ee7
tpl/tplimpl: Deprecate .Site.Social usage with internal templates
2023-10-17 20:04:24 +02:00
JingWangTW
cb18a5183f
Fix broken link
2023-10-17 09:44:09 -07:00
Joe Mooring
07a0198bf5
Config: Place Google Analytics tag ID under the services key
2023-10-16 18:21:21 -07:00
calalloo
4bf0c719fb
Fix typo
2023-10-14 18:09:34 -07:00
Joe Mooring
50d8ad1af0
Fix muiltilingual menu definition instructions
2023-10-14 16:14:17 -07:00
Joe Mooring
1a32519a9b
Fix typos
2023-10-13 14:29:09 -07:00
Joe Mooring
6f34ca8e03
Explain usage of front matter to target a template
2023-10-13 13:10:58 -07:00
Joe Mooring
5bd977257e
Improve goldmark config docs
2023-10-13 11:48:29 -07:00
Joe Mooring
4476329382
Remove Docker notes from installation instructions
2023-10-13 08:19:08 -07:00
Joe Mooring
1b5f78b6b7
markup/tableofcontents: Return template.HTML from .Fragments.ToHTML
...
Closes #11545
2023-10-09 18:42:03 +02:00
Emmanuel Ferdman
84741d173c
Update reference to hugo.work
2023-10-06 14:46:42 -07:00
Joe Mooring
d5d0f420d8
deps: Update github.com/tdewolff/minify/v2 v2.12.7 => v2.12.9
...
Fixes #11533
2023-10-06 19:44:25 +02:00
Joe Mooring
5993afa4c5
commands: Update message displayed when running CLI from GUI
...
Fixes #11525
2023-10-06 19:39:35 +02:00
Joe Mooring
e3ec2a4f20
common/hugo: Add hugo.IsServer and hugo.IsDevelopment
...
And deprecate site.IsServer.
Closes #11510
2023-10-06 16:26:51 +02:00
Joe Mooring
d1b4458536
common/hugo: Add hugo.IsServer and hugo.IsDevelopment
...
And deprecate site.IsServer.
Closes #11510
2023-10-06 16:26:51 +02:00
Oleksandr Redko
274852bcf2
all: Format files with gofmt
2023-10-05 14:45:55 +02:00
abdullah-alaadine
37a2d5eb4e
magefile: Update isGoLatest to check for Go 1.21
2023-10-04 16:07:40 +02:00
Joe Mooring
0338d7c711
Fix menu template
2023-10-03 19:24:58 -07:00
Oleksandr Redko
f5d2f5ed49
Fix typos in content/en/functions/fmt
2023-10-03 08:36:48 -07:00
Joe Mooring
4c95389c25
resources/integrity: Return string instead of template.HTMLAttr
...
Closes #11513
2023-10-02 20:14:50 +02:00
Joe Mooring
a3a40ff999
Add return type to functions
2023-09-30 21:03:52 -07:00
Joe Mooring
85ac3e7791
Remove outdated feature image
2023-09-29 12:56:33 -07:00
Joe Mooring
d47d889e40
Fix signatures
2023-09-29 11:08:04 -07:00
Joe Mooring
7551ba28f7
Document safe.JSStr function
2023-09-28 13:48:50 -07:00
Joe Mooring
e77993be08
Document keyVals function
2023-09-28 11:21:56 -07:00