brevno-suite/hugo
8 years agohugolib: Use the site's Tmpl for non-renderable pages
Bjørn Erik Pedersen [Thu, 9 Feb 2017 18:28:02 +0000 (01:28 +0700)]
hugolib: Use the site's Tmpl for non-renderable pages

8 years agodocs: Add instructions for customized domain
Yizhe Xu [Thu, 9 Feb 2017 09:50:16 +0000 (02:50 -0700)]
docs: Add instructions for customized domain

8 years agohugolib: Correct repeated spelling errors in documentation
John Feminella [Thu, 9 Feb 2017 09:48:07 +0000 (04:48 -0500)]
hugolib: Correct repeated spelling errors in documentation

8 years agotpl: Must do a extra lookup of cloned base templates
Bjørn Erik Pedersen [Tue, 7 Feb 2017 03:43:30 +0000 (10:43 +0700)]
tpl: Must do a extra lookup of cloned base templates

See #2549
Fixes #3013

8 years agoRevert "hugolib: Add some baseof test variants"
Bjørn Erik Pedersen [Mon, 6 Feb 2017 19:04:12 +0000 (02:04 +0700)]
Revert "hugolib: Add some baseof test variants"

This reverts commit d11f37d97cb3b1298f04f2fbc6ba643d93509b35.

Will have to look more closely into this.

See #2995

8 years agohugolib: Add some baseof test variants
Bjørn Erik Pedersen [Mon, 6 Feb 2017 16:07:48 +0000 (23:07 +0700)]
hugolib: Add some baseof test variants

See #2995

8 years agodocs: Update Bitbucket Hosting Tutorial
Dundonian [Sun, 5 Feb 2017 20:55:18 +0000 (12:55 -0800)]
docs: Update Bitbucket Hosting Tutorial

8 years agodocs: Add article to press section
Pascal Aubort [Sun, 5 Feb 2017 20:53:14 +0000 (21:53 +0100)]
docs: Add article to press section

Link blog post which describes how to use Cloud9 IDE to make a Hugo site and then deploy it to Google App Engine.

8 years agodocs: Update link to blog post in community/press.md
ominty [Wed, 1 Feb 2017 17:45:13 +0000 (18:45 +0100)]
docs: Update link to blog post in community/press.md

changed link to german tutorial series as site structure has changed due to page update

8 years agohelpers: Fix misspells
bogem [Thu, 2 Feb 2017 21:25:42 +0000 (22:25 +0100)]
helpers: Fix misspells

8 years agodocs: Add tuorial "How to use Google Firebase to host a Hugo site"
Andrew [Sat, 4 Feb 2017 14:02:04 +0000 (09:02 -0500)]
docs: Add tuorial "How to use Google Firebase to host a Hugo site"

Aerobatic.io migrated their Bitbucket hosting plugin and no longer provide
a free tier with a custom domain.  This tutorial covers setting up Firebase
to host a Hugo site that was previously hosted on Aerobatic.

8 years agodocs: Fix typo in templates/functions.md
digitalcraftsman [Sat, 4 Feb 2017 21:23:57 +0000 (22:23 +0100)]
docs: Fix typo in templates/functions.md

8 years agohugolib: Skip rendering for the page tests
Bjørn Erik Pedersen [Sat, 4 Feb 2017 16:15:07 +0000 (23:15 +0700)]
hugolib: Skip rendering for the page tests

8 years agoall: Refactor to nonglobal file systems
Bjørn Erik Pedersen [Tue, 10 Jan 2017 09:55:03 +0000 (10:55 +0100)]
all: Refactor to nonglobal file systems

Updates #2701
Fixes #2951

8 years agovendor: Revert to previous cast
Bjørn Erik Pedersen [Fri, 3 Feb 2017 12:23:32 +0000 (19:23 +0700)]
vendor: Revert to previous cast

The new cast caused test failures.

8 years agovendor: Update cast
Bjørn Erik Pedersen [Fri, 3 Feb 2017 11:39:35 +0000 (18:39 +0700)]
vendor: Update cast

8 years agodocs: Add engineering.invisionapp.com to the showcase
Devin Schulz [Sat, 28 Jan 2017 17:13:31 +0000 (12:13 -0500)]
docs: Add engineering.invisionapp.com to the showcase

8 years agodocs: Multilingual documentation for frontmatter params
Sebastian G [Fri, 27 Jan 2017 14:15:55 +0000 (15:15 +0100)]
docs: Multilingual documentation for frontmatter params

Fixes #2990

8 years agodocs: Add netlify to the list of static hosting solutions
ZaneDev [Thu, 26 Jan 2017 18:42:56 +0000 (10:42 -0800)]
docs: Add netlify to the list of static hosting solutions

Netlify is a solid solution similar to surge and aerobatic and they have a great free plan and pro plan for open source projects.

8 years agodocs: Add picturingjordan.com to the showcase
Alan Orth [Sun, 22 Jan 2017 15:29:33 +0000 (17:29 +0200)]
docs: Add picturingjordan.com to the showcase

8 years agoAdd pygmentize to the hugo snap
Leo Arias [Mon, 9 Jan 2017 00:54:39 +0000 (00:54 +0000)]
Add pygmentize to the hugo snap

closes #2914

8 years agotpl: Improve generation of OpenGraph date tags
Alan Orth [Sun, 22 Jan 2017 14:06:41 +0000 (16:06 +0200)]
tpl: Improve generation of OpenGraph date tags

Allow all nodes/pages to use date-related OpenGraph meta tags, not
only sites which are using the as-of-yet unfinished .Site.Authors
functionality.

Improve compliance of tags with Facebook's OpenGraph docs for the
"website" and "article" types[0][1]. Also, use the proper tag for
modification date (og:update_time vs article:modified_time).

Generate date published using either .PublishDate or .Date, and use
.Lastmod for modification date, which can use the new enableGitInfo
functionality from Hugo 0.18, but seamlessly falls back to .Date if
the site does not have this enabled/supported.

[0] https://developers.facebook.com/docs/reference/opengraph/object-type/website/
[1] https://developers.facebook.com/docs/reference/opengraph/object-type/article/

8 years agodocs: Add petanikode.com to the showcase
Ardianta Pargo [Thu, 19 Jan 2017 09:22:56 +0000 (17:22 +0800)]
docs: Add petanikode.com to the showcase

8 years agocmd: Remove empty tags/features strings in theme.toml template
digitalcraftsman [Thu, 19 Jan 2017 18:58:53 +0000 (19:58 +0100)]
cmd: Remove empty tags/features strings in theme.toml template

8 years agodocs: Add Dokuwiki to hugo conversion tool
Wouter Groeneveld [Wed, 18 Jan 2017 18:39:07 +0000 (19:39 +0100)]
docs: Add Dokuwiki to hugo conversion tool

I've written a DokuWiki to hugo conversion tool in python to migrate my blog content to Hugo. I hope others will also benefit from it. Feel free to take a look and give some feedback.

8 years agomake: Fix typo
Dmitry Kurkin [Wed, 18 Jan 2017 18:30:25 +0000 (20:30 +0200)]
make: Fix typo

8 years agodocs: Add tumblr-to-hugo to tools section
digitalcraftsman [Wed, 18 Jan 2017 18:24:32 +0000 (19:24 +0100)]
docs: Add tumblr-to-hugo to tools section

8 years agotpl: Fix deadlock in cached partials
Cameron Moore [Tue, 17 Jan 2017 18:51:24 +0000 (12:51 -0600)]
tpl: Fix deadlock in cached partials

Cached partials that contained cached partials would create a deadlock.

Fixes #2935

8 years agodocs: Update author credits in GH pages tutorial
digitalcraftsman [Sun, 15 Jan 2017 19:08:34 +0000 (20:08 +0100)]
docs: Update author credits in GH pages tutorial

8 years agodocs: Update tutorial on GitHub Pages deployment
Gunnar Morling [Wed, 11 Jan 2017 22:45:24 +0000 (23:45 +0100)]
docs: Update tutorial on GitHub Pages deployment

Now it describes the deployment via /docs folder and git worktree.

8 years agotpl: Fix broken benchmarks
Bjørn Erik Pedersen [Sat, 14 Jan 2017 11:39:52 +0000 (12:39 +0100)]
tpl: Fix broken benchmarks

But that did not explain issue #2935:

```
BenchmarkPartial-4                       200000          6452 ns/op        1040 B/op          30 allocs/op
BenchmarkPartialCached-4                 500000          4104 ns/op         544 B/op          14 allocs/op
BenchmarkPartialCachedVariants-4         500000          3398 ns/op         624 B/op          17 allocs/op
```

8 years agocommands: Fix newly broken server flag handling
Bjørn Erik Pedersen [Wed, 11 Jan 2017 17:53:51 +0000 (18:53 +0100)]
commands: Fix newly broken server flag handling

8 years agoClean up Makefile (#2924)
Cameron Moore [Wed, 11 Jan 2017 09:07:35 +0000 (03:07 -0600)]
Clean up Makefile (#2924)

Add missing deprecated targets.  Remove `test` from `check` target since
we already have `test-race`.

Fixes #2901

8 years agoShow full template error
Brad Peabody [Wed, 11 Jan 2017 08:56:03 +0000 (00:56 -0800)]
Show full template error

8 years ago all: Refactor to nonglobal template handling
Bjørn Erik Pedersen [Tue, 10 Jan 2017 00:36:59 +0000 (01:36 +0100)]
 all: Refactor to nonglobal template handling

Updates #2701

8 years agohugolib: Avoid double-encoding of paginator URLs
Bjørn Erik Pedersen [Sun, 8 Jan 2017 15:54:05 +0000 (16:54 +0100)]
hugolib: Avoid double-encoding of paginator URLs

Fixes #2177

8 years agohelpers: Allow tilde in URLs
Bjørn Erik Pedersen [Sat, 7 Jan 2017 18:29:20 +0000 (19:29 +0100)]
helpers: Allow tilde in URLs

See #2177

8 years agoall: Refactor to non-global logger
Bjørn Erik Pedersen [Tue, 3 Jan 2017 16:28:51 +0000 (17:28 +0100)]
all: Refactor to non-global logger

Note that this looks like overkill for just the logger, and that is correct,
but this will make sense once we start with the template handling etc.

Updates #2701

8 years agoAdd the instructions to install the snap
Leo Arias [Fri, 6 Jan 2017 17:48:26 +0000 (11:48 -0600)]
Add the instructions to install the snap

8 years agohugolib: Remove summary.go
magikstm [Fri, 6 Jan 2017 15:31:22 +0000 (10:31 -0500)]
hugolib: Remove summary.go

Became obsolete after refactoring.

Fixes #2888.

8 years agohugolib: Allow arrays of arrays in frontmatter Params
Cameron Moore [Wed, 28 Dec 2016 02:08:24 +0000 (20:08 -0600)]
hugolib: Allow arrays of arrays in frontmatter Params

Fixes #2752

8 years agocommands: Show OS and ARCH in version output
Cameron Moore [Wed, 4 Jan 2017 20:13:15 +0000 (14:13 -0600)]
commands: Show OS and ARCH in version output

8 years agotpl: Add truncate template function
Mathias Biilmann [Fri, 6 Jan 2017 09:42:32 +0000 (01:42 -0800)]
tpl: Add truncate template function

This commit adds a truncate template function for safely truncating text without
breaking words. The truncate function is HTML aware, so if the input text is a
template.HTML it will be truncated without leaving broken or unclosed HTML tags.

    {{ "this is a very long text" | truncate 10 " ..." }}
    {{ "With [Markdown](/markdown) inside." | markdownify | truncate 10 }}

8 years agotarget: Add COM0 and LPT0 as reservedNames on Windows
magikstm [Wed, 4 Jan 2017 10:52:20 +0000 (05:52 -0500)]
target: Add COM0 and LPT0 as reservedNames on Windows

Fixes #2883

8 years agohugolib: Sync page collections with Site.Info on rebuild in watch mode
Bjørn Erik Pedersen [Thu, 5 Jan 2017 19:57:24 +0000 (20:57 +0100)]
hugolib: Sync page collections with Site.Info on rebuild in watch mode

There is definitive potential for cleanup in this area, but this will have to do for now.

Fixes #2869

8 years agocommans: Remove unneeded build constraint
Bjørn Erik Pedersen [Thu, 5 Jan 2017 14:43:48 +0000 (15:43 +0100)]
commans: Remove unneeded build constraint

Fixes #2886

8 years agohugolib: Correct usage of "shortcode" in error messages
magikstm [Wed, 4 Jan 2017 22:19:09 +0000 (17:19 -0500)]
hugolib: Correct usage of "shortcode" in error messages

8 years agocommands, vendor: Remove log level setting in Jekyll command
Bjørn Erik Pedersen [Thu, 5 Jan 2017 10:58:11 +0000 (11:58 +0100)]
commands, vendor: Remove log level setting in Jekyll command

And update the JWW lib.

8 years agovendor: Update jww logger
Bjørn Erik Pedersen [Thu, 5 Jan 2017 10:25:27 +0000 (11:25 +0100)]
vendor: Update jww logger

8 years agodocs: Vanity-update of site meta description
Bjørn Erik Pedersen [Thu, 5 Jan 2017 00:40:00 +0000 (01:40 +0100)]
docs: Vanity-update of site meta description

8 years agohelpers: Remove unusded WordCount
Bjørn Erik Pedersen [Wed, 4 Jan 2017 23:00:00 +0000 (00:00 +0100)]
helpers: Remove unusded WordCount

8 years agodocs: Update references to _index.md
Ryan Watters [Wed, 4 Jan 2017 16:20:01 +0000 (10:20 -0600)]
docs: Update references to _index.md

8 years agodocs: Add new article about Netlify's PR site preview
Anthony Fok [Wed, 4 Jan 2017 08:17:36 +0000 (01:17 -0700)]
docs: Add new article about Netlify's PR site preview

Written by @keybits and mentioned by @bep on Gitter

8 years agohelpers: Fix minor typo in error message for Seq()
Anthony Fok [Wed, 4 Jan 2017 07:57:28 +0000 (00:57 -0700)]
helpers: Fix minor typo in error message for Seq()

8 years agotpl: Fix Unix time test case in TestDateFormat()
Anthony Fok [Tue, 3 Jan 2017 18:45:29 +0000 (11:45 -0700)]
tpl: Fix Unix time test case in TestDateFormat()

Fixes #2855

8 years agovendor: Fix broken build
Bjørn Erik Pedersen [Tue, 3 Jan 2017 16:50:44 +0000 (17:50 +0100)]
vendor: Fix broken build

8 years agoUpdate documentation and test for sitemap template
Daniel Lang [Tue, 3 Jan 2017 16:11:22 +0000 (08:11 -0800)]
Update documentation and test for sitemap template

8 years agohugolib: Clean up a benchmark
Cameron Moore [Mon, 2 Jan 2017 10:44:17 +0000 (04:44 -0600)]
hugolib: Clean up a benchmark

8 years agocommands, helpers, vendor: Update to the latest jww logger
Bjørn Erik Pedersen [Tue, 3 Jan 2017 15:57:43 +0000 (16:57 +0100)]
commands, helpers, vendor: Update to the latest jww logger

Updates #2701

8 years agohelpers: Add doc to Language.SetParam
bogem [Thu, 24 Nov 2016 19:30:52 +0000 (20:30 +0100)]
helpers: Add doc to Language.SetParam

8 years agocommands, helpers: Fix docs
bogem [Thu, 24 Nov 2016 19:30:17 +0000 (20:30 +0100)]
commands, helpers: Fix docs

8 years agocommands: Fix case in default config variable
bogem [Wed, 23 Nov 2016 15:13:50 +0000 (16:13 +0100)]
commands: Fix case in default config variable

8 years agocommands: Fix case in names of some methods
bogem [Wed, 23 Nov 2016 11:40:50 +0000 (12:40 +0100)]
commands: Fix case in names of some methods

8 years agodocs: Fix typo in overview/source-directory.md
digitalcraftsman [Mon, 2 Jan 2017 14:58:48 +0000 (15:58 +0100)]
docs: Fix typo in overview/source-directory.md

8 years agodocs: Add heimatverein-niederjosbach.de to the showcase
Timo Litzius [Mon, 2 Jan 2017 13:02:38 +0000 (14:02 +0100)]
docs: Add heimatverein-niederjosbach.de to the showcase

8 years agodocs: Add dbzman-online.eu to the showcase
Timo Litzius [Mon, 2 Jan 2017 13:14:21 +0000 (14:14 +0100)]
docs: Add dbzman-online.eu to the showcase

8 years agodocs: Fix typo in v0.18 release notes
Bret Mogilefsky [Mon, 2 Jan 2017 13:11:04 +0000 (05:11 -0800)]
docs: Fix typo in v0.18 release notes

8 years agodocs: Don't use binary version in docs site
Cameron Moore [Mon, 2 Jan 2017 13:08:36 +0000 (07:08 -0600)]
docs: Don't use binary version in docs site

Adds a "release" Site param that will be need to be updated for each
release.

Fixes #2857

8 years agohugolib: Add a taxonomy test case
Bjørn Erik Pedersen [Mon, 2 Jan 2017 11:28:26 +0000 (12:28 +0100)]
hugolib: Add a taxonomy test case

8 years agoRemove waffle.io graph from README
Cameron Moore [Mon, 2 Jan 2017 11:02:27 +0000 (05:02 -0600)]
Remove waffle.io graph from README

Waffle.io's throughput graph appears to be broken.  Remove the graph and
simply link to GitHub's Pulse page.

Fixes #2865

8 years agodocs: Replace .Now with now
Bjørn Erik Pedersen [Sun, 1 Jan 2017 22:54:19 +0000 (23:54 +0100)]
docs: Replace .Now with now

8 years agoFix Appveyor Windows build and GitInfo path issue on Windows
David Kassa [Sun, 1 Jan 2017 22:16:58 +0000 (16:16 -0600)]
Fix  Appveyor Windows build and GitInfo path issue on Windows

8 years agohugolib: Deprecate Page.Now
Bjørn Erik Pedersen [Sun, 1 Jan 2017 12:10:36 +0000 (13:10 +0100)]
hugolib: Deprecate Page.Now

Use `now` (template func).

See cabc6b31866e3bb86759f6615a83cec4c3610e82

8 years agohugolib: Bump the current warning deprecations
Bjørn Erik Pedersen [Sun, 1 Jan 2017 11:33:30 +0000 (12:33 +0100)]
hugolib: Bump the current warning deprecations

Fixes #2836

8 years agotpl: Add now function
Nishanth Shanmugham [Sun, 1 Jan 2017 01:50:46 +0000 (19:50 -0600)]
tpl: Add now function

Add a now template function that returns the current time as time.Time.
Also, update related docs.

8 years agodocs, tpl: Fix documentation of UniqueID
digitalcraftsman [Sat, 31 Dec 2016 16:55:03 +0000 (17:55 +0100)]
docs, tpl: Fix documentation of  UniqueID

See #2861

8 years agosource: Make UniqueID ... unique
Bjørn Erik Pedersen [Sat, 31 Dec 2016 16:46:11 +0000 (17:46 +0100)]
source: Make UniqueID ... unique

Fixes #2861

8 years agotpl: Use HTTPS in Google Analytics template
digitalcraftsman [Sat, 31 Dec 2016 11:43:02 +0000 (12:43 +0100)]
tpl: Use HTTPS in Google Analytics template

Fixes #2858

8 years agodocs: Add HugoPhotoSwipe to the tools section
Gertjan van den Burg [Sat, 31 Dec 2016 11:39:58 +0000 (12:39 +0100)]
docs: Add HugoPhotoSwipe to the tools section

HugoPhotoSwipe is a command line tool to create and manage PhotoSwipe galleries with Hugo. It resizes images for responsive layouts in PhotoSwipe and generates the Markdown necessary for Hugo to create the gallery. I think this can be a useful tool for Hugo users.

8 years agotravis: Add GOARCH 386 test
Bjørn Erik Pedersen [Thu, 29 Dec 2016 14:17:53 +0000 (15:17 +0100)]
travis: Add GOARCH 386 test

Closes #2847

8 years agodocs: Add release notes for Hugo 0.18.1
Bjørn Erik Pedersen [Thu, 29 Dec 2016 15:43:10 +0000 (16:43 +0100)]
docs: Add release notes for Hugo 0.18.1

8 years agovendor: Update Cobra
Anthony Fok [Thu, 29 Dec 2016 12:19:37 +0000 (05:19 -0700)]
vendor: Update Cobra

Fixes #2695

8 years agoFix Dockerfile
Gilbert Gilb's [Wed, 28 Dec 2016 17:40:36 +0000 (18:40 +0100)]
Fix Dockerfile

8 years agodocs: Update GitLab depleyment in /themes/installing.md
Asif Mehedi [Tue, 20 Dec 2016 04:52:24 +0000 (10:52 +0600)]
docs: Update GitLab depleyment in /themes/installing.md

Deployment to Gitlab fails if the theme folder is a git submodule.

8 years agodocs: Hide next arrow in theme
Jean-Yves Gastaud [Tue, 20 Dec 2016 15:04:18 +0000 (16:04 +0100)]
docs: Hide next arrow in theme

8 years agodocs: Remove right padding in theme
Jean-Yves Gastaud [Tue, 20 Dec 2016 14:59:56 +0000 (15:59 +0100)]
docs: Remove right padding in theme

8 years agodocs: Fix h1 size on small breakpoint in theme
Jean-Yves Gastaud [Tue, 20 Dec 2016 14:53:29 +0000 (15:53 +0100)]
docs: Fix h1 size on small breakpoint in theme

8 years agodocs: Remove unuseful breakpoint in theme
Jean-Yves Gastaud [Tue, 20 Dec 2016 14:50:42 +0000 (15:50 +0100)]
docs: Remove unuseful breakpoint in theme

8 years agodocs: Fix menu arrows position on mobile devices
Jean-Yves Gastaud [Tue, 20 Dec 2016 14:27:12 +0000 (15:27 +0100)]
docs: Fix menu arrows position on mobile devices

8 years agohugolib: Fix preserveTaxonomyNames regressions
Bjørn Erik Pedersen [Mon, 26 Dec 2016 18:30:57 +0000 (19:30 +0100)]
hugolib: Fix preserveTaxonomyNames regressions

Fixes #2809

8 years agodocs: Add hugofy for VS Code to the tools section
digitalcraftsman [Wed, 28 Dec 2016 12:41:54 +0000 (13:41 +0100)]
docs: Add hugofy for VS Code to the tools section

8 years agolivereload: Simplify RefreshPath
Cameron Moore [Wed, 28 Dec 2016 03:14:43 +0000 (21:14 -0600)]
livereload: Simplify RefreshPath

8 years agohugolib: Fix IsTranslated for "old" node types
Bjørn Erik Pedersen [Fri, 23 Dec 2016 08:52:05 +0000 (09:52 +0100)]
hugolib: Fix IsTranslated for "old" node types

The new logic for creating Page objects from old node types
didn't include itself in the translation logic, so
`IsTranslated` returned falsely false for sites with only two languages.

The `AllTranslations` method also returned too few pages in that case.

This commit fixes that.

Fixes #2812

8 years agohugolib: Use reflect.DeepEqual in tests
Cameron Moore [Tue, 27 Dec 2016 01:42:43 +0000 (19:42 -0600)]
hugolib: Use reflect.DeepEqual in tests

8 years agohugolib: Fix redundant URL file extension on taxonomy terms pages
Cameron Moore [Tue, 27 Dec 2016 02:36:08 +0000 (20:36 -0600)]
hugolib: Fix redundant URL file extension on taxonomy terms pages

Fixes #2819

8 years agodocs: Enable ToC for extras/shortcodes
Bjørn Erik Pedersen [Mon, 26 Dec 2016 18:31:34 +0000 (19:31 +0100)]
docs: Enable ToC for extras/shortcodes

8 years agohugolib: Make template error messages more verbose
Bjørn Erik Pedersen [Mon, 26 Dec 2016 13:52:31 +0000 (14:52 +0100)]
hugolib: Make template error messages more verbose

Fixes #2820

8 years agohelpers: Add patch version
Bjørn Erik Pedersen [Mon, 26 Dec 2016 13:03:50 +0000 (14:03 +0100)]
helpers: Add patch version

Fixes #2832

8 years agovendor: Update Afero
Bjørn Erik Pedersen [Mon, 26 Dec 2016 09:53:52 +0000 (10:53 +0100)]
vendor: Update Afero

Fixes #2833

8 years agovendor: Temp roll back to an older Afero
Bjørn Erik Pedersen [Sun, 25 Dec 2016 14:20:29 +0000 (15:20 +0100)]
vendor: Temp roll back to an older Afero

See #2833