Commit graph

1646 commits

Author SHA1 Message Date
spf13
062f6c3383 rewrite safeHTML function 2015-11-15 11:05:16 -05:00
Bjørn Erik Pedersen
dcf1f96c2d Revert "Update Go release version to 1.5.2 in Travis config"
This reverts commit 30ebf6b823.

There is no Go 1.5.2... Where did I get that info!?
2015-11-14 16:59:45 +01:00
Bjørn Erik Pedersen
53a5932fa4 Get rid of allocation in the BenchmarkReplaceShortcodeTokens itself
So we can see the real numbers.

See #1516
2015-11-13 22:37:07 +01:00
digitalcraftsman
d7588fac21 Docs: fix typo in tools section 2015-11-13 11:19:55 -07:00
digitalcraftsman
b8effd8a17 Docs: add hugofy to tools 2015-11-13 04:25:34 -07:00
digitalcraftsman
b4ebd0eb57 Update release notes
Note the new built-in Google Analytics template.
2015-11-13 04:21:05 -07:00
Coders Digest
8e68a6487c Adding article about moving to hugo 2015-11-13 03:51:13 -07:00
spf13
a50133ff38 Improve the server usage output 2015-11-12 10:23:41 -05:00
Bjørn Erik Pedersen
3bbd02a1ca Print parse errors from Viper 2015-11-11 22:47:24 +01:00
Fabiano Frizzo
469d268cc8 doc: Add new article by Fabiano Frizzo to Press 2015-11-10 16:05:16 -07:00
Bjørn Erik Pedersen
30ebf6b823 Update Go release version to 1.5.2 in Travis config 2015-11-10 21:41:47 +01:00
Tatsushi Demachi
139be09f17 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
2015-11-10 14:57:03 +01:00
spf13
bccf957e36 Add support for dynamic reloading of config file when watching 2015-11-09 23:31:52 -05:00
spf13
488966dcb2 Add hugo theme site to the sidebar
Also reorder the menu a bit and clarify a couple items.
2015-11-09 23:23:39 -05:00
Bjørn Erik Pedersen
570713a478 Use Identifier as last sort resort for default menu sort
Fixes #1562
2015-11-09 21:02:21 +01:00
Billy Burrows
01c87d2d23 Small Doc Changes 2015-11-07 20:13:20 -07:00
Bjørn Erik Pedersen
1758db29f5 Cosmetic change in README to trigger new build 2015-11-07 01:39:10 +01:00
digitalcraftsman
341dcc4765 Docs: fix broken links 2015-11-06 08:51:40 -05:00
digitalcraftsman
9dbb6dc50d Add internal Google Analytics template
This commits also adds the GoogleAnalytics
variable to insert the tracking code.

Fixes #1424.
2015-11-04 17:11:38 -05:00
Arjen Schwarz
ca55ea505a 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
2015-11-02 23:27:55 -07:00
Bjørn Erik Pedersen
5bda0398e7 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
2015-11-02 17:24:50 +01:00
Anthony Fok
e1729935b5 doc: Add new article by Thomas Peham to Press 2015-10-31 10:54:55 -06:00
Timothy Hopper
08b3004fcb Update link to S3 deploy instructions
Previous link goes to page with warning "This article is outdated"
2015-10-31 10:09:34 -06:00
Fabiano Frizzo
217ffa87c9 Fix doc render on Firefox
Fix #1523
2015-10-31 09:59:02 -06:00
Sergey Mudrik
c8f2a57430 Fixed link to Google Prettify
Google Prettify has been moved to github
2015-10-31 09:54:14 -06:00
Robert Aistleitner
42453357aa add bugtrackers.io to hugo docs showcases 2015-10-31 09:50:42 -06:00
Arun Sori
277d0ae4a5 Fix spell mistake in variables.md 2015-10-31 09:47:07 -06:00
Shivanshu Agrawal
1ce3bb22f8 add ninjaducks.in to showcase 2015-10-31 09:36:50 -06:00
Arun Sori
83e46555dd Disable directory listing for Hugo file server
Fix #1400
2015-10-31 09:23:30 -06:00
Shai Efrati
50c819cede Remove dots from snippets.
See confusing issue #1513.
2015-10-30 15:08:49 -06:00
digitalcraftsman
3d96dfc924 Docs: fix typo under tools section 2015-10-30 14:47:06 -06:00
Anthony Fok
6c6905d5f4 Fix missing "]" in README.md in commit 2242712 2015-10-30 14:12:01 -06:00
Anthony Fok
2242712b0c 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.
2015-10-30 14:08:21 -06:00
Anthony Fok
e95db67b20 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.
2015-10-30 13:30:25 -06:00
Bjørn Erik Pedersen
6b34a4e4e8 Remove anchor from fork link in README 2015-10-21 10:48:16 +02:00
Bjørn Erik Pedersen
f77279bb00 Turn all README headlines into imperative mode
This also matches the commit guidelines.
2015-10-20 23:16:21 +02:00
Bjørn Erik Pedersen
4974a62c70 Trim down 'Adding Compile Information to Hugo' in README 2015-10-20 21:25:27 +02:00
Ethan Madison
5cf1475ecd 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.
2015-10-20 20:43:36 +02:00
Bjørn Erik Pedersen
36adb5fb88 Preserve Unicode marks in MakePath
Fixes #1488
2015-10-18 10:36:27 +02:00
Bjørn Erik Pedersen
9d603ce88a Show usage when new site creation fails 2015-10-17 14:08:45 +02:00
Bjørn Erik Pedersen
ab7223df8c Improve error message on new site command 2015-10-17 14:05:48 +02:00
Safonov Nikita
5e97cf3020 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
2015-10-17 13:58:43 +02:00
Kato Kazuyoshi
3a412543f6 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.
2015-10-17 13:50:37 +02:00
Tobias
4e9a5d8bd1 Fix some typos in docs 2015-10-17 13:48:10 +02:00
Steve Francia
0c66ad8775 Add CLA assist to the contribution workflow in README 2015-10-16 17:57:37 -04:00
Gloria Dwomoh
fb0e17a3ed Update README.md 2015-10-16 23:24:35 +02:00
Kato Kazuyoshi
698019a552 Disable LiveReload when Hugo is not running as a server
This change fixes #1410.
2015-10-15 16:36:14 -04:00
Kato Kazuyoshi
ef4dfcec6c Load livereload.js from "/"
Fix #1406
Instead of loading the file from http://localhost:port/, it can be
loaded from /.
2015-10-15 16:36:13 -04:00
Andy Williams
0f438d1852 Create minimal default.md in archetype file
fixes #315
To fix the cast error, create a minimal default.md in the archetype
folder.
2015-10-15 16:36:13 -04:00
Nathan Youngman
bea7b2e202 Fix typo in shortcode tests 2015-10-15 18:00:10 +02:00