Commit Graph
9502 Commits
Author SHA1 Message Date
Jørn ÅneandBjørn Erik Pedersen 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 MooringandBjørn Erik Pedersen d50aba8f06 Revise ref and relref function pages
Closes #1212
2020-09-05 18:24:43 +02:00
James GoldieandBjørn Erik Pedersen a17e25d6f6 Update quick-start.md: move notice about drafts up 2020-09-05 11:24:03 +02:00
Joe MooringandGitHub cf87a5da2c Update macOS tarball installation instructions (#1203)
Closes #1202
2020-09-02 06:07:43 -04:00
Manas MarthiandBjørn Erik Pedersen 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 MedworthandGitHub 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 MooringandBjørn Erik Pedersen 42a19f479e Fix example of output from urlize function
Closes #1204
2020-08-29 19:20:55 +02:00
Joe MooringandBjørn Erik Pedersen 34f8de26de Revise content-management/cross-references
Closes #1199
2020-08-28 11:34:42 +02:00
ngdangtuandBjørn Erik Pedersen 252435a950 Rewrite Translation of Strings
Let's make this item be more explicit... again?
2020-08-27 08:08:44 +02:00
Carlin MacKenzieandBjørn Erik Pedersen 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éandBjørn Erik Pedersen 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 MooringandBjørn Erik Pedersen 58029627df Fix erroneous example code piping to if
Fixes #1192
2020-08-23 12:27:10 +02:00
Fabian TampandBjørn Erik Pedersen 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 OliffandGitHub c91be3403e minor markdown, capitalization and spelling fixes (#1183) 2020-08-03 12:48:59 +09:00
Joe MooringandGitHub 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
kersusandBjørn Erik Pedersen 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 OstblomandBjørn Erik Pedersen 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 WarnerandGitHub 7b1502c99d minor typo fix (#1180) 2020-07-29 19:46:44 +09:00
Bjørn Erik PedersenandGitHub 33abeb4fef Update related.md 2020-07-26 11:27:24 +02:00
Bjørn Erik PedersenandGitHub 4887563f6b Update js.md 2020-07-23 19:07:30 +02:00
Bjørn Erik Pedersen ee5f1de2eb Hugo 0.74.3 2020-07-23 18:46:47 +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 PereiraandGitHub 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 PhilibertandGitHub a26d0e6104 Add documentation to js.Build (#1175)
Fixes #1171
2020-07-20 10:09:06 -04:00
Bjørn Erik PedersenandGitHub 439a22c3e5 Update index.md 2020-07-17 19:50:44 +02:00
Bjørn Erik Pedersen 7a779b39a7 Hugo 0.74.2 2020-07-17 19:45:20 +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
Patrick KollitschandGitHub e0dcdbfea4 Revert "Adding an issue link to the issue creation workflow (#1023)"
This PR did hide the option to create an empty issue unexpectedly under a large link to the community. Not what I expected and sadly untestable. Sorry. I'll open another PR adding issue templates.
2020-07-16 11:42:13 +07:00
Patrick KollitschandGitHub 21c7131f1e Adding an issue link to the issue creation workflow (#1023)
This config enables us to add external links to the process of creating new issues. I propose to add a friendly link to the community, just in case the issue opener is not aware of this forum.
2020-07-16 11:36:06 +07:00
Bjørn Erik PedersenandGitHub 922afb18be Update index.md 2020-07-14 21:36:45 +02:00
Bjørn Erik PedersenandGitHub b9512b1920 Update index.md 2020-07-13 21:25:07 +02:00
Bjørn Erik PedersenandGitHub b7af5993cb Update index.md 2020-07-13 21:19:53 +02:00
Bjørn Erik Pedersen 816f864b6c Release 0.74.1 2020-07-13 21:16:40 +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
Bjørn Erik Pedersen 4b7054be50 docs: Regenerate docs helper 2020-07-13 11:01:38 +02:00
Bjørn Erik Pedersen c3b4f84106 Update theme 2020-07-11 13:30:35 +02:00
retlatandGitHub 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 NarendraandBjørn Erik Pedersen 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 KleinandBjørn Erik Pedersen 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 MuenchhausenandGitHub 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