Commit Graph

3318 Commits

Author SHA1 Message Date
Jørn Åne 0ae8f5c19c Add instructions for using Macports
Fix for #688, rewrite the text so it's clear that either MacPorts or Homebrew can be used to install Hugo.
2020-09-05 22:25:04 +02:00
Joe Mooring d50aba8f06 Revise ref and relref function pages
Closes #1212
2020-09-05 18:24:43 +02:00
James Goldie a17e25d6f6 Update quick-start.md: move notice about drafts up 2020-09-05 11:24:03 +02:00
Joe Mooring cf87a5da2c Update macOS tarball installation instructions (#1203)
Closes #1202
2020-09-02 06:07:43 -04:00
Manas Marthi 2e701f8f38 Corrected the url for index function link
/functions/index/ directs to _index.md . Replaced it with /functions/index-function/
2020-09-02 09:57:41 +02:00
Andrew Medworth 736bd59e00 Clarify treatment of zero weights (#1207)
* Clarify treatment of zero weights
* than -> then
* Remove null link to section and list pages
2020-08-31 21:10:05 +07:00
Joe Mooring 42a19f479e Fix example of output from urlize function
Closes #1204
2020-08-29 19:20:55 +02:00
Joe Mooring 34f8de26de Revise content-management/cross-references
Closes #1199
2020-08-28 11:34:42 +02:00
ngdangtu 252435a950 Rewrite Translation of Strings
Let's make this item be more explicit... again?
2020-08-27 08:08:44 +02:00
Carlin MacKenzie f0882bc14a Remove note that has been outdated by v0.71.0
It's contradicted two lines above :)

> You can also create type/section specific hooks in `layouts/[type/section]/_markup`, e.g.: `layouts/blog/_markup`.{{< new-in "0.71.0" >}}
2020-08-25 21:32:33 +02:00
Victor Massé dfe28ceb54 Improve mounts module config
Improve docs as per this message https://discourse.gohugo.io/t/module-mounts-incompatible-with-postcss-import/26881/2
2020-08-25 11:06:55 +02:00
Joe Mooring 58029627df Fix erroneous example code piping to if
Fixes #1192
2020-08-23 12:27:10 +02:00
Fabian Tamp 7297c11727 Add note about caching for Hugo Pipes.
As per discussion in [Is the new js.Build functionality cached?](https://discourse.gohugo.io/t/is-the-new-js-build-functionality-cached/27276)
2020-08-04 13:32:50 +02:00
Christian Oliff c91be3403e minor markdown, capitalization and spelling fixes (#1183) 2020-08-03 12:48:59 +09:00
Joe Mooring fd4a103bfd Fix several 404 errors (#1162)
Closes #1161

I removed the paragraph related to Amazon S3 deployment from Wercker;
I was unable to find any documentation on the Wercker site. This is not
surprising. Wercker was acquired by Oracle in 2017, and I suspect Oracle
has little interest in promoting any of Amazon's services.
2020-07-31 19:29:47 +09:00
kersus 69378bc207 Update related.md
Fix build error on line 85, change {{< code-toggle file="config" >}} to {{< /code-toggle >}}.
2020-07-31 11:55:10 +02:00
Joel Ostblom 28c24e95fa Add note on setting baseURL
This note already exists for the GitHub pages setup section, and it appears that it is needed for Hugo themes to display correctly on GitLab as well.
2020-07-29 13:45:07 +02:00
Jeff Warner 7b1502c99d minor typo fix (#1180) 2020-07-29 19:46:44 +09:00
Bjørn Erik Pedersen 33abeb4fef Update related.md 2020-07-26 11:27:24 +02:00
Bjørn Erik Pedersen 4887563f6b Update js.md 2020-07-23 19:07:30 +02:00
hugoreleaser 986ea0c8ea releaser: Add release notes to /docs for release of 0.74.3
[ci skip]
2020-07-23 16:21:21 +00:00
Helder Pereira 3299b44bdb Fix Asciidoctor args
* Fix Asciidoctor args

* Fix Asciidoctor args documentation

* Update AsciiDoc documentation

Co-authored-by: Derk Muenchhausen <derk@muenchhausen.de>

Fixes #7493
2020-07-23 15:59:48 +02:00
Bjørn Erik Pedersen bcb9503470 resources/js: Add option for setting bundle format
Fixes #7503
2020-07-22 10:13:30 +02:00
Bjørn Erik Pedersen 3f8324918b resources/js: Add es5 build target 2020-07-20 22:26:38 +02:00
Regis Philibert a26d0e6104 Add documentation to js.Build (#1175)
Fixes #1171
2020-07-20 10:09:06 -04:00
Bjørn Erik Pedersen 439a22c3e5 Update index.md 2020-07-17 19:50:44 +02:00
Bjørn Erik Pedersen 07cb5740c1 Merge branch 'temp742' 2020-07-17 19:44:52 +02:00
hugoreleaser abcea676c6 releaser: Add release notes to /docs for release of 0.74.2
[ci skip]
2020-07-17 17:22:42 +00:00
Bjørn Erik Pedersen 922afb18be Update index.md 2020-07-14 21:36:45 +02:00
Bjørn Erik Pedersen b9512b1920 Update index.md 2020-07-13 21:25:07 +02:00
Bjørn Erik Pedersen b7af5993cb Update index.md 2020-07-13 21:19:53 +02:00
Bjørn Erik Pedersen 1732f34611 Merge branch 'temp741' 2020-07-13 21:16:04 +02:00
hugoreleaser d473f21c11 releaser: Add release notes to /docs for release of 0.74.1
[ci skip]
2020-07-13 18:52:36 +00:00
Bjørn Erik Pedersen bb234e9cda Add release notes 0.74.0 2020-07-13 20:40:43 +02:00
hugoreleaser 5cb3166d44 releaser: Add release notes to /docs for release of 0.74.0
[ci skip]
2020-07-13 10:30:11 +00:00
Bjørn Erik Pedersen 7f35a38001 Merge commit '823ce055ed3356da37e9ec4ac70446bdbbaa8de8' 2020-07-13 11:01:55 +02:00
retlat 0aaecc16c7 Remove unnecessary period. (#1168) 2020-07-08 00:00:47 +09:00
Bjørn Erik Pedersen 1d86f0aed7 Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d' 2020-07-07 07:00:01 +02:00
Pavan Narendra cfd74b57d9 Add a config file update step.
The baseURL parameter in the config file needs to be updated.
2020-07-07 06:57:49 +02:00
Regis Philibert 5957d8815d Wrap cache configuration in code-toggle 2020-07-06 10:15:27 -04:00
Bryan Klein 068b2ab28c Update formats.md doc for new allowed extensions.
This PR documents the changes made in https://github.com/gohugoio/hugo/pull/7447/files adding two other extensions to the Allowed list.
2020-07-03 01:27:51 +02:00
Bjørn Erik Pedersen d71ed99d3b Add support for inline partials
Fixes #7444
2020-07-01 23:10:21 +02:00
Derk Muenchhausen efe0e549c5 Rework external asciidoctor integration
This commit solves the relative path problem with asciidoctor tooling. An include will resolve relatively, so you can refer easily to files in the same folder.

Also `asciidoctor-diagram` and PlantUML rendering works now, because the created temporary files will be placed in the correct folder.

This patch covers just the Ruby version of asciidoctor. The old AsciiDoc CLI EOLs in Jan 2020, so this variant is removed from code.

The configuration is completely rewritten and now available in `config.toml` under the key `[markup.asciidocext]`:

```toml
[markup.asciidocext]
    extensions = ["asciidoctor-html5s", "asciidoctor-diagram"]
    workingFolderCurrent = true
    trace = true
    [markup.asciidocext.attributes]
        my-base-url = "https://example.com/"
        my-attribute-name = "my value"
```

- backends, safe-modes, and extensions are now whitelisted to the popular (ruby) extensions and valid values.
- the default for extensions is to not enable any, because they're all external dependencies so the build would break if the user didn't install them beforehand.
- the default backend is html5 because html5s is an external gem dependency.
- the default safe-mode is safe, explanations of the modes: https://asciidoctor.org/man/asciidoctor/
- the config is namespaced under asciidocext_config and the parser looks at asciidocext to allow a future native Go asciidoc.
- `uglyUrls=true` option and `--source` flag are supported
- `--destination` flag is required

Follow the updated documentation under `docs/content/en/content-management/formats.md`. 
  
This patch would be a breaking change, because you need to correct all your absolute include pathes to relative paths, so using relative paths must be configured explicitly by setting `workingFolderCurrent = true`.
2020-06-25 09:51:33 +02:00
Christian Oliff 914405c0ef capitalization and indentation fix for taxonomies page (#1159)
as a bonus, this prevents the horizontal scrollbar appearing on the markdown snippet at the the bottom
2020-06-25 15:40:02 +09:00
Jessica Huynh 223b80f420 Fix page kinds shortcode not rendering on Taxonomies page (#1158)
* remove trailing space after "terms" in page-kinds shortcode

* use % style shortcode to render page-kinds markdown table
2020-06-25 15:09:56 +09:00
OmarEmaraDev a9b6fa9842 Clarify weight description. 2020-06-24 12:41:32 +02:00
OmarEmaraDev 29e121681f Warn about zero weights in front matter. 2020-06-24 12:41:32 +02:00
Bjørn Erik Pedersen 27ce7ba8c6 Release 0.73.0 2020-06-23 19:18:16 +02:00
Bjørn Erik Pedersen e9596b2ee1 Merge branch 'temp73' 2020-06-23 19:05:46 +02:00
hugoreleaser 074a270cdc releaser: Add release notes to /docs for release of 0.73.0
[ci skip]
2020-06-23 16:29:21 +00:00