brevno-suite/hugo
9 years agoGet rid of allocation in the BenchmarkReplaceShortcodeTokens itself
Bjørn Erik Pedersen [Fri, 13 Nov 2015 20:21:03 +0000 (21:21 +0100)]
Get rid of allocation in the BenchmarkReplaceShortcodeTokens itself

So we can see the real numbers.

See #1516

9 years agoDocs: fix typo in tools section
digitalcraftsman [Fri, 13 Nov 2015 12:13:27 +0000 (13:13 +0100)]
Docs: fix typo in tools section

9 years agoDocs: add hugofy to tools
digitalcraftsman [Wed, 11 Nov 2015 12:56:13 +0000 (13:56 +0100)]
Docs: add hugofy to tools

9 years agoUpdate release notes
digitalcraftsman [Wed, 11 Nov 2015 12:40:12 +0000 (13:40 +0100)]
Update release notes

Note the new built-in Google Analytics template.

9 years agoAdding article about moving to hugo
Coders Digest [Wed, 11 Nov 2015 06:25:06 +0000 (14:25 +0800)]
Adding article about moving to hugo

9 years agoImprove the server usage output
spf13 [Thu, 12 Nov 2015 15:23:41 +0000 (10:23 -0500)]
Improve the server usage output

9 years agoPrint parse errors from Viper
Bjørn Erik Pedersen [Wed, 11 Nov 2015 21:47:09 +0000 (22:47 +0100)]
Print parse errors from Viper

9 years agodoc: Add new article by Fabiano Frizzo to Press
Fabiano Frizzo [Tue, 10 Nov 2015 00:08:40 +0000 (22:08 -0200)]
doc: Add new article by Fabiano Frizzo to Press

9 years agoUpdate Go release version to 1.5.2 in Travis config
Bjørn Erik Pedersen [Tue, 10 Nov 2015 20:41:47 +0000 (21:41 +0100)]
Update Go release version to 1.5.2 in Travis config

9 years agoFix GroupByParam to return original param string
Tatsushi Demachi [Tue, 10 Nov 2015 13:02:45 +0000 (22:02 +0900)]
Fix GroupByParam to return original param string

Page.GroupByParam function internally uses Page.GetParam to get a
parameter value for a key of a page group but now Page.GetParam returns
a lowercase character string every time. It has no need to using
lowercase character string as a group key value and it confuse a
function user.

This fixes it to keep and return an original parameter string as a group
key value.

Fix #1564

9 years agoAdd support for dynamic reloading of config file when watching
spf13 [Tue, 10 Nov 2015 04:31:52 +0000 (23:31 -0500)]
Add support for dynamic reloading of config file when watching

9 years agoAdd hugo theme site to the sidebar
spf13 [Tue, 10 Nov 2015 04:23:39 +0000 (23:23 -0500)]
Add hugo theme site to the sidebar

Also reorder the menu a bit and clarify a couple items.

9 years agoUse Identifier as last sort resort for default menu sort
Bjørn Erik Pedersen [Mon, 9 Nov 2015 20:01:36 +0000 (21:01 +0100)]
Use Identifier as last sort resort for default menu sort

Fixes #1562

9 years agoSmall Doc Changes
Billy Burrows [Thu, 5 Nov 2015 10:52:53 +0000 (10:52 +0000)]
Small Doc Changes

9 years agoCosmetic change in README to trigger new build
Bjørn Erik Pedersen [Sat, 7 Nov 2015 00:39:10 +0000 (01:39 +0100)]
Cosmetic change in README to trigger new build

9 years agoDocs: fix broken links
digitalcraftsman [Wed, 4 Nov 2015 23:33:03 +0000 (00:33 +0100)]
Docs: fix broken links

9 years agoAdd internal Google Analytics template
digitalcraftsman [Mon, 19 Oct 2015 11:31:03 +0000 (13:31 +0200)]
Add internal Google Analytics template

This commits also adds the GoogleAnalytics
variable to insert the tracking code.

Fixes #1424.

9 years agoImprovements to Automated Deployments tutorial
Arjen Schwarz [Sun, 1 Nov 2015 06:57:57 +0000 (17:57 +1100)]
Improvements to Automated Deployments tutorial

Prevent some frequently occurring problems

* Ensure version number is between quotes
* Ensure git and SSH are installed for the deployment step
* Focus extra attention on the wercker.yml verification site

9 years agoExport Page.Layout
Bjørn Erik Pedersen [Mon, 2 Nov 2015 16:24:50 +0000 (17:24 +0100)]
Export Page.Layout

And at the same time rename and unexport the badly named `Layout()` func. That method is not very usable outside the package.

Fixes #1539

9 years agodoc: Add new article by Thomas Peham to Press
Anthony Fok [Sat, 31 Oct 2015 16:54:55 +0000 (10:54 -0600)]
doc: Add new article by Thomas Peham to Press

9 years agoUpdate link to S3 deploy instructions
Timothy Hopper [Wed, 28 Oct 2015 14:52:28 +0000 (10:52 -0400)]
Update link to S3 deploy instructions

Previous link goes to page with warning "This article is outdated"

9 years agoFix doc render on Firefox
Fabiano Frizzo [Wed, 28 Oct 2015 01:14:36 +0000 (23:14 -0200)]
Fix doc render on Firefox

Fix #1523

9 years agoFixed link to Google Prettify
Sergey Mudrik [Tue, 27 Oct 2015 21:36:00 +0000 (23:36 +0200)]
Fixed link to Google Prettify

Google Prettify has been moved to github

9 years agoadd bugtrackers.io to hugo docs showcases
Robert Aistleitner [Tue, 27 Oct 2015 08:23:57 +0000 (09:23 +0100)]
add bugtrackers.io to hugo docs showcases

9 years agoFix spell mistake in variables.md
Arun Sori [Sat, 24 Oct 2015 14:28:55 +0000 (19:58 +0530)]
Fix spell mistake in variables.md

9 years agoadd ninjaducks.in to showcase
Shivanshu Agrawal [Sat, 24 Oct 2015 08:47:22 +0000 (14:17 +0530)]
add ninjaducks.in to showcase

9 years agoDisable directory listing for Hugo file server
Arun Sori [Fri, 23 Oct 2015 16:21:37 +0000 (21:51 +0530)]
Disable directory listing for Hugo file server

Fix #1400

9 years agoRemove dots from snippets.
Shai Efrati [Fri, 23 Oct 2015 11:04:12 +0000 (14:04 +0300)]
Remove dots from snippets.

See confusing issue #1513.

9 years agoDocs: fix typo under tools section
digitalcraftsman [Mon, 19 Oct 2015 11:50:48 +0000 (13:50 +0200)]
Docs: fix typo under tools section

9 years agoFix missing "]" in README.md in commit 2242712
Anthony Fok [Fri, 30 Oct 2015 20:12:01 +0000 (14:12 -0600)]
Fix missing "]" in README.md in commit 2242712

9 years agoAdd CircleCI status badge to README.md
Anthony Fok [Fri, 30 Oct 2015 20:08:21 +0000 (14:08 -0600)]
Add CircleCI status badge to README.md

Also, following the example of title="wercker status",
add "title" attribute to the other status badges
in order to show tooltips.

9 years agoAdd smartDashes flag for Blackfriday
Anthony Fok [Wed, 5 Aug 2015 22:39:29 +0000 (16:39 -0600)]
Add smartDashes flag for Blackfriday

To allow the end users to disable any form of smart dashes
(LaTeX-style or not) while keeping the rest of Blackfriday
SmartyPants features.

Depends on https://github.com/russross/blackfriday/pull/190
"Add HTML_SMARTYPANTS_DASHES for toggling smart dashes"
to be accepted by Blackfriday developers.

9 years agoRemove anchor from fork link in README
Bjørn Erik Pedersen [Wed, 21 Oct 2015 08:48:16 +0000 (10:48 +0200)]
Remove anchor from fork link in README

9 years agoTurn all README headlines into imperative mode
Bjørn Erik Pedersen [Tue, 20 Oct 2015 21:16:21 +0000 (23:16 +0200)]
Turn all README headlines into imperative mode

This also matches the commit guidelines.

9 years agoTrim down 'Adding Compile Information to Hugo' in README
Bjørn Erik Pedersen [Tue, 20 Oct 2015 19:25:27 +0000 (21:25 +0200)]
Trim down 'Adding Compile Information to Hugo' in README

9 years agoImprove README
Ethan Madison [Mon, 19 Oct 2015 22:53:22 +0000 (18:53 -0400)]
Improve README

All-around improvements to the README.
Each sentence now gets its own line to eliminate ultra-long lines in the
source (expect in bullet points--separating a bullet point into multiple
lines looks weird and decreases readability).
HTTPS links are now preferred to HTTP links and used where applicable.
Link to Mercurial's website corrected to www.mercurial-scm.org
Link to Hugo's docs is now accessible with [Hugo Documentatio][] since
it is used more than once in the README.
Multiline code blocks are now fenced rather than indented and include
syntax highlighting.

9 years agoPreserve Unicode marks in MakePath
Bjørn Erik Pedersen [Sun, 18 Oct 2015 08:36:27 +0000 (10:36 +0200)]
Preserve Unicode marks in MakePath

Fixes #1488

9 years agoShow usage when new site creation fails
Bjørn Erik Pedersen [Sat, 17 Oct 2015 12:08:45 +0000 (14:08 +0200)]
Show usage when new site creation fails

9 years agoImprove error message on new site command
Bjørn Erik Pedersen [Sat, 17 Oct 2015 12:05:48 +0000 (14:05 +0200)]
Improve error message on new site command

9 years agoAdd force flag
Safonov Nikita [Fri, 25 Sep 2015 21:39:46 +0000 (00:39 +0300)]
Add force flag

If flag is passed the site will be created inside non-empty folder
only if there are no existent folders or config with the same name
hugo creates.

Resolves: #1163

9 years agoThe missing static directory shouldn't fail the build
Kato Kazuyoshi [Thu, 15 Oct 2015 07:36:27 +0000 (00:36 -0700)]
The missing static directory shouldn't fail the build

The lack of the directory would be worth to warn, since the directory is
created by "huge new site". But it doesn't have to fail the build.

This change fixes #759.

9 years agoFix some typos in docs
Tobias [Fri, 16 Oct 2015 21:57:56 +0000 (23:57 +0200)]
Fix some typos in docs

9 years agoAdd CLA assist to the contribution workflow in README
Steve Francia [Fri, 16 Oct 2015 21:57:37 +0000 (17:57 -0400)]
Add CLA assist to the contribution workflow in README

9 years agoUpdate README.md
Gloria Dwomoh [Fri, 16 Oct 2015 21:01:48 +0000 (00:01 +0300)]
Update README.md

9 years agoDisable LiveReload when Hugo is not running as a server
Kato Kazuyoshi [Thu, 15 Oct 2015 06:27:57 +0000 (23:27 -0700)]
Disable LiveReload when Hugo is not running as a server

This change fixes #1410.

9 years agoLoad livereload.js from "/"
Kato Kazuyoshi [Wed, 14 Oct 2015 07:41:54 +0000 (00:41 -0700)]
Load livereload.js from "/"

Fix #1406
Instead of loading the file from http://localhost:port/, it can be
loaded from /.

9 years agoCreate minimal default.md in archetype file
Andy Williams [Wed, 14 Oct 2015 18:12:59 +0000 (14:12 -0400)]
Create minimal default.md in archetype file

fixes #315
To fix the cast error, create a minimal default.md in the archetype
folder.

9 years agoFix typo in shortcode tests
Nathan Youngman [Wed, 14 Oct 2015 21:11:30 +0000 (15:11 -0600)]
Fix typo in shortcode tests

9 years agoInsert code tag for server-side syntax highlighting
Nathan Youngman [Wed, 14 Oct 2015 21:10:50 +0000 (15:10 -0600)]
Insert code tag for server-side syntax highlighting

Inserts a code tag into Pygments output with the language-info that is present when using client-side highlighting (useful for CSS hooks)

```html
<code class="language-go" data-lang="go">
```

closes #1490

9 years agoRename prettiyPath to prettifyPath
Bjørn Erik Pedersen [Thu, 15 Oct 2015 08:15:26 +0000 (10:15 +0200)]
Rename prettiyPath to prettifyPath

9 years agoUnexport internal path helper
Bjørn Erik Pedersen [Wed, 14 Oct 2015 19:34:34 +0000 (21:34 +0200)]
Unexport internal path helper

9 years agoFix In func given an []interface{}
Bjørn Erik Pedersen [Mon, 12 Oct 2015 15:58:40 +0000 (17:58 +0200)]
Fix In func given an []interface{}

Fixes #1486

9 years agoUse https
Diego Medina [Tue, 6 Oct 2015 19:47:23 +0000 (15:47 -0400)]
Use https

The Hugo site uses HTTPS but the video link was HTTP, which made chrome block the video

9 years agoCorrect number of args to Errorf
Bjørn Erik Pedersen [Mon, 12 Oct 2015 19:34:15 +0000 (21:34 +0200)]
Correct number of args to Errorf

9 years agoApply project wide go fmt
Bjørn Erik Pedersen [Mon, 12 Oct 2015 18:47:06 +0000 (20:47 +0200)]
Apply project wide go fmt

9 years agoAdd Param to release notes
Bjørn Erik Pedersen [Mon, 12 Oct 2015 04:07:57 +0000 (06:07 +0200)]
Add Param to release notes

See #1462

9 years agoAdd Param to the docs
Bjørn Erik Pedersen [Mon, 12 Oct 2015 04:00:58 +0000 (06:00 +0200)]
Add Param to the docs

See #1462

9 years agoAdd Param(key) to Node and Page
Bjørn Erik Pedersen [Mon, 12 Oct 2015 03:51:04 +0000 (05:51 +0200)]
Add Param(key) to Node and Page

This  is a convenience method to do lookups in Page's (Page only)  and Site's Params map (Page and Node), in that order.

Fixes #1462

9 years agoDocs: Add pointers to the new themes.gohugo.io site
Anthony Fok [Sat, 10 Oct 2015 16:52:23 +0000 (10:52 -0600)]
Docs: Add pointers to the new themes.gohugo.io site

in "Themes Overview" and "Installing Themes".

TODO: Should look at all other pages and see where else
      we should add pointers to the Hugo Themes site.

9 years agoExpose canonifyURLs as a command flag
Bjørn Erik Pedersen [Sat, 10 Oct 2015 08:50:55 +0000 (10:50 +0200)]
Expose canonifyURLs as a command flag

Needed by the theme site.

9 years agoAdd `dict` func to release notes
Bjørn Erik Pedersen [Fri, 9 Oct 2015 16:51:03 +0000 (18:51 +0200)]
Add `dict` func to release notes

9 years agoAdd dictionary function to be passed into a template
NotZippy [Fri, 2 Oct 2015 15:30:21 +0000 (08:30 -0700)]
Add dictionary function to be passed into a template

Allows templates to dynamically build maps.

Example usage: Creating and passing a map to a subtemplate while in a range on the parent.

9 years agoDocs: Added `hasCJKLanguage` global config flag and `isCJKLanguage` FrontMatter
coderzh [Thu, 8 Oct 2015 14:34:11 +0000 (22:34 +0800)]
Docs: Added `hasCJKLanguage` global config flag and `isCJKLanguage` FrontMatter

See #1399

9 years agoFix comment for NormalizeHugoFlags
Alexander Morozov [Tue, 6 Oct 2015 22:58:58 +0000 (15:58 -0700)]
Fix comment for NormalizeHugoFlags

9 years agoRemove Go 1.3 from README
Bjørn Erik Pedersen [Wed, 7 Oct 2015 19:09:50 +0000 (21:09 +0200)]
Remove Go 1.3 from README

9 years agoWordCount and Summary support CJK Language
coderzh [Thu, 3 Sep 2015 10:22:20 +0000 (18:22 +0800)]
WordCount and Summary support CJK Language

 * add global `hasCJKLanguage` flag, if true, turn on auto-detecting CJKLanguage
 * add `isCJKLanguage` frontmatter to force specify whether is CJKLanguage or not
 * For .Summary: If isCJKLanguage is true, use the runes as basis for truncation, else keep as today.
 * For WordCount: If isCJKLanguage is true, use the runes as basis for calculation, else keep as today.
 * Unexport RuneCount

Fixes #1377

9 years agoRemove RuneCount from doc
Bjørn Erik Pedersen [Tue, 6 Oct 2015 16:48:38 +0000 (18:48 +0200)]
Remove RuneCount from doc

9 years agoAdd Mmark GitHub-flavoured markdown to release notes
Bjørn Erik Pedersen [Tue, 6 Oct 2015 12:16:29 +0000 (14:16 +0200)]
Add Mmark GitHub-flavoured markdown to release notes

9 years agoAdd GitHub style code fence support to mmark
Andrew Brampton [Mon, 7 Sep 2015 18:41:02 +0000 (11:41 -0700)]
Add GitHub style code fence support to mmark

Fixes #1258.

9 years agoDocs: Added RIDING BYTES to Showcase Page
Ramon Bartl [Thu, 1 Oct 2015 09:49:47 +0000 (11:49 +0200)]
Docs: Added RIDING BYTES to Showcase Page

9 years agoAdding maximeguitare.com to showcase
Maxime Michel [Mon, 5 Oct 2015 15:18:21 +0000 (17:18 +0200)]
Adding maximeguitare.com to showcase

9 years agoLet Cobra do the usage error logging
Bjørn Erik Pedersen [Mon, 5 Oct 2015 18:26:49 +0000 (20:26 +0200)]
Let Cobra do the usage error logging

Fixes #1472

9 years agoImprove command text for import command
Bjørn Erik Pedersen [Mon, 5 Oct 2015 09:25:42 +0000 (11:25 +0200)]
Improve command text for import command

9 years agoCapital J in Jekyll
Bjørn Erik Pedersen [Sun, 4 Oct 2015 21:26:18 +0000 (23:26 +0200)]
Capital J in Jekyll

9 years agoAdd Jekyll import to release notes
Bjørn Erik Pedersen [Sun, 4 Oct 2015 18:10:29 +0000 (20:10 +0200)]
Add Jekyll import to release notes

9 years agoHugo import from jekyll
coderzh [Thu, 1 Oct 2015 01:04:30 +0000 (09:04 +0800)]
Hugo import from jekyll

usage: hugo import jekyll jekyll_root_path target_path

Implemented:
 * Create new hugo site
 * Create config.yaml
 * Convert all markdown contents.
 * Copy all other files and folders to static

Fixes #101

9 years agoFix strange carousel width on http://gohugo.io/
Anthony Fok [Fri, 2 Oct 2015 09:27:38 +0000 (03:27 -0600)]
Fix strange carousel width on http://gohugo.io/

The solution is to add `table-layout:fixed` when `display:table` is used
as per the answer given at:

    http://stackoverflow.com/questions/21230184/owl-carousel-inside-a-table-cell-parent-makes-parent-to-expand-weird

Fixes #1465

9 years agoRename NormalizeHugoFlagsFunc to NormalizeHugoFlags
Bjørn Erik Pedersen [Fri, 2 Oct 2015 04:47:34 +0000 (06:47 +0200)]
Rename NormalizeHugoFlagsFunc to NormalizeHugoFlags

It IS a func.

9 years agois it .md instead of .ad?
vsopvsop [Sun, 27 Sep 2015 17:19:02 +0000 (22:49 +0530)]
is it .md instead of .ad?

9 years agoUsed leading slash more consistently
Michael Käufl [Mon, 28 Sep 2015 21:14:24 +0000 (23:14 +0200)]
Used leading slash more consistently

9 years agoMarked the whole path as code
Michael Käufl [Mon, 28 Sep 2015 21:12:57 +0000 (23:12 +0200)]
Marked the whole path as code

9 years agoUse filepath as the last default sort key for pages
Bjørn Erik Pedersen [Wed, 30 Sep 2015 03:43:11 +0000 (05:43 +0200)]
Use filepath as the last default sort key for pages

9 years agoAdd the base64 template funcs to release notes
Bjørn Erik Pedersen [Fri, 25 Sep 2015 19:34:32 +0000 (21:34 +0200)]
Add the base64 template funcs to release notes

9 years agoAdd base64Decode and base64Encode template functions
digitalcraftsman [Sat, 12 Sep 2015 19:45:12 +0000 (21:45 +0200)]
Add base64Decode and base64Encode template functions

Fixes #1416

9 years agoAllow for any (short) line begining or ending with html comment
Sven Dowideit [Wed, 23 Sep 2015 04:43:17 +0000 (14:43 +1000)]
Allow for any (short) line begining or ending with html comment

Fixes #1428

9 years agoChange port number from 1414 to 1313 (default)
Ben Turner [Tue, 22 Sep 2015 03:00:48 +0000 (20:00 -0700)]
Change port number from 1414 to 1313 (default)

Change the port number to access the site locally from 1414 to 1313 as per the default and the image.

9 years agoRemove superfluous `g` in docs
Bjørn Erik Pedersen [Wed, 23 Sep 2015 07:18:20 +0000 (09:18 +0200)]
Remove superfluous `g` in docs

9 years agoTools: Add more to tools to the list
digitalcraftsman [Tue, 22 Sep 2015 11:12:28 +0000 (13:12 +0200)]
Tools: Add more to tools to the list

9 years agoFix typo in docs
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:33:41 +0000 (22:33 +0200)]
Fix typo in docs

See #1438

9 years agoAdd singularize template func
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:31:02 +0000 (22:31 +0200)]
Add singularize template func

See #1438

9 years agoAdd pluralize template func
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:24:24 +0000 (22:24 +0200)]
Add pluralize template func

Fixes #1438

9 years agocorrect spelling for 'including' and 'counterpart'
vsopvsop [Mon, 21 Sep 2015 01:26:17 +0000 (06:56 +0530)]
correct spelling for 'including' and 'counterpart'

9 years agoPress: Update URL to Spencer Lyon’s “Hugo and GitHub Pages”
Anthony Fok [Sun, 20 Sep 2015 23:30:49 +0000 (17:30 -0600)]
Press: Update URL to Spencer Lyon’s “Hugo and GitHub Pages”

Spencer had moved his web site from http://sglyon.com/ to
http://spencerlyon.com/.  Special thanks to @vsopvsop
for noticing the dead link on the Press coverage page.

Resolves #1446

9 years agoPress: New URL to Kenny Woo’s blog about Hugo
Anthony Fok [Sun, 20 Sep 2015 23:25:04 +0000 (17:25 -0600)]
Press: New URL to Kenny Woo’s blog about Hugo

Kenny had moved his blog from http://kennywoo.com/ to http://kenwoo.io/

9 years agodead link
vsopvsop [Sat, 19 Sep 2015 17:31:01 +0000 (23:01 +0530)]
dead link

Hugo over Octopress
http://kennywoo.com/blog/hugo---golang-based-static-site-generator/

9 years agoLink no longer works - Dead link
vsopvsop [Sat, 19 Sep 2015 01:04:35 +0000 (06:34 +0530)]
Link no longer works - Dead link

http://commiechink.com/2014/08/hello-hugo/

9 years agoShow both baseURL and bind address in `hugo server` output
Anthony Fok [Wed, 16 Sep 2015 05:12:01 +0000 (23:12 -0600)]
Show both baseURL and bind address in `hugo server` output

Fixes #1426

9 years agoUpdate .travis.yml for Go 1.5.1
Anthony Fok [Wed, 16 Sep 2015 05:04:24 +0000 (23:04 -0600)]
Update .travis.yml for Go 1.5.1

Also replaced CRLF with LF in .travis.yml

9 years agoTest builds on OS X
Edward Vielmetti [Wed, 16 Sep 2015 03:57:17 +0000 (23:57 -0400)]
Test builds on OS X

Add an "os" target for OS X to test builds on Mac. No reason to believe it won't work, but always worth testing things.

9 years agoFix typo in terms.md
Ben Turner [Tue, 15 Sep 2015 18:31:11 +0000 (11:31 -0700)]
Fix typo in terms.md