Cameron Moore
8cd3ea565a
Fix check-vendor logic in Makefile
2017-04-22 22:34:12 +02:00
Bjørn Erik Pedersen
7935541087
Remove check-vendor from make check
...
I suspect there are some false negatives in this one.
2017-04-19 18:12:01 +02:00
Bjørn Erik Pedersen
d6818f2381
vendor: Fix go-toml
2017-04-19 18:09:51 +02:00
Cameron Moore
592e055f12
Add check-vendor target to Makefile
...
The check-vendor target will exit with an error if any files in vendor/
differ from what's checked into git.
govendor checksums can get out of sync if extraneous files are in the
local, third-party repo (see kardianos/govendor#129 ). govendor also
updates the vendor.json upon "sync." We can use that quirk to detect
out of sync checksums in CI, so I've added check-vendor to the check
target dependencies.
2017-04-19 18:04:53 +02:00
Bjørn Erik Pedersen
ab692e73de
hugolib: Log WARNING only on unknown /data files
...
Fixes #3361
2017-04-18 18:47:37 +02:00
Ricky Han
7cdc244a72
docs: Add txtpen as alternative commenting service
2017-04-18 18:05:52 +02:00
Rachel Simone Weil
b5e32eb609
docs: Fix .Data.Pages range in sample
2017-04-16 13:22:24 +02:00
Bjørn Erik Pedersen
66ec6305f6
docs: Add 0.20.2 release notes
2017-04-16 10:56:50 +02:00
Bjørn Erik Pedersen
1cf29200b4
tplimpl: Allow text partials in HTML templates
...
Most obvius benefit of this is to include CSS partials with css file suffix into HTML templates.
A valid workaround would be to rename the file `mystyles.html`, but that doesn't work too good for external editors etc.
The css partial is a method used in some themes before Hugo 0.20, but then it stopped working.
This commit reintroduces that behaviour.
Note that the regular layout lookups for text templates, i.e. "single.json" will be
prefixed with "_text/" on lookup and will only match in the text collection.
Fixes #3273
2017-04-16 09:17:47 +02:00
Bjørn Erik Pedersen
8ccee6717c
vendor: Update dependencies
2017-04-14 10:24:30 +02:00
Bjørn Erik Pedersen
86a97dbd18
docs: Add Netlify badge if on Netlify
2017-04-14 10:22:51 +02:00
Bjørn Erik Pedersen
5e2e62d97f
Get versions back to 0.20-DEV
...
This reverts commit 8ac1fcd0ce
.
2017-04-13 16:19:50 +02:00
Bjørn Erik Pedersen
8ac1fcd0ce
Prepare release 0.20.1
2017-04-13 16:00:30 +02:00
Bjørn Erik Pedersen
0ed3beec80
docs: Add 0.20.1 release notes
2017-04-13 14:05:33 +02:00
Bjørn Erik Pedersen
077005e514
output: Fix base theme vs project base template logic
...
Fixes #3323
2017-04-13 11:19:54 +02:00
Sanjay Saxena
efc0e05c4e
docs: Add sanjay-saxena.github.io to the showcase
2017-04-13 00:40:45 +02:00
Bjørn Erik Pedersen
6d2ea0f7d7
hugolib, output: Do not lower case template names
...
This regression was introduced in Hugo 0.20.
Fixes #3333
2017-04-12 21:40:55 +02:00
Bjørn Erik Pedersen
45c7452668
hugolib: Must recreate Paginator on live-reload
...
The structure may potentially have changed, and then it fails.
Fixes #3315
2017-04-12 21:15:51 +02:00
Bjørn Erik Pedersen
e765b43e2b
hugolib: Avoid recreating the Paginator on copy
...
See #3315
2017-04-12 21:15:51 +02:00
Bjørn Erik Pedersen
3b67759495
hugolib: Avoid processing the same notify event twice
...
On `macOS`, at least, we've seen multiple WRITE events for same file, and no need to do the same job twice.
2017-04-12 21:15:51 +02:00
Anthony Fok
5fad8a9d06
snapcraft: Go 1.8.1
2017-04-12 03:05:01 -06:00
Bjørn Erik Pedersen
9ec00725b7
hugolib: Final fix of rssURI deprecation
...
Fixes #3319
2017-04-10 21:26:55 +02:00
Bjørn Erik Pedersen
cfd3af8e69
hugolib: Only show rssUri deprecation WARNING if it is actually set
...
Fixes #3319
2017-04-10 17:54:55 +02:00
Bjørn Erik Pedersen
4c6fec56f1
all Bump to 0.21-DEV
2017-04-10 09:33:21 +02:00
Bjørn Erik Pedersen
dac0d4a69d
all: Prepare Hugo 0.20 release version
2017-04-10 09:10:53 +02:00
Bjørn Erik Pedersen
03ec2b3397
docs: AddHugo 0.20 Release Notes
2017-04-10 09:07:01 +02:00
Masashi Miyaura
18f5f3c14c
docs: Add Emacs plugin easy-hugo
2017-04-09 12:05:50 +02:00
ssc2015
308678aa7f
docs: Add siba.ai to the showcase
2017-04-08 18:59:17 +02:00
Bjørn Erik Pedersen
e73a35dea5
hugolib: Remove unused line
2017-04-08 18:04:12 +02:00
Bjørn Erik Pedersen
c9731b2c2a
hugolib: Delay deletion of Page.Now()
...
Looking at the state of the themes, it will be too painful to log ERROR now.
2017-04-08 18:02:36 +02:00
Bjørn Erik Pedersen
9ebbf1b054
docs: Add docs about output format linking
...
Fixes #3301
Fixes #3302
2017-04-08 16:33:20 +02:00
Bjørn Erik Pedersen
2874fc75ce
hugolib, output: Add NotAlternative to OutputFormat
...
To make sure CSS and similar does not appear in the AlternativeOutputFormats list.
2017-04-08 11:21:12 +02:00
Bjørn Erik Pedersen
9e69a92e85
hugolib: Deprecate rssURI
2017-04-08 10:46:13 +02:00
Bjørn Erik Pedersen
9a8b65d8d7
travis: Go 1.8.1
2017-04-07 20:30:45 +02:00
Bjørn Erik Pedersen
7b2e1b0be9
hubolib: Do not add missing trailing slash to command line baseURL
...
This makes it consistent with how it behaves when it's set in config.toml.
This commit also unifies BaseURL in Site.Info so we now have one source for this value.
Fixes #3262
2017-04-07 20:18:31 +02:00
Li-Wen Yip
e975a07fb0
Update press.md
...
Add "Getting started with Hugo and the plain-blog theme, on NearlyFreeSpeech.Net"
2017-04-07 19:05:15 +02:00
Bjørn Erik Pedersen
7ad721fd78
hugolib: Add .Site.Params.mainSections
...
Fixes #3206
2017-04-07 13:03:34 +02:00
Bjørn Erik Pedersen
5714531f34
hugolib: Only do link transforms etc. on HTML type of pages
...
See #2828
2017-04-07 11:02:23 +02:00
Bjørn Erik Pedersen
3c405f5172
all: Document the Output Formats feature
...
This commit also adds a new command, docshelper, with some utility funcs that adds a JSON datafiles to /docs/data that would be a pain to create and maintain by hand.
Fixes #3242
2017-04-07 10:52:16 +02:00
Bjørn Erik Pedersen
9580872459
hugolib: Update deprecation vs Hugo 0.20
...
Fixes #3271
2017-04-07 10:48:09 +02:00
Bjørn Erik Pedersen
af99a59021
output: Add some sane defaults for output format
...
Fixes #3290
2017-04-07 10:43:48 +02:00
Albert Nigmatzianov
260b55ea56
tpl: Set RenderingContext.Config in markdownify
2017-04-06 21:02:37 +02:00
Albert Nigmatzianov
8f09e5f6bc
helpers: Add new properties to ContentSpec
2017-04-06 21:02:37 +02:00
Bjørn Erik Pedersen
c4a1165587
all: Handle all errors
...
As reported by `errcheck`.
2017-04-06 20:35:26 +02:00
Bjørn Erik Pedersen
e77bb13c20
media, output: Fix spelling
2017-04-06 15:28:56 +02:00
Bjørn Erik Pedersen
e6e1aca3f4
docs: Disable GitInfo by default
...
Use `--enableGitInfo` when publishing.
This gives a much better out-of-the-box editing experience.
2017-04-06 13:50:10 +02:00
Chris Hager
f3b4a0e99e
docs: Add info about Pygments installation in installing.md
...
Additional information about the Pygments dependency in the "installing from source" chapter.
2017-04-06 13:48:22 +02:00
Li-Wen Yip
0dd6890ed5
docs: Add article by Li-Wen Yip to press section
2017-04-06 13:38:32 +02:00
Bjørn Erik Pedersen
6650fae7ad
tpl: Fix nil pointer in Tree()
...
Fixes #3285
2017-04-05 22:12:03 +02:00
Ricardo N Feliciano
b31da911b5
docs: Properly capitalize GitHub
2017-04-05 18:41:23 +02:00