brevno-suite/hugo
8 years agoDon't add any space around Emojis
Bjørn Erik Pedersen [Mon, 9 May 2016 20:59:49 +0000 (22:59 +0200)]
Don't add any space around Emojis

8 years agoRemove kr/pretty dependency
Bjørn Erik Pedersen [Sun, 8 May 2016 11:15:58 +0000 (13:15 +0200)]
Remove kr/pretty dependency

Fixes #2124
See https://github.com/kr/text/issues/6

8 years agodocs: Document relativeURLs
Cameron Moore [Sat, 7 May 2016 19:39:40 +0000 (14:39 -0500)]
docs: Document relativeURLs

Fixes #1342

8 years agoIgnore Byword temp files
Bjørn Erik Pedersen [Fri, 6 May 2016 18:30:03 +0000 (20:30 +0200)]
Ignore Byword temp files

Fixes #2126

8 years agoAdd non-string support in markdownify
Bjørn Erik Pedersen [Fri, 6 May 2016 08:11:17 +0000 (10:11 +0200)]
Add non-string support in markdownify

8 years agodocs: Fix typo in overview/configuration.md
yuzroz [Mon, 25 Apr 2016 05:50:52 +0000 (14:50 +0900)]
docs: Fix typo in overview/configuration.md

8 years agodocs: Fix typo in templates/content.md
Alex Leventer [Thu, 28 Apr 2016 16:32:13 +0000 (09:32 -0700)]
docs: Fix typo in templates/content.md

8 years agodocs: Fix links in the documentation
mattjmcnaughton [Wed, 4 May 2016 02:16:14 +0000 (22:16 -0400)]
docs: Fix links in the documentation

A couple of internal links use `#toc_4` to attempt to locate a document
element within another document page. In both of these instances, there
is no element on the linked to pages with the id `#toc_4`. This commit
updates those links with the document elements which were the original
intended links, meaning these links now take you directly to the
intended element.

Signed-off-by: mattjmcnaughton <mattjmcnaughton@gmail.com>
8 years agodocs: Add 2626.info to the showcase
Masashi Tsuru [Tue, 3 May 2016 10:43:53 +0000 (19:43 +0900)]
docs: Add 2626.info to the showcase

8 years agotpl: Add intersect operator to where function
Christopher Mancini [Mon, 11 Apr 2016 20:58:27 +0000 (16:58 -0400)]
tpl: Add intersect operator to where function

Returns true if a given field value that is a slice / array of strings, integers or floats contains elements in common with the matching value. It follows the same rules as the intersect function.

Closes #1945

8 years agodocs: Add appernetic blog to showcase
Göran Svensson [Tue, 26 Apr 2016 11:49:34 +0000 (13:49 +0200)]
docs: Add appernetic blog to showcase

8 years agocommands: Sett mime type for CSS in Hugo server
Bjørn Erik Pedersen [Wed, 27 Apr 2016 19:39:57 +0000 (21:39 +0200)]
commands: Sett mime type for CSS in Hugo server

Fixes #2104

8 years agohelpers: Use net/url for URL parsing in AbsURL
Cameron Moore [Wed, 27 Apr 2016 14:54:44 +0000 (09:54 -0500)]
helpers: Use net/url for URL parsing in AbsURL

Fixes #2112

8 years agoExport "detectFrontMatter" to fix caddy-hugo
Henrique Dias [Tue, 26 Apr 2016 20:21:15 +0000 (21:21 +0100)]
Export "detectFrontMatter" to fix caddy-hugo

Closes #2108

8 years agodocs: Add aydos.com to the showcase
Fahri Aydos [Sat, 23 Apr 2016 14:25:42 +0000 (17:25 +0300)]
docs: Add aydos.com to the showcase

8 years agoUpdate release-notes.md
Bjørn Erik Pedersen [Fri, 22 Apr 2016 21:45:39 +0000 (23:45 +0200)]
Update release-notes.md

8 years agodocs: More on release notes
Bjørn Erik Pedersen [Fri, 22 Apr 2016 19:37:36 +0000 (21:37 +0200)]
docs: More on release notes

8 years agodocs: Order by Lastmod in release notes
Bjørn Erik Pedersen [Fri, 22 Apr 2016 18:47:21 +0000 (20:47 +0200)]
docs: Order by Lastmod in release notes

8 years agodocs: Order by Lastmod
Bjørn Erik Pedersen [Fri, 22 Apr 2016 18:46:04 +0000 (20:46 +0200)]
docs: Order by Lastmod

8 years agoAdd ByLastmod page sort
Bjørn Erik Pedersen [Fri, 22 Apr 2016 18:43:00 +0000 (20:43 +0200)]
Add ByLastmod page sort

8 years agodocs: Add notion of exiting the themes folder in quickstart
Alvaro Garcia [Sun, 17 Apr 2016 17:27:43 +0000 (19:27 +0200)]
docs: Add notion of exiting the themes folder in quickstart

8 years agodocs: Grammar fixes in overview/quickstart.md
Cian Ruane [Thu, 21 Apr 2016 19:05:49 +0000 (20:05 +0100)]
docs: Grammar fixes in overview/quickstart.md

8 years agodocs: Update showcase screenshot of yulinling.net
lynxiayel [Thu, 21 Apr 2016 21:16:45 +0000 (17:16 -0400)]
docs: Update showcase screenshot of yulinling.net

8 years agodocs: Add some more fixes to release notes
Bjørn Erik Pedersen [Fri, 22 Apr 2016 17:03:46 +0000 (19:03 +0200)]
docs: Add some more fixes to release notes

8 years agodocs: Move image-width fix to style.css
digitalcraftsman [Fri, 22 Apr 2016 16:23:12 +0000 (18:23 +0200)]
docs: Move image-width fix to style.css

8 years agodocs: Move Algolia styling into style.css
digitalcraftsman [Fri, 22 Apr 2016 16:18:50 +0000 (18:18 +0200)]
docs: Move Algolia styling into style.css

8 years agoMake alias redirect output URL's relative
Sven Dowideit [Tue, 19 Apr 2016 01:40:15 +0000 (11:40 +1000)]
Make alias redirect output URL's relative

Closes #2093

8 years agodocs: Fix findRE typo
Cameron Moore [Thu, 21 Apr 2016 17:38:40 +0000 (12:38 -0500)]
docs: Fix findRE typo

8 years agodocs: Fix some typos in release notes
Bjørn Erik Pedersen [Thu, 21 Apr 2016 09:27:12 +0000 (11:27 +0200)]
docs: Fix some typos in release notes

8 years agodoc: Get feature list of 0.16 release notes up to date
Bjørn Erik Pedersen [Thu, 21 Apr 2016 09:23:54 +0000 (11:23 +0200)]
doc: Get feature list of 0.16 release notes up to date

8 years ago:books: Add ENV support to release notes
Bjørn Erik Pedersen [Wed, 20 Apr 2016 21:50:43 +0000 (23:50 +0200)]
:books: Add ENV support to release notes

8 years agoUpdate import path of fsnotify
Anthony Fok [Wed, 20 Apr 2016 14:28:26 +0000 (22:28 +0800)]
Update import path of fsnotify

Rename "gopkg.in/fsnotify.v1" to "github.com/fsnotify/fsnotify"
per upstream recommendation.

See https://github.com/fsnotify/fsnotify/issues/108 for rationale.

8 years agodocs: Add some doc about ENV config
Bjørn Erik Pedersen [Mon, 18 Apr 2016 16:44:51 +0000 (18:44 +0200)]
docs: Add some doc about ENV config

See #2090

8 years agocommands: Support config from ENV
Bjørn Erik Pedersen [Mon, 18 Apr 2016 16:37:32 +0000 (18:37 +0200)]
commands: Support config from ENV

So

```bash
env HUGO_TITLE="Some Title" hugo server
```

Will change the `title`.

Fixes #2090

8 years agodocs: Fix typo in tutorials/how-to-contribute-to-hugo.md
digitalcraftsman [Sun, 17 Apr 2016 18:56:05 +0000 (20:56 +0200)]
docs: Fix typo in tutorials/how-to-contribute-to-hugo.md

8 years agoAdd some schemaless BaseURL tests
Bjørn Erik Pedersen [Sun, 17 Apr 2016 17:55:38 +0000 (19:55 +0200)]
Add some schemaless BaseURL tests

See #2085

8 years agodocs: Fix grammar in templates/partials.md
Ernie Hershey [Fri, 15 Apr 2016 03:05:24 +0000 (23:05 -0400)]
docs: Fix grammar in templates/partials.md

Noticed this sentence seemingly missing a word or two.

8 years agodocs: Add tutorialonfly.com to the showcase
callmelanmao [Fri, 15 Apr 2016 06:50:19 +0000 (14:50 +0800)]
docs: Add tutorialonfly.com to the showcase

8 years agodocs: Fix lastmod date for chipsncookies in showcase
digitalcraftsman [Fri, 15 Apr 2016 16:45:46 +0000 (18:45 +0200)]
docs: Fix lastmod date for chipsncookies in showcase

8 years agodocs: Add barricade.io to the showcase
David Coallier [Fri, 15 Apr 2016 13:25:03 +0000 (14:25 +0100)]
docs: Add barricade.io to the showcase

8 years agodocs: sa.muel.be has moved to chipsncookies.com in showcase
Sam Debruyn [Thu, 14 Apr 2016 19:53:26 +0000 (21:53 +0200)]
docs: sa.muel.be has moved to chipsncookies.com in showcase

8 years agoImprove build labels in README
Bjørn Erik Pedersen [Fri, 15 Apr 2016 11:02:03 +0000 (13:02 +0200)]
Improve build labels in README

8 years agotpl: Do not write to cache when ignoring cache
Robert Basic [Sun, 10 Apr 2016 10:11:18 +0000 (12:11 +0200)]
tpl: Do not write to cache when ignoring cache

Fixes #2067
Closes #2069

8 years agoChomp Unicode BOM if present
Mattias Wadman [Tue, 12 Apr 2016 22:14:00 +0000 (00:14 +0200)]
Chomp Unicode BOM if present

Useful if using or sharing files with users that use editors that
append a unicode byte order marker header (like Windows notepad).

This will still assume files are UTF-8 encoded.

Closes #2075

8 years agoRevert "tpl: Extend where to iterate over maps"
Bjørn Erik Pedersen [Wed, 13 Apr 2016 17:13:33 +0000 (19:13 +0200)]
Revert "tpl: Extend where to iterate over maps"

Committed by accident.

This reverts commit 0141a02160ee7b91642d3c3475959d6742ccd693.

8 years agoUpdate Travis config to Go 1.5.4 and 1.6.1
Bjørn Erik Pedersen [Wed, 13 Apr 2016 14:17:43 +0000 (16:17 +0200)]
Update Travis config to Go 1.5.4 and 1.6.1

8 years agotpl: Extend where to iterate over maps
Cameron Moore [Wed, 13 Apr 2016 01:31:14 +0000 (20:31 -0500)]
tpl: Extend where to iterate over maps

Refactor and extend where to iterate over maps.

8 years agoFix broken tests
Bjørn Erik Pedersen [Tue, 12 Apr 2016 17:18:02 +0000 (19:18 +0200)]
Fix broken tests

8 years agodocs: Add plainIDAnchors change to release notes
Bjørn Erik Pedersen [Tue, 12 Apr 2016 16:39:07 +0000 (18:39 +0200)]
docs: Add plainIDAnchors change to release notes

8 years agodocs: Update default for plainIDAnchors
Bjørn Erik Pedersen [Tue, 12 Apr 2016 16:36:45 +0000 (18:36 +0200)]
docs: Update default for plainIDAnchors

8 years agoDefault to plainIDAnchors
Bjørn Erik Pedersen [Tue, 12 Apr 2016 16:34:46 +0000 (18:34 +0200)]
Default to plainIDAnchors

Fixes #2057

8 years agoRevert "Add Node.ID"
Bjørn Erik Pedersen [Tue, 12 Apr 2016 16:11:52 +0000 (18:11 +0200)]
Revert "Add Node.ID"

This reverts commit 5ef52294f90c51697bd3f918b3c3ed83baff657a.

8 years agoRevert "Use Node.ID for anchor ID"
Bjørn Erik Pedersen [Tue, 12 Apr 2016 16:11:24 +0000 (18:11 +0200)]
Revert "Use Node.ID for anchor ID"

This reverts commit cd558958a0c0ecd06f7560a38e27334fe983e0de.

8 years agodocs: Fix example for Param method
Bjørn Erik Pedersen [Mon, 11 Apr 2016 11:26:33 +0000 (13:26 +0200)]
docs: Fix example for Param method

Fixes #2070

8 years agoUse Node.ID for anchor ID
Bjørn Erik Pedersen [Mon, 11 Apr 2016 11:17:25 +0000 (13:17 +0200)]
Use Node.ID for anchor ID

Fixes #2057

8 years agoAdd Node.ID
Bjørn Erik Pedersen [Mon, 11 Apr 2016 09:49:02 +0000 (11:49 +0200)]
Add Node.ID

Fixes #2071

8 years agohelpers: Ignore cache for Pygments when flag set
Robert Basic [Sun, 10 Apr 2016 08:11:00 +0000 (10:11 +0200)]
helpers: Ignore cache for Pygments when flag set

When the --ignoreCache flag is set to true, do not write and read
the Pygments results to/from the cache directory.

Fixes #2066
Closes #2068

8 years agoFix section menus for lazy blogger
Bjørn Erik Pedersen [Sun, 10 Apr 2016 11:49:32 +0000 (13:49 +0200)]
Fix section menus for lazy blogger

IsMenuCurrent was always returning false for the top level entries.

Fixes #2065

8 years agohugofs: Add package doc
Bjørn Erik Pedersen [Sat, 9 Apr 2016 23:36:53 +0000 (01:36 +0200)]
hugofs: Add package doc

8 years agocreate: Add package doc
Bjørn Erik Pedersen [Sat, 9 Apr 2016 23:36:03 +0000 (01:36 +0200)]
create: Add package doc

8 years agobufpool: Add package doc
Bjørn Erik Pedersen [Sat, 9 Apr 2016 23:34:15 +0000 (01:34 +0200)]
bufpool: Add package doc

8 years agoAdd GoDocs badge
Bjørn Erik Pedersen [Sat, 9 Apr 2016 22:14:16 +0000 (00:14 +0200)]
Add GoDocs badge

8 years agodocs: Regenerate the commands docs
Bjørn Erik Pedersen [Sat, 9 Apr 2016 21:01:55 +0000 (23:01 +0200)]
docs: Regenerate the commands docs

8 years agohugolib: Add option to disable rendering of 404 page
digitalcraftsman [Sat, 2 Apr 2016 22:22:31 +0000 (00:22 +0200)]
hugolib: Add option to disable rendering of 404 page

Fixes #1889
Closes #2037

8 years agoMove section initialization to Site.assembleSections
nitoyon [Tue, 27 Oct 2015 16:55:57 +0000 (01:55 +0900)]
Move section initialization to Site.assembleSections

Closes #1527

8 years agoFix potential data race in test
Bjørn Erik Pedersen [Sat, 9 Apr 2016 12:25:33 +0000 (14:25 +0200)]
Fix potential data race in test

8 years agodocs: Add commercial services to the "Tools" section
Göran Svensson [Thu, 7 Apr 2016 22:12:29 +0000 (00:12 +0200)]
docs: Add commercial services to the "Tools" section

8 years agodocs: Document how to install dependencies for tests
Aditya Bhargava [Sat, 12 Mar 2016 22:36:16 +0000 (14:36 -0800)]
docs: Document how to install dependencies for tests

Fixes #919

8 years agodocs: Fix missing step in Windows version check instructions
JoeArizona [Tue, 5 Apr 2016 00:22:24 +0000 (17:22 -0700)]
docs: Fix missing step in Windows version check instructions

The procedure Start button --> Settings --> About was missing a step. Corrected it to: Start --> Settings --> System --> About. Also replaced ASCII arrows (-->) with Unicode right arrow character (U+2192).

8 years agodocs: Document Go 1.6's new ability to trim whitespace
Erik Ebsen [Sat, 2 Apr 2016 15:34:04 +0000 (10:34 -0500)]
docs: Document Go 1.6's new ability to trim whitespace

8 years agodocs: Fix Go version in install guide
Bjørn Erik Pedersen [Sat, 9 Apr 2016 11:16:56 +0000 (13:16 +0200)]
docs: Fix Go version in install guide

8 years agodocs: Remove remaining Mercurial references
digitalcraftsman [Sat, 9 Apr 2016 10:40:58 +0000 (12:40 +0200)]
docs: Remove remaining Mercurial references

8 years agoSave auto-detected markup type in Page.Markup
ypnos [Sun, 20 Mar 2016 20:40:03 +0000 (21:40 +0100)]
Save auto-detected markup type in Page.Markup

If Page.Markup was not set by the user, it will now be set after
guessing from the file extension. This means, Page.Markup will be set in
any case. It can be used by a theme to differentiate between markup
types.

Fixes #1950

8 years agodocs: Remove Mercurial from contribution tutorial
digitalcraftsman [Fri, 8 Apr 2016 19:52:50 +0000 (21:52 +0200)]
docs: Remove Mercurial from contribution tutorial

Fixes #2064

8 years agotpl: Add replaceRE to the "smoke tests"
digitalcraftsman [Fri, 8 Apr 2016 19:36:35 +0000 (21:36 +0200)]
tpl: Add replaceRE to the "smoke tests"

Fixes #2063

8 years agoMake Hugo build without Mercurial
Bjørn Erik Pedersen [Fri, 8 Apr 2016 19:11:44 +0000 (21:11 +0200)]
Make Hugo build without Mercurial

By creating a fork of the Bitbucket inflect repo. It hasn't changed since 2013,
so it must be considered pretty stable.

Fixes #2062

8 years agodocs: Add "How to contribute to Hugo" tutorial
digitalcraftsman [Sun, 3 Apr 2016 11:32:11 +0000 (13:32 +0200)]
docs: Add "How to contribute to Hugo" tutorial

8 years agodocs: Use HTTPS links in README where appropriate
Nik Nyby [Wed, 2 Mar 2016 18:54:56 +0000 (13:54 -0500)]
docs: Use HTTPS links in README where appropriate

8 years agocommands: Add helpful instuctions after "hugo new site"
digitalcraftsman [Sat, 2 Apr 2016 23:24:56 +0000 (01:24 +0200)]
commands: Add helpful instuctions after "hugo new site"

Fixes #1164

8 years agohugolib: Un-export internal Site-methods
Bjørn Erik Pedersen [Thu, 7 Apr 2016 18:03:03 +0000 (20:03 +0200)]
hugolib: Un-export internal Site-methods

These are obviously internal and for the most part undocumented, creating lots of GoLint warnings.

See #1160
See #2014

8 years agodocs: Fix references to section list templates
Julien Chien [Sat, 2 Apr 2016 22:29:36 +0000 (15:29 -0700)]
docs: Fix references to section list templates

Fixes #2032

8 years agodocs: Correct date for proper sorting in showcase
Anthony Fok [Fri, 8 Apr 2016 12:23:10 +0000 (20:23 +0800)]
docs: Correct date for proper sorting in showcase

9 years agodocs: Add one more quote
Bjørn Erik Pedersen [Thu, 7 Apr 2016 22:06:39 +0000 (00:06 +0200)]
docs: Add one more quote

9 years agodocs: Limit the quotes on front page to the last two years
Bjørn Erik Pedersen [Thu, 7 Apr 2016 21:46:46 +0000 (23:46 +0200)]
docs: Limit the quotes on front page to the last two years

We should get some new ones in there.

Also shuffle the order. This also means no merging into 0.15-docs ...

Which also means we should get a release out there ... soon!

See #2055

Also See https://github.com/BurntSushi/toml/issues/129 for an explanation to the little bit ugly dates.

9 years agodocs: Use data folder for website carousel
Robert Basic [Thu, 7 Apr 2016 18:19:08 +0000 (20:19 +0200)]
docs: Use data folder for website carousel

Fixes #2055

9 years agoDocument and clean SourceRelativeLinksEval code
Sven Dowideit [Tue, 15 Mar 2016 06:00:36 +0000 (16:00 +1000)]
Document and clean SourceRelativeLinksEval code

9 years agoRe-export the methods used in page group tests
Bjørn Erik Pedersen [Thu, 7 Apr 2016 16:44:58 +0000 (18:44 +0200)]
Re-export the methods used in page group tests

9 years agohugolib: Camelcase ALL_CAPS vars and const in tests
Bjørn Erik Pedersen [Thu, 7 Apr 2016 14:10:41 +0000 (16:10 +0200)]
hugolib: Camelcase ALL_CAPS vars and const in tests

See #2014

9 years agohuglib: Add even more missing GoDoc
Bjørn Erik Pedersen [Thu, 7 Apr 2016 14:05:23 +0000 (16:05 +0200)]
huglib: Add even more missing GoDoc

See #2014

9 years agosource: Add missing GoDoc in File
Bjørn Erik Pedersen [Thu, 7 Apr 2016 13:44:53 +0000 (15:44 +0200)]
source: Add missing GoDoc in File

See #2014

9 years agohugolib: Camel-case ALL_CAPS const in test
Bjørn Erik Pedersen [Thu, 7 Apr 2016 13:22:41 +0000 (15:22 +0200)]
hugolib: Camel-case ALL_CAPS const in test

9 years agohugolib: Add GoDoc to pageGroup.go
Bjørn Erik Pedersen [Thu, 7 Apr 2016 13:21:41 +0000 (15:21 +0200)]
hugolib: Add GoDoc to pageGroup.go

See #2014

9 years agohugofs: Fix GoDoc
Bjørn Erik Pedersen [Thu, 7 Apr 2016 11:56:11 +0000 (13:56 +0200)]
hugofs: Fix GoDoc

9 years agoBuild Hugo in Travis with race detection enabled
Bjørn Erik Pedersen [Thu, 7 Apr 2016 11:40:18 +0000 (13:40 +0200)]
Build Hugo in Travis with race detection enabled

9 years agoAdd go test -race to make check
Bjørn Erik Pedersen [Thu, 7 Apr 2016 11:36:48 +0000 (13:36 +0200)]
Add go test -race to make check

9 years agoRemove Wercker badge
Bjørn Erik Pedersen [Thu, 7 Apr 2016 11:28:26 +0000 (13:28 +0200)]
Remove Wercker badge

See #2054

9 years agotpl: Add findRE template func
digitalcraftsman [Tue, 5 Apr 2016 16:02:18 +0000 (18:02 +0200)]
tpl: Add findRE template func

9 years agoDo not create robots.txt by default
Bjørn Erik Pedersen [Tue, 5 Apr 2016 20:20:39 +0000 (22:20 +0200)]
Do not create robots.txt by default

Meny people, including me, have a custom robots.txt in static.

Also remove that option from the command line; it doesn't feel
important enough.

Fixes ##2049

9 years agoDisable syntax guessing for PygmentsCodeFences by default
Philipp Oppermann [Thu, 31 Mar 2016 11:14:57 +0000 (13:14 +0200)]
Disable syntax guessing for PygmentsCodeFences by default

This disables highlighting for fenced code blocks without explicitly specified language. It also introduces a new `PygmentsCodeFencesGuessSyntax` config option (defaulting to false).

To enable syntax guessing again, add the following to your config file: `PygmentsCodeFencesGuessSyntax = true`

This is a breaking change.

9 years agodocs: Add yushuangqi.com to the showcase
ysqi [Fri, 25 Mar 2016 01:05:49 +0000 (09:05 +0800)]
docs: Add yushuangqi.com to the showcase