Steve Francia [Fri, 29 Jan 2016 21:54:33 +0000 (16:54 -0500)]
Provide more detail on static sync when running with verbose
digitalcraftsman [Sat, 16 Jan 2016 17:49:18 +0000 (18:49 +0100)]
Add autostart option to YouTube shortcode
Anthony Fok [Wed, 13 Jan 2016 06:34:29 +0000 (23:34 -0700)]
Do not call watchConfig() when not in watch mode
See #1772
Also, force DisableLiveReload to true when running "hugo --watch"
(build-only non-server mode) to prevent livereload.ForceRefresh(),
which would end up blocking watchConfig() forever, from being called
because livereload.Initialize() is never called in this case.
This fixes the bug where "hugo --watch" could only reload config.toml
once before it gets stuck for good at livereload.ForceRefresh().
This is also consistent with Hugo's existing behaviour:
Non-server "hugo --watch" has never injected livereload.js
since the inception of the "watch" feature in Hugo v0.12.
Steve Francia [Fri, 29 Jan 2016 21:14:23 +0000 (16:14 -0500)]
Add flag --cleanDestinationDir=false to retain prior behavior
Bjørn Erik Pedersen [Thu, 28 Jan 2016 14:31:25 +0000 (15:31 +0100)]
Make the watch logger less chatty
Bjørn Erik Pedersen [Thu, 28 Jan 2016 13:00:03 +0000 (14:00 +0100)]
Make the DistinctErrorLogger more generic
Tatsushi Demachi [Thu, 28 Jan 2016 10:27:35 +0000 (19:27 +0900)]
Check for exported fields in embedded structs
This fixes a exported field check condition in a way described at Go
issue https://golang.org/issue/12367
According to the issue comments, this fix should be safe under Go 1.6.
Bjørn Erik Pedersen [Wed, 27 Jan 2016 21:28:05 +0000 (22:28 +0100)]
Fix hugo benchmark
Appending to the site 13 times doesn't sound realistic.
Steve Francia [Tue, 26 Jan 2016 19:12:18 +0000 (14:12 -0500)]
Rewrite commentary on static event handling
Steve Francia [Tue, 26 Jan 2016 19:11:22 +0000 (14:11 -0500)]
Permit directory removal during static sync
Steve Francia [Tue, 26 Jan 2016 19:10:18 +0000 (14:10 -0500)]
Ignore .DS_Store changes (thumbnail cache file on mac)
Steve Francia [Mon, 25 Jan 2016 19:40:44 +0000 (14:40 -0500)]
Handle self rename operations gracefully
Steve Francia [Wed, 13 Jan 2016 16:42:43 +0000 (11:42 -0500)]
Static file incremental sync improvements
in tandem with Afero improvements
Steve Francia [Mon, 11 Jan 2016 17:06:52 +0000 (12:06 -0500)]
Handle remove & rename source operations incrementally
Steve Francia [Mon, 11 Jan 2016 15:48:23 +0000 (10:48 -0500)]
A single file can be replaced in site.Files
Steve Francia [Fri, 8 Jan 2016 23:37:37 +0000 (18:37 -0500)]
Process only the source content that has changed
Steve Francia [Fri, 8 Jan 2016 02:48:13 +0000 (21:48 -0500)]
Read/reread individual source content files
next is incremental conversion
Steve Francia [Tue, 22 Dec 2015 05:10:01 +0000 (00:10 -0500)]
Separate handling content, data and template changes
Data & Templates reading independently
Need to work on page source reading and other source files
Steve Francia [Tue, 22 Dec 2015 00:47:48 +0000 (19:47 -0500)]
Separate reading source and processing source operations
Steve Francia [Tue, 22 Dec 2015 00:46:12 +0000 (19:46 -0500)]
Ignore temp files created by IntelliJ when saving
leepenney [Sun, 24 Jan 2016 16:22:55 +0000 (16:22 +0000)]
Add leepenney.com to showcase page
Brynjar Harðarson [Thu, 21 Jan 2016 23:35:13 +0000 (23:35 +0000)]
Add Web Study List to showcase page
digitalcraftsman [Thu, 21 Jan 2016 13:30:06 +0000 (14:30 +0100)]
Docs: add Hugopit to tools section
tcnksm [Wed, 20 Jan 2016 08:31:36 +0000 (17:31 +0900)]
Add Rakuten Tech Blog in showcase page
callmelanmao [Wed, 20 Jan 2016 03:58:35 +0000 (11:58 +0800)]
add javaunion in showcase
Bjørn Erik Pedersen [Fri, 15 Jan 2016 23:28:48 +0000 (00:28 +0100)]
Fix some Go vet errors
Bjørn Erik Pedersen [Fri, 15 Jan 2016 23:06:32 +0000 (00:06 +0100)]
Docs: Add doc for string and int
Bjørn Erik Pedersen [Fri, 15 Jan 2016 22:56:45 +0000 (23:56 +0100)]
Add int and string cast template funcs
Bjørn Erik Pedersen [Thu, 14 Jan 2016 21:59:38 +0000 (22:59 +0100)]
Docs: Enable plain id anchors
Making it possible to post permanent anchored links to StackExchange etc.
Bjørn Erik Pedersen [Thu, 14 Jan 2016 16:30:05 +0000 (17:30 +0100)]
Add one more menu test
See #1774
Bjørn Erik Pedersen [Thu, 14 Jan 2016 14:14:21 +0000 (15:14 +0100)]
Add menu test for external URL
See #1774
Anthony Fok [Thu, 14 Jan 2016 08:22:48 +0000 (01:22 -0700)]
Docs: Add missing "-b master" parameter to "git submodule add" command
for correct deployment on GitHub Pages. Thanks, @adrianmoya!
Fixes #1777
Bjørn Erik Pedersen [Wed, 13 Jan 2016 21:43:55 +0000 (22:43 +0100)]
Update Travis config to Go 1.5.3
Bjørn Erik Pedersen [Wed, 13 Jan 2016 13:26:25 +0000 (14:26 +0100)]
Add one more temporary template test for linux/arm
See #1771
Bjørn Erik Pedersen [Wed, 13 Jan 2016 13:09:24 +0000 (14:09 +0100)]
Add temporary template test for linux/arm
See #1771
Steve Francia [Tue, 12 Jan 2016 02:45:05 +0000 (21:45 -0500)]
update server to match latest afero
Anthony Fok [Sat, 9 Jan 2016 18:57:14 +0000 (11:57 -0700)]
Docs: Change the pseudo-absolute path to a relative one
See #1765
Emily Horsman [Sat, 9 Jan 2016 01:01:00 +0000 (20:01 -0500)]
Docs: add emilyhorsman.com (buttercup theme) to showcase
Bjørn Erik Pedersen [Sat, 9 Jan 2016 15:11:38 +0000 (16:11 +0100)]
Add some p-wrap shortcode tests
Deliberetely made to pass, even if they (probably) should not.
See #1642
Bjørn Erik Pedersen [Fri, 8 Jan 2016 21:55:19 +0000 (22:55 +0100)]
Group vars in paginator
It's easier to read.
digitalcraftsman [Mon, 4 Jan 2016 17:15:08 +0000 (18:15 +0100)]
Docs: add panel showing the last revision of a page
The panel also contains the version of the
documentation.
Anthony Fok [Thu, 7 Jan 2016 04:11:02 +0000 (21:11 -0700)]
Docs: Copyedit extras/robots-txt.md
Bjørn Erik Pedersen [Wed, 6 Jan 2016 22:45:19 +0000 (23:45 +0100)]
docs: Add lastmod to content files
Based on last commit in Git.
ominty [Tue, 5 Jan 2016 12:02:18 +0000 (13:02 +0100)]
Update press.md
New entry: Harald Weidner in german at Cologne Linux Meeting 2015: Link to set of slides available on bottom of page
Ivan Fraixedes [Tue, 8 Dec 2015 21:13:09 +0000 (21:13 +0000)]
Add embeded template for robots.txt
Daniel Martí [Sun, 3 Jan 2016 11:53:45 +0000 (12:53 +0100)]
Replace *bytes.Buffer with io.Writer in rendering
Found via github.com/mvdan/interfacer.
Cameron Moore [Tue, 5 Jan 2016 22:10:29 +0000 (16:10 -0600)]
Update and refactor to ack Go Authors
Anthony Fok [Tue, 5 Jan 2016 06:47:12 +0000 (23:47 -0700)]
Docs: Update copyright year on gohugo.io front page
Anthony Fok [Tue, 5 Jan 2016 06:36:57 +0000 (23:36 -0700)]
Docs: Run "brew update" before "brew install hugo"
Remind user to always run "brew update" first in order to avoid
repeated bug reports from users who didn't do that.
See #824, #1067, #1537, #1633 and #1749
Bjørn Erik Pedersen [Mon, 4 Jan 2016 22:48:05 +0000 (23:48 +0100)]
Add some trailing newline shortcode tests
See #1753
Sven Dowideit [Mon, 4 Jan 2016 07:27:21 +0000 (17:27 +1000)]
Use a Docker container to build hugo
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Alexandre Bourget [Fri, 1 Jan 2016 21:08:39 +0000 (16:08 -0500)]
Added documentation about variable scoping in "partials".
Alexandre Bourget [Wed, 30 Dec 2015 09:19:28 +0000 (04:19 -0500)]
Added "Caddy server"'s handling of 404 errors.
Alexandre Bourget [Wed, 30 Dec 2015 05:47:59 +0000 (00:47 -0500)]
Small refactor: don't call `p.Permalink()` for all aliases, call it only
once and only if necessary.
Kartik Singhal [Sun, 3 Jan 2016 03:41:06 +0000 (22:41 -0500)]
Update doc to reflect default value of watch variable
Gerben Castel [Thu, 10 Dec 2015 19:39:06 +0000 (19:39 +0000)]
Allow renaming of sitemap.xml
Ben Thomas [Mon, 7 Dec 2015 17:00:28 +0000 (10:00 -0700)]
added remaining relevant options
Ben Thomas [Fri, 4 Dec 2015 00:17:48 +0000 (17:17 -0700)]
added more pygments opts
Antti Järvinen [Mon, 7 Dec 2015 05:27:37 +0000 (07:27 +0200)]
Rename random to shuffle. Remove count parameteter to simplify its role. Add tests for randomising.
Antti Järvinen [Sun, 6 Dec 2015 10:28:03 +0000 (12:28 +0200)]
Add Random function to template functions
Adds Random function to pick N random items from sequence.
John McFarlane [Mon, 7 Dec 2015 05:34:09 +0000 (21:34 -0800)]
Fix /.xml RSSLink when uglyurls are enabled
Prior to this commit the root url with uglyurls enabled is "/.xml".
This commit relates to #175.
Wade Fitzpatrick [Thu, 17 Dec 2015 05:56:16 +0000 (15:56 +1000)]
Added async version of Google Analytics internal template
Fabiano Frizzo [Sat, 2 Jan 2016 16:44:57 +0000 (14:44 -0200)]
Copy static files changed
Fix watcher copy static theme files for
changed files
See #1644 #1559
Anthony Fok [Sun, 3 Jan 2016 12:14:13 +0000 (05:14 -0700)]
Add to press.md two articles about Hugo on AWS Lambda
and one article about WordPress-to-Hugo migration
Anthony Fok [Sun, 3 Jan 2016 10:33:10 +0000 (03:33 -0700)]
Change Gitter badge to "gitter | dev chat" in README.md
using the badges-as-a service provided by Shields.io
ominty [Fri, 1 Jan 2016 10:48:39 +0000 (11:48 +0100)]
Update press.md
Fix table, and add new entry
digitalcraftsman [Sun, 20 Sep 2015 16:15:45 +0000 (18:15 +0200)]
Add template funcs countwords and countrunes
Colin Bate [Thu, 2 Jul 2015 18:31:16 +0000 (15:31 -0300)]
Add hasPrefix template function.
Sven Dowideit [Wed, 9 Sep 2015 00:03:38 +0000 (10:03 +1000)]
Source file based relative linking
ala GitHub repository markdown for both md files and non-md files
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Sven Dowideit [Thu, 3 Sep 2015 02:27:57 +0000 (12:27 +1000)]
Write a simplistic test for site.refLink
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
digitalcraftsman [Mon, 23 Nov 2015 19:44:59 +0000 (20:44 +0100)]
Add themesDir option to configuration
themesDir can be used to change the default
path of the themes folder.
Fixes 1556
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.