Commit Graph
9901 Commits
Author SHA1 Message Date
Ulisse mini 41aae7abb3 Better deploy script example
The given deploy script example was not very robust, if cd fails then it would update the current git repository etc

I've also improved the portability by changing the shebang to `#!/bin/sh` and used `printf` instead of `echo` (in posix sh echo with arguments is undefined)
2019-07-19 13:44:33 +02:00
Bjørn Erik Pedersen ac101aba4f deps: Update xerrors
To get it to build on Go 1.13.
2019-07-19 09:09:04 +02:00
Bjørn Erik Pedersen 58a47ccde0 travis: Ignore errors in go mod download
It sometimes fails with 502 errors, but the dependency download later when tests are run.
2019-07-17 15:35:31 +02:00
Bjørn Erik Pedersen 95b1d3013b deps: Update Chroma
Fixes #6088
2019-07-16 21:08:18 +02:00
Eric Selin a5604e18b0 resource/postcss: Change postcss to check for local installation under node_modules/.bin
Fixes #5091
2019-07-16 10:02:20 +02:00
Bjørn Erik Pedersen 78c69a198e Merge commit '35febb2e2a3780c3338a2665fddea7dda28a17f4' 2019-07-15 23:50:56 +02:00
Bjørn Erik Pedersen 05d0eddd2b Merge commit '35febb2e2a3780c3338a2665fddea7dda28a17f4' 2019-07-15 23:50:56 +02:00
Bjørn Erik Pedersen 35febb2e2a Squashed 'docs/' changes from 0c3c04fd6..540aeddc7
540aeddc7 Small fixes for Open Graph internal template
47bbb3fd7 Bump lodash.template from 4.4.0 to 4.5.0 in /themes/gohugoioTheme
64c1cc3db Update title.md
36c27be37 Update configuration.md
4627cfe9a added commento.io to the list
341d9d945 Fix link to font assets
4a6876dec Small typo fix in configuration.md
736d6ddd7 Add bypasscensorship.org showcase.
de7ab636b Use actual width in image processing examples
6c88ab2da Update directory-structure.md
88f559e81 Fix spelling mistakes
7bd427141 Rephrase four points from Hosting on Github docs
bce1b1832 Fix typos for absLangURL and relLangURL functions
abab57335 Update directory-structure.md
a6716f2ed Fix metadata list
5ef61d912 Fix typo
d9e467b8b Actuall show how to generate pages in quickstart
0aadc92e7 Update link to issue theme submission
b1902faaa Remove incorrect note about Hugo snap --classic use.
d451e7362 Update documentation on page variables
ab2233c39 Update publish_to_ghpages.sh
7c120346b Fix typo in syntax highlighting page.
f01dc555d Correct some typos
be825ade9 Videos plural produces og:video
bc962fbdf Updated installing.md file to include linuxbrew installation
08c9f8fc8 Mention 1 MB file size limit in readFile doc
7145e29e2 Fixes bad URL in menus.md for .hasChildren * part of issue #814
0edbd59c4 add warning about .Hugo variable being deprecated
77f74ced5 fix: typo in output-formats.md
f71b67f34 Correct typo "RFC339" to "RFC1123Z" (#837)
424c0207a baseurl -> baseURL
f4e24a03e Render launched; no invite code needed
37e1101d3 Add Render hosting guide
01d0a6481 Bump js-yaml from 3.12.0 to 3.13.1 in /themes/gohugoioTheme
edb7b36b0 Link site hierarchy schema to larger version
af72acda0 Fixes typo in fingerprint.md
0a738467b Adding required XML tag to sample templates
52211f656 Remove note that XML declaration is not needed
a39b9ac87 Adding required XML tag to sample templates
1a44d8a50 Add configuration information for Azure
5b7c6b5a1 remove google plus
5a64301ba HTTPS link to yaml.org/spec/

git-subtree-dir: docs
git-subtree-split: 540aeddc79
2019-07-15 23:49:41 +02:00
Bjørn Erik Pedersen c624a77992 tpl/collections: Add Merge function
Merges two maps recursively and returns a new one. Merge is case-insensitive.

Fixes #5992
2019-07-15 20:47:35 +02:00
Christian Oliff 540aeddc79 Small fixes for Open Graph internal template
- Fix the `<meta property="og:video" content="url">` code (wasn't showing due to not being marked as code with back ticks.
- correct capitalisation for YouTube
- add line break after Twitter Cards header to match style of other headers (doesn't affect rendered output, just makes the markdown easier to read
2019-07-12 08:49:50 +02:00
dependabot[bot] 47bbb3fd7b Bump lodash.template from 4.4.0 to 4.5.0 in /themes/gohugoioTheme
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 08:27:46 +02:00
Bjørn Erik Pedersen 64c1cc3dba Update title.md 2019-07-10 15:27:41 +02:00
Bjørn Erik Pedersen 36c27be373 Update configuration.md 2019-07-10 15:23:54 +02:00
Niklas Fasching 8c5915264c Add org to front matter formats
actually it's 5, there's also csv. Afaict it's not meant to be used in that way
though so let's just add org.
2019-07-10 11:14:37 +02:00
Niklas Fasching 020086cb2b Add org to front matter formats
actually it's 5, there's also csv. Afaict it's not meant to be used in that way
though so let's just add org.
2019-07-10 11:14:37 +02:00
Niklas Fasching 8524baee16 deps: Update go-org
- added support for anonymous footnotes
- changed source block html output to more closely resemble emacs org-export
  output
2019-07-10 11:14:37 +02:00
Kaushal Modi 90b0127f63 Fix typo s/Meny/Menu/ 2019-07-09 17:28:53 +02:00
Bjørn Erik Pedersen 7611078dae hugolib: Add testfile to .gitignore 2019-07-07 13:01:30 +02:00
Bruno Amaral 4627cfe9ab added commento.io to the list 2019-06-30 18:58:11 -04:00
Bjørn Erik Pedersen b2a3d4644b tpl/tplimpl: Regenerate templates 2019-06-26 22:39:32 +02:00
Mark Mandel 88c8a15be1 Pagination - do not render href if no next item
When using a html link checker with Hugo, this template consistently causes errors, as it renders `href=""` attributes when next/previous is disabled.

This change makes it so that the `href` attribute is not rendered at all if `HasNext` is false - which is better semantically, and makes link checking far easier.
2019-06-26 22:38:30 +02:00
Justin Van Patten 59c4bc52ed Include path to source page in non-relative ref/relref warning
We occasionally see warnings when building our site:

```
WARN 2019/06/25 23:07:08 make non-relative ref/relref page reference(s) in page %q absolute, e.g. {{< ref "/blog/my-post.md" >}}
```

But the `%q` value is missing, making it difficult to track down the source of the warning.

This change addresses that, by including the source path in the warning:

```
WARN 2019/06/25 23:07:31 make non-relative ref/relref page reference(s) in page "blog/my-post/index.md" absolute, e.g. {{< ref "/blog/my-post.md" >}}
```
2019-06-26 09:25:12 +02:00
Bjørn Erik Pedersen dc1d4a9200 hugolib: Add another site benchmark
Also rework test test setup so the benchmarks can also be run as tests, which
is useful when creating new benchmarks an make sure they ... work.
2019-06-26 09:09:40 +02:00
Rodolfo Carvalho 341d9d9453 Fix link to font assets
Fixes #796.
2019-06-23 23:37:23 +02:00
Jake Jarvis 4a6876dec1 Small typo fix in configuration.md
".htacess" to ".htaccess"
2019-06-22 10:29:09 +02:00
Fredrik Jonsson 736d6ddd72 Add bypasscensorship.org showcase. 2019-06-19 23:06:31 +02:00
Joshua Arnott de7b9475c0 commands: Remove comma after URL in new site output
Some terminals include the comma in the URL when hyperlinking, resulting in a 404
2019-06-19 23:03:30 +02:00
Rodolfo Carvalho de7ab636bc Use actual width in image processing examples
The image processing examples are rendered within containers with a
'nested-img' parent CSS class, which by default makes images responsive
by resizing them to the size of their containers.

That doesn't work well for the examples as the small images end up
stretched.

Since there can be other images in the same 'nested-img' context, we
keep that class in the parent and set the example images width to auto,
such that they will render with their actual size.

On small screens, larger images will still be sized down via the
max-width property.

Fixes #812
2019-06-18 17:02:21 +02:00
aspeteRakete 6c88ab2da9 Update directory-structure.md
Just a copy+paste error.
2019-06-17 07:45:12 -04:00
Bjørn Erik Pedersen d6ca728ff3 deps: Revert to an older version of Blackfriday
See #6040
2019-06-16 22:13:23 +02:00
Hanzei 88f559e816 Fix spelling mistakes 2019-06-14 14:58:38 +02:00
Paweł Sysiak 7bd427141d Rephrase four points from Hosting on Github docs 2019-06-13 17:56:35 +02:00
Federico Bruni bce1b18326 Fix typos for absLangURL and relLangURL functions 2019-06-13 17:55:53 +02:00
Alex abab573356 Update directory-structure.md
When running hugo new site sitename it does not create the assets or config directories by default. 

I updated the layout example to remove the directories and include config.toml and made a note in the assets and config directory sections to highlight they are not created by default.
2019-06-13 17:55:23 +02:00
Salim B a6716f2ed2 Fix metadata list
Seems that there must be an additional newline before the list items in order for hugo to properly render it as a Markdown list.
2019-06-13 17:54:40 +02:00
Ivan Tse 5ef61d912b Fix typo 2019-06-13 17:54:14 +02:00
Witold Baryluk d9e467b8b7 Actuall show how to generate pages in quickstart
The development server isn't really that important for quick start.

Yes it is useful but makes things complex.

The most important part is really static site generation, and it is actually hard to find how to do it in your tutorials!

Same for `hugo new`. It is automagic, and anti-thesis of things being simple. This is why I added section to make it less magic, and simply allow content to be done manually.
2019-06-13 17:51:23 +02:00
Silvano Cerza 0aadc92e74 Update link to issue theme submission 2019-06-13 17:49:51 +02:00
Ricardo N Feliciano b1902faaa2 Remove incorrect note about Hugo snap --classic use. 2019-06-13 17:45:46 +02:00
Jaime Martínez Rincón d451e7362a Update documentation on page variables
* Update documentation on page variables

* Add resources variable

* Add aliases variable
2019-06-13 17:41:46 +02:00
AdaKaleh ab2233c395 Update publish_to_ghpages.sh
* Fix publish_to_ghpages.sh

* Add "git push" comment to the end of publish_to_ghpages.sh

* Remove redundant suggestion about CNAME file
2019-06-13 17:40:26 +02:00
Stephen Paulger 7c120346b1 Fix typo in syntax highlighting page.
hightlighting -> highlighting.
2019-06-13 17:37:37 +02:00
Mihira Jayasekera f01dc555df Correct some typos
Note that I changed the reading time example for pluralization from ‘One minute read’ to ‘One minute _to_ read’ because, in common US usage at least, this might properly be punctuated as ‘One-minute read’, and longer would be handled like ‘12-minute read’ (not ‘12 minutes read’), so it actually wouldn’t make a good example for demonstraing single and plural forms. By adding ‘to’, though, the example aligns with common US usage while also serving as an example of single and plural forms.

Closes #694
2019-06-13 17:35:33 +02:00
Alex Patterson be825ade94 Videos plural produces og:video 2019-06-13 17:27:03 +02:00
Gucccii bc962fbdfa Updated installing.md file to include linuxbrew installation
* Updated installing.md file to include linuxbrew installation

* fix typo
2019-06-13 17:26:17 +02:00
Annie-Claude Morin 08c9f8fc89 Mention 1 MB file size limit in readFile doc
The code has a hard coded limit of 1 MB in https://github.com/gohugoio/hugo/blob/master/tpl/os/os.go#L68

Now it's in the documentation too.
2019-06-13 17:25:26 +02:00
Bogdan Guna 7145e29e24 Fixes bad URL in menus.md for .hasChildren
* part of issue #814
2019-06-13 17:24:51 +02:00
Victor Massé 0edbd59c48 add warning about .Hugo variable being deprecated 2019-06-12 13:55:36 -04:00
Christian Oliff ff10aa522d examples: Update link to prevent redirect 2019-06-12 13:56:05 +02:00
Christian Oliff 9f258d2b8f examples: Update URLs 2019-06-12 12:29:19 +02:00