Daniel TISCHER [Wed, 25 Nov 2015 22:03:28 +0000 (23:03 +0100)]
Fixes #1292
digitalcraftsman [Wed, 30 Dec 2015 11:12:37 +0000 (12:12 +0100)]
Docs: add hugodeploy to tools section
ominty [Wed, 30 Dec 2015 00:37:14 +0000 (01:37 +0100)]
Add to press.md Beginners Tutorial for Hugo (German)
digitalcraftsman [Thu, 24 Dec 2015 22:26:04 +0000 (23:26 +0100)]
Docs: remove unnecessary --watch flag
digitalcraftsman [Thu, 24 Dec 2015 21:52:52 +0000 (22:52 +0100)]
Docs: add cross-references to installation guides
digitalcraftsman [Thu, 24 Dec 2015 22:04:58 +0000 (23:04 +0100)]
Update Hugo examples
Igor Kulman [Wed, 23 Dec 2015 10:15:30 +0000 (11:15 +0100)]
Add Coding Journal (blog.kulman.sk) to the Showcase
Steve Francia [Thu, 24 Dec 2015 14:47:00 +0000 (09:47 -0500)]
update to use cobra's sub package doc
Fabiano Frizzo [Fri, 4 Dec 2015 13:17:48 +0000 (11:17 -0200)]
Copy only the static files changed
Update on the watcher copy static to copy only the
changed files and add an flag forceSyncStatic to
copy all statics always a static is changed
See #1644 #1559
Steve Francia [Tue, 22 Dec 2015 00:46:12 +0000 (19:46 -0500)]
Ignore temp files created by IntelliJ when saving
Anthony Fok [Wed, 23 Dec 2015 16:31:07 +0000 (09:31 -0700)]
Docs: Add nohighlight shortcode and improve formatting
And some random formatting and copyediting fixes.
See also #1708
Anthony Fok [Wed, 23 Dec 2015 10:40:52 +0000 (03:40 -0700)]
Docs: Add lang attribute to Chinese and Japanese Press entries
This helps the web browser display the article titles and author names
with the correct CJK glyph variants.
Anthony Fok [Tue, 22 Dec 2015 23:21:03 +0000 (16:21 -0700)]
Update embedded livereload.js to 2.2.1 in livereload.go
Also add a copyright notice, download URL and the ugliflyjs command
used to update the livereloadJS variable.
Anthony Fok [Tue, 22 Dec 2015 21:09:38 +0000 (14:09 -0700)]
Upgrade Bootswatch, Font Awesome and jQuery in examples/blog
- Upgrade Bootswatch Yeti theme (3.2.0+3 → to 3.3.6)
- Upgrade Font Awesome (4.2.0 → 4.5.0)
- Upgrade jQuery (1.11.1 → 1.11.3)
Also keep the upstream filenames, e.g. bootstrap.min.css rather than
bootstrap.css for the minified CSS, and jquery-1.11.3.min.js rather than
jquery.js for the minified jQuery.
Anthony Fok [Tue, 22 Dec 2015 20:54:35 +0000 (13:54 -0700)]
Docs: Upgrade highlight.js to 9.0.0
with the following added languages in anticipation of document expansion:
apache dockerfile dos less php powershell python tex yaml
To reproduce docs/static/js/highlight.pack.js on Debian/Ubuntu:
$ sudo apt-get install nodejs npm
$ wget https://github.com/isagalaev/highlight.js/archive/9.0.0.tar.gz
$ tar xzf 9.0.0.tar.gz
$ cd highlight.js-9.0.0/
$ npm install
$ nodejs tools/build.js markdown asciidoc xml css javascript \
ini yaml json go bash diff dockerfile dos powershell makefile \
apache nginx tex http php python ruby django haml handlebars \
scss less coffeescript
Then, copy the resulting build/highlight.pack.js as well as
src/styles/monokai-sublime.css to the appropriate Hugo docs directories.
Anthony Fok [Tue, 22 Dec 2015 00:25:51 +0000 (17:25 -0700)]
Docs: Upgrade InstantClick from 3.0.1 to 3.1.0
Note: It is not currently used on http://gohugo.io/
Anthony Fok [Tue, 22 Dec 2015 00:22:00 +0000 (17:22 -0700)]
Docs: Upgrade livereload.js from post-2.0.8 to 2.2.1
Note: It is not currently used on http://gohugo.io/
Anthony Fok [Mon, 21 Dec 2015 20:21:42 +0000 (13:21 -0700)]
Docs: Upgrade Owl Carousel to 2.0.0-beta.3 (2015-06-19)
Downloaded from
http://smashingboxes.github.io/OwlCarousel2/download/owl.carousel.2.0.0-beta.3.zip
Also modify /index.html to use minified version of CSS files.
Anthony Fok [Mon, 21 Dec 2015 19:54:47 +0000 (12:54 -0700)]
Docs: Upgrade jquery.scrollTo from 1.4.6 to 2.1.2
Anthony Fok [Mon, 21 Dec 2015 19:40:08 +0000 (12:40 -0700)]
Docs: Correct file permissions from 0755 to 0644
Anthony Fok [Mon, 21 Dec 2015 19:09:14 +0000 (12:09 -0700)]
Docs: Rebase bootstrap-gohugo.css on Bootstrap v3.3.6
It was previously based on a customized version of bootstrap.css
from Bootstrap v3.0.0.
Also add a brief copyright notice and description.
Anthony Fok [Mon, 21 Dec 2015 19:04:11 +0000 (12:04 -0700)]
Docs: Rename bootstrap-theme.css to bootstrap-gohugo.css
because our bootstrap-theme.css was originally a customized
core bootstrap.css file from Bootstrap v3.0.0.
This rename helps to avoid confusion with Bootstrap’s official
bootstrap-theme.css files.
Anthony Fok [Mon, 21 Dec 2015 18:55:24 +0000 (11:55 -0700)]
Docs: Upgrade Bootstrap from v3.2.0 to v3.3.6
Fonts and JavaScript files only
Anthony Fok [Mon, 21 Dec 2015 07:43:40 +0000 (00:43 -0700)]
Docs: Remove octicons fonts
The GitHub octicons fonts, which, in our case, came with GitHub:buttons,
are not actually used on gohugo.io. Rather, the icons inside the GitHub
buttons are actually glyphs from Font Awesome.
Anthony Fok [Sun, 20 Dec 2015 20:18:18 +0000 (13:18 -0700)]
Docs: Remove unused GitHub:buttons files
The GitHub:buttons JavaScript code docs/static/js/buttons.js
from https://github.com/ntkme/github-buttons was referenced
in docs/layouts/partials/footer.html but never used.
Apparently, the actual code for the GitHub buttons on the upper-left
corner of gohugo.io documentation was written by @spf13 in
docs/static/js/scripts.js.
Anthony Fok [Sat, 19 Dec 2015 21:47:26 +0000 (14:47 -0700)]
Docs: Upgrade Font Awesome from 4.1.0 to 4.5.0
From https://fortawesome.github.io/Font-Awesome/assets/font-awesome-4.5.0.zip
Anthony Fok [Sat, 19 Dec 2015 19:19:26 +0000 (12:19 -0700)]
Upgrade jQuery 2.1.1 to 2.1.4 in doc
Bjørn Erik Pedersen [Sat, 19 Dec 2015 14:38:28 +0000 (15:38 +0100)]
Clean up the loop counter variables confusion in TestPageCache
See #1601
Anthony Fok [Sat, 19 Dec 2015 13:15:08 +0000 (06:15 -0700)]
Docs: Allow HTML in Showcase titles
This allows, for example, marking with the lang attribute
so that the correct CJK glyph variants are displayed.
Anthony Fok [Sat, 28 Nov 2015 14:42:40 +0000 (07:42 -0700)]
Use MkdirAll instead of Mkdir in `hugo gen doc`
Also print a feedback if the path does not exist and needs to be created.
Anthony Fok [Sat, 19 Dec 2015 12:19:31 +0000 (05:19 -0700)]
Fix hugo server "Watching for changes" path display
especially when the given `--source` path is a relative directory.
Also, when `--source` is specified, make WorkingDir an absolute path
from the very beginning, to be consistent with the case when `--source`
is not given. Otherwise, the function name helpers.AbsPathify(), which
prepends WorkingDir to a relative path, does not really make sense.
Fixes #1721
Anthony Fok [Sat, 19 Dec 2015 12:11:54 +0000 (05:11 -0700)]
Docs: Make <hr> slightly darker on gohugo.io
Anthony Fok [Sat, 19 Dec 2015 11:32:06 +0000 (04:32 -0700)]
Document 32-bit `hugo server` crash in v0.15 Release Note
See #1716
Salar Rahmanian [Thu, 17 Dec 2015 15:41:49 +0000 (10:41 -0500)]
Add gadgetplayboy.com to Showcase and an article to Press
Bjørn Erik Pedersen [Fri, 18 Dec 2015 22:23:37 +0000 (23:23 +0100)]
Fix build
Bjørn Erik Pedersen [Fri, 18 Dec 2015 22:09:50 +0000 (23:09 +0100)]
Remove "Host:" prefix from Host header
That thould work with Go 1.4.3 according to sources inside Google.
Bjørn Erik Pedersen [Fri, 18 Dec 2015 15:19:00 +0000 (16:19 +0100)]
Correct the strings.Contains syntax in failing test
Bjørn Erik Pedersen [Fri, 18 Dec 2015 15:05:24 +0000 (16:05 +0100)]
Fix remote test on Go 1.4
Bjørn Erik Pedersen [Fri, 18 Dec 2015 14:52:17 +0000 (15:52 +0100)]
Set the request Host on http test server
Needed for the remote tests to pass on Go 1.6.
See #1470
Bjørn Erik Pedersen [Fri, 18 Dec 2015 14:28:43 +0000 (15:28 +0100)]
Fix failing template related tests in Go 1.6
Fixes #1470
Bjørn Erik Pedersen [Fri, 18 Dec 2015 08:54:46 +0000 (09:54 +0100)]
Fix data race in non-renderable pages
Fixes #1601
Bjørn Erik Pedersen [Fri, 18 Dec 2015 08:35:14 +0000 (09:35 +0100)]
Fix 2 data races in TestPageCache
See #1601
digitalcraftsman [Thu, 17 Dec 2015 14:58:50 +0000 (15:58 +0100)]
Docs: add hugo-lambda to tools section
Anthony Fok [Thu, 17 Dec 2015 03:41:33 +0000 (20:41 -0700)]
Improve some random feedback messages
Also clean up a couple random comments.
Anthony Fok [Thu, 17 Dec 2015 03:37:20 +0000 (20:37 -0700)]
Move cobra.MousetrapHelpText to hugo_windows.go
Fix build error due to Cobra API change, see
spf13/cobra#195: Compile mousetrap only on Windows
Anthony Fok [Thu, 17 Dec 2015 02:10:46 +0000 (19:10 -0700)]
Docs: Enhance contrast and increase font-weight
Also replace 'Courier New' with newer monospace fonts,
and make font in main text slightly smaller to better fit
smaller screen.
See #1678.
Anthony Fok [Thu, 17 Dec 2015 01:43:55 +0000 (18:43 -0700)]
Fix formatting of "Installing on Windows" tutorial
Anthony Fok [Wed, 16 Dec 2015 16:26:06 +0000 (09:26 -0700)]
Regenerate the commands section of doc
Reason: The `--source` flag was added back to the `hugo new` commands
in commit
c1e134f.
See #1624, #1589
Anthony Fok [Wed, 16 Dec 2015 06:41:10 +0000 (23:41 -0700)]
Add `--source` flag back to `hugo new` command
v0.15 had it, but I removed it inadvertently for 0.16-DEV
in commit
00d04774 in PR #1652.
Also add directory bash-completion for `--source`
for `hugo convert`, `hugo list` and `hugo new`.
See #1624, #1589
John Ku [Mon, 14 Dec 2015 03:37:32 +0000 (19:37 -0800)]
Use absolute path when editing with editor
Fixes #1589
digitalcraftsman [Sat, 12 Dec 2015 18:34:14 +0000 (19:34 +0100)]
Docs: reference Jekyll import command in tools section
digitalcraftsman [Sat, 12 Dec 2015 18:31:22 +0000 (19:31 +0100)]
Docs: add Contentful converter to tools section
Bjørn Erik Pedersen [Mon, 14 Dec 2015 14:30:58 +0000 (15:30 +0100)]
Do not fail on unknown Jekyll file
Fixes #1705
Anthony Fok [Sun, 13 Dec 2015 12:57:18 +0000 (05:57 -0700)]
Remove/update outdated links in Press and Showcase
Bjørn Erik Pedersen [Sat, 12 Dec 2015 21:20:26 +0000 (22:20 +0100)]
Duplicate p.Description in Params map
Fixes #1484
Maxime Michel [Thu, 10 Dec 2015 20:01:19 +0000 (21:01 +0100)]
Added a missing closing tag
Anthony Fok [Fri, 11 Dec 2015 17:49:38 +0000 (10:49 -0700)]
Revise docs/content/tools/index.md (minor fixes)
Michael Holt [Wed, 9 Dec 2015 07:26:56 +0000 (23:26 -0800)]
Remove Duplicate "Editor Plugins" Section
Editor Plugins was repeated a second time. with identical content
Cameron Moore [Wed, 9 Dec 2015 16:25:50 +0000 (10:25 -0600)]
Document PreserveTaxonomyNames
Fixes #1648
Anthony Fok [Fri, 11 Dec 2015 16:50:36 +0000 (09:50 -0700)]
Regenerate the commands section of doc
See #1624
Cameron Moore [Wed, 9 Dec 2015 15:56:49 +0000 (09:56 -0600)]
Docs: remove references to dynamic CMS products
There's no need to call out other projects here, especially when we might
mischaracterize what they do.
See #1688
Cameron Moore [Tue, 8 Dec 2015 20:54:05 +0000 (14:54 -0600)]
Docs: document Node.IsHome
Anthony Fok [Thu, 10 Dec 2015 22:19:38 +0000 (15:19 -0700)]
Add copyright header to that source files that don’t have one.
See #1646
Steve Francia [Tue, 8 Dec 2015 22:38:26 +0000 (17:38 -0500)]
Fix some of the "new site" tests
Steve Francia [Tue, 8 Dec 2015 21:42:12 +0000 (16:42 -0500)]
add more architectures to .goxc
Steve Francia [Tue, 8 Dec 2015 21:41:36 +0000 (16:41 -0500)]
move some of the path helper utilities to afero
and provide wrappers in Hugo.
Steve Francia [Tue, 8 Dec 2015 20:10:53 +0000 (15:10 -0500)]
Update "Join Chat" to "Dev Chat"
Bjørn Erik Pedersen [Tue, 8 Dec 2015 18:25:34 +0000 (19:25 +0100)]
Turn off failing new site test
Until @spf13 gets some free time in his busy calendar.
See #1680
Tatsushi Demachi [Mon, 7 Dec 2015 20:28:36 +0000 (05:28 +0900)]
Add boolean value comparison to where tpl function
`where` template function's internal condition check function doesn't
check boolean values and always returns `false` silently.
This adds missing boolean value comparison to the function.
`where Values ".Param.key" true` like clause can be used.
Only "=", "==", "eq", "!=", "<>", "ne" operators are allowed to be used
with a boolean value. If an other operator is passed with it, the
condition check function returns `false` like before.
Bjørn Erik Pedersen [Mon, 7 Dec 2015 18:57:01 +0000 (19:57 +0100)]
Fix copyright headers in source files
Still need to add some missing headers and an AUTHORS file.
See #1646
Anthony Fok [Mon, 7 Dec 2015 06:23:54 +0000 (23:23 -0700)]
Sort and remove "" from "Available templates" list
gunnaraasen [Wed, 2 Dec 2015 22:58:54 +0000 (14:58 -0800)]
Remove transformation of menu URLs
Fixes #1239
inondle [Fri, 4 Dec 2015 01:32:12 +0000 (17:32 -0800)]
Added 'themes' as a default new site directory
Fixes #1507
Bjørn Erik Pedersen [Fri, 4 Dec 2015 01:09:03 +0000 (02:09 +0100)]
Update Travis config to Go 1.5.2
Anthony Fok [Thu, 3 Dec 2015 19:02:38 +0000 (12:02 -0700)]
Fix crash with "config", "check" and "benchmark"
The crash was introduced by commit
00d04774 in PR #1652
where access to NoTimes was attempted even though --noTimes
was not defined for the config, check and benchmark commands.
Special thanks to @bep for the heads-up!
See also #1624 - CLI UX: Flags shouldn't be global
Bjørn Erik Pedersen [Thu, 3 Dec 2015 11:37:48 +0000 (12:37 +0100)]
Fix broken Highlight test
Anthony Fok [Thu, 3 Dec 2015 06:51:48 +0000 (23:51 -0700)]
Add sanity checks for `hugo import jekyll`
Also add `--force` flag copied from `hugo new site`.
Fixes #1625
Anthony Fok [Wed, 2 Dec 2015 19:00:47 +0000 (12:00 -0700)]
Change most global flags into local ones
This is to ensure that only the relevant command-line flags
for a certain Hugo subcommand is shown to the end user,
reducing clutter and improving user experience.
Fixes #1624 - CLI UX: Flags shouldn't be global
Anthony Fok [Thu, 3 Dec 2015 07:28:09 +0000 (00:28 -0700)]
Revise format for "Unable to locate Config file" error
Bjørn Erik Pedersen [Wed, 2 Dec 2015 22:52:56 +0000 (23:52 +0100)]
Switch to container-based Travis
Bjørn Erik Pedersen [Wed, 2 Dec 2015 22:37:40 +0000 (23:37 +0100)]
Fix some errors with format patterns
See #1502
Anthony Fok [Wed, 2 Dec 2015 20:11:24 +0000 (13:11 -0700)]
Add a number sign "#" before a GitHub issue number
to make it more readily recognizable.
Cameron Moore [Wed, 25 Nov 2015 15:01:22 +0000 (09:01 -0600)]
Add gh shortcode to docs site
The `gh` shortcode has two modes: users and issues. For user mode, pass a list
of `@username` arguments. For the issues/PR mode, pass a list of issue or PR
numbers. PRs link to the "issues/" URL since Github redirects to the correct
URL.
Thanks to @ryanclarke for suggesting an improved template.
Anthony Fok [Wed, 2 Dec 2015 18:56:36 +0000 (11:56 -0700)]
One more error fix in the server command
And some other small code clean-up.
See #1502
Bjørn Erik Pedersen [Wed, 2 Dec 2015 15:27:08 +0000 (16:27 +0100)]
Some more error fixes in commands
See #1502
Bjørn Erik Pedersen [Wed, 2 Dec 2015 10:42:53 +0000 (11:42 +0100)]
Improve error handling in commands
Cobra, the CLI commander in use in Hugo, has some long awaited improvements in the error handling department.
This enables a more centralized error handling approach.
This commit introduces that by changing all the command funcs to `RunE`:
* The core part of the error logging, usage logging and `os.Exit(-1)` is now performed in one place and that one place only.
* The usage text is now only shown on invalid arguments etc. (user errors)
Fixes #1502
tryer3000 [Wed, 2 Dec 2015 09:18:14 +0000 (17:18 +0800)]
Update external tutorial links in usage.md
Anthony Fok [Wed, 2 Dec 2015 10:36:18 +0000 (03:36 -0700)]
Move `import jekyll` functions to import_jekyll.go
Also rename import_test.go to import_jekyll_test.go
Anthony Fok [Wed, 2 Dec 2015 09:20:55 +0000 (02:20 -0700)]
Enable dirname and filename completion for more flags
These flags are:
* --source (-s), --cacheDir, --destination (-d) and --logFile
* --completionfile and --dir.
Anthony Fok [Wed, 2 Dec 2015 04:03:17 +0000 (21:03 -0700)]
Print error when /index.html is zero-length
Also print warning (in verbose mode) for other empty pages.
See #947
Anthony Fok [Wed, 2 Dec 2015 04:00:59 +0000 (21:00 -0700)]
Run `go fmt hugolib/site.go`
Anthony Fok [Tue, 1 Dec 2015 17:25:56 +0000 (10:25 -0700)]
Bump min_version to 0.15 for `hugo new theme`
Tatsushi Demachi [Tue, 1 Dec 2015 16:48:52 +0000 (01:48 +0900)]
Make noTimes command flag work
Hugo command provides "noTimes" flag but it doesn't affect synced files
timestamp regardless of whether the flag is specified or not.
This fixes it by adding a flag check and overwriting configuration if it
is specified.
Fix #1583
Tatsushi Demachi [Tue, 1 Dec 2015 14:53:27 +0000 (23:53 +0900)]
Copy static dir files without theme's static dir
Hugo command doesn't copy site's "static" directory files to "public"
directory if a specified theme doesn't have "static" directory because
theme's "static" directory checking always returns an error.
This fixes it by just showing a warning message about theme's "static"
directory absence and not skipping following processes.
Fix #1655
Takeru Naito [Tue, 1 Dec 2015 07:07:43 +0000 (16:07 +0900)]
Fix typo in "Creating a New Theme"
the the skeleton's ->
the theme skeleton's
David Oliver [Sat, 28 Nov 2015 19:26:01 +0000 (20:26 +0100)]
Add Draft page variable to docs
Also tweaks language used in page params sentence.
Gustav Näslund [Mon, 30 Nov 2015 19:52:30 +0000 (20:52 +0100)]
Use .Site.Pages in the documentation examples instead of .Site.Recent
Valentin Vago [Mon, 30 Nov 2015 09:41:19 +0000 (10:41 +0100)]
Add Camunda blog and docs showcases
Anthony Fok [Mon, 30 Nov 2015 07:19:04 +0000 (00:19 -0700)]
Change plainIdAnchors to plainIDAnchors in docs
Also add a note saying that these blackfriday flags are
very case-sensitive as of Hugo v0.15.
Thanks to @ryanclarke for noticing the change in behaviour.
See also spf13/hugo@
5838420
Anthony Fok [Mon, 30 Nov 2015 06:23:25 +0000 (23:23 -0700)]
Copyedit the shortcodes documentation some more