digitalcraftsman [Mon, 19 Oct 2015 11:50:48 +0000 (13:50 +0200)]
Docs: fix typo under tools section
Anthony Fok [Fri, 30 Oct 2015 20:12:01 +0000 (14:12 -0600)]
Fix missing "]" in README.md in commit
2242712
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.
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.
Bjørn Erik Pedersen [Wed, 21 Oct 2015 08:48:16 +0000 (10:48 +0200)]
Remove anchor from fork link in README
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.
Bjørn Erik Pedersen [Tue, 20 Oct 2015 19:25:27 +0000 (21:25 +0200)]
Trim down 'Adding Compile Information to Hugo' in 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.
Bjørn Erik Pedersen [Sun, 18 Oct 2015 08:36:27 +0000 (10:36 +0200)]
Preserve Unicode marks in MakePath
Fixes #1488
Bjørn Erik Pedersen [Sat, 17 Oct 2015 12:08:45 +0000 (14:08 +0200)]
Show usage when new site creation fails
Bjørn Erik Pedersen [Sat, 17 Oct 2015 12:05:48 +0000 (14:05 +0200)]
Improve error message on new site command
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
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.
Tobias [Fri, 16 Oct 2015 21:57:56 +0000 (23:57 +0200)]
Fix some typos in docs
Steve Francia [Fri, 16 Oct 2015 21:57:37 +0000 (17:57 -0400)]
Add CLA assist to the contribution workflow in README
Gloria Dwomoh [Fri, 16 Oct 2015 21:01:48 +0000 (00:01 +0300)]
Update README.md
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.
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 /.
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.
Nathan Youngman [Wed, 14 Oct 2015 21:11:30 +0000 (15:11 -0600)]
Fix typo in shortcode tests
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
Bjørn Erik Pedersen [Thu, 15 Oct 2015 08:15:26 +0000 (10:15 +0200)]
Rename prettiyPath to prettifyPath
Bjørn Erik Pedersen [Wed, 14 Oct 2015 19:34:34 +0000 (21:34 +0200)]
Unexport internal path helper
Bjørn Erik Pedersen [Mon, 12 Oct 2015 15:58:40 +0000 (17:58 +0200)]
Fix In func given an []interface{}
Fixes #1486
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
Bjørn Erik Pedersen [Mon, 12 Oct 2015 19:34:15 +0000 (21:34 +0200)]
Correct number of args to Errorf
Bjørn Erik Pedersen [Mon, 12 Oct 2015 18:47:06 +0000 (20:47 +0200)]
Apply project wide go fmt
Bjørn Erik Pedersen [Mon, 12 Oct 2015 04:07:57 +0000 (06:07 +0200)]
Add Param to release notes
See #1462
Bjørn Erik Pedersen [Mon, 12 Oct 2015 04:00:58 +0000 (06:00 +0200)]
Add Param to the docs
See #1462
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
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.
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.
Bjørn Erik Pedersen [Fri, 9 Oct 2015 16:51:03 +0000 (18:51 +0200)]
Add `dict` func to release notes
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.
coderzh [Thu, 8 Oct 2015 14:34:11 +0000 (22:34 +0800)]
Docs: Added `hasCJKLanguage` global config flag and `isCJKLanguage` FrontMatter
See #1399
Alexander Morozov [Tue, 6 Oct 2015 22:58:58 +0000 (15:58 -0700)]
Fix comment for NormalizeHugoFlags
Bjørn Erik Pedersen [Wed, 7 Oct 2015 19:09:50 +0000 (21:09 +0200)]
Remove Go 1.3 from README
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
Bjørn Erik Pedersen [Tue, 6 Oct 2015 16:48:38 +0000 (18:48 +0200)]
Remove RuneCount from doc
Bjørn Erik Pedersen [Tue, 6 Oct 2015 12:16:29 +0000 (14:16 +0200)]
Add Mmark GitHub-flavoured markdown to release notes
Andrew Brampton [Mon, 7 Sep 2015 18:41:02 +0000 (11:41 -0700)]
Add GitHub style code fence support to mmark
Fixes #1258.
Ramon Bartl [Thu, 1 Oct 2015 09:49:47 +0000 (11:49 +0200)]
Docs: Added RIDING BYTES to Showcase Page
Maxime Michel [Mon, 5 Oct 2015 15:18:21 +0000 (17:18 +0200)]
Adding maximeguitare.com to showcase
Bjørn Erik Pedersen [Mon, 5 Oct 2015 18:26:49 +0000 (20:26 +0200)]
Let Cobra do the usage error logging
Fixes #1472
Bjørn Erik Pedersen [Mon, 5 Oct 2015 09:25:42 +0000 (11:25 +0200)]
Improve command text for import command
Bjørn Erik Pedersen [Sun, 4 Oct 2015 21:26:18 +0000 (23:26 +0200)]
Capital J in Jekyll
Bjørn Erik Pedersen [Sun, 4 Oct 2015 18:10:29 +0000 (20:10 +0200)]
Add Jekyll import to release notes
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
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
Bjørn Erik Pedersen [Fri, 2 Oct 2015 04:47:34 +0000 (06:47 +0200)]
Rename NormalizeHugoFlagsFunc to NormalizeHugoFlags
It IS a func.
vsopvsop [Sun, 27 Sep 2015 17:19:02 +0000 (22:49 +0530)]
is it .md instead of .ad?
Michael Käufl [Mon, 28 Sep 2015 21:14:24 +0000 (23:14 +0200)]
Used leading slash more consistently
Michael Käufl [Mon, 28 Sep 2015 21:12:57 +0000 (23:12 +0200)]
Marked the whole path as code
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
Bjørn Erik Pedersen [Fri, 25 Sep 2015 19:34:32 +0000 (21:34 +0200)]
Add the base64 template funcs to release notes
digitalcraftsman [Sat, 12 Sep 2015 19:45:12 +0000 (21:45 +0200)]
Add base64Decode and base64Encode template functions
Fixes #1416
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
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.
Bjørn Erik Pedersen [Wed, 23 Sep 2015 07:18:20 +0000 (09:18 +0200)]
Remove superfluous `g` in docs
digitalcraftsman [Tue, 22 Sep 2015 11:12:28 +0000 (13:12 +0200)]
Tools: Add more to tools to the list
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:33:41 +0000 (22:33 +0200)]
Fix typo in docs
See #1438
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:31:02 +0000 (22:31 +0200)]
Add singularize template func
See #1438
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:24:24 +0000 (22:24 +0200)]
Add pluralize template func
Fixes #1438
vsopvsop [Mon, 21 Sep 2015 01:26:17 +0000 (06:56 +0530)]
correct spelling for 'including' and 'counterpart'
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
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/
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/
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/
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
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
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.
Ben Turner [Tue, 15 Sep 2015 18:31:11 +0000 (11:31 -0700)]
Fix typo in terms.md
Anthony Fok [Tue, 15 Sep 2015 12:12:25 +0000 (06:12 -0600)]
Revert "docs: Fix URL to yulinling.net (https → http) in Showcase"
This reverts commit
ca74dd233df1bd15bcdad0204e79ae77a057ea94.
Samuel Prashker [Wed, 2 Sep 2015 19:22:21 +0000 (15:22 -0400)]
docs: Fix typo in url extras
Anthony Fok [Mon, 14 Sep 2015 20:32:38 +0000 (14:32 -0600)]
docs: Fix URL to yulinling.net (https → http) in Showcase
lynxiayel [Fri, 11 Sep 2015 09:42:37 +0000 (05:42 -0400)]
Add yulinling.net to Showcase
Anthony Fok [Mon, 14 Sep 2015 20:02:17 +0000 (14:02 -0600)]
docs: Optimize recent thumbnail images in Showcase
Anthony Fok [Mon, 14 Sep 2015 18:47:43 +0000 (12:47 -0600)]
docs: Fix formatting in overview/usage.md
Anthony Fok [Mon, 14 Sep 2015 18:44:33 +0000 (12:44 -0600)]
docs: Add a few more blog articles to Press
Also add ` ` to one of the dates in the table
to prevent the Date column from wrapping
Anthony Fok [Mon, 14 Sep 2015 18:18:54 +0000 (12:18 -0600)]
Add "control code" and "trailing space" to alias validation
Bjørn Erik Pedersen [Mon, 14 Sep 2015 15:31:39 +0000 (17:31 +0200)]
Move isThemeVsHugoVersionMismatch to /commands
To prevent potential package cycles in /helpers.
Anthony Fok [Sun, 13 Sep 2015 12:36:08 +0000 (06:36 -0600)]
Validate aliases to prevent directory traversal etc.
Add validation before creating aliases:
* Prevent creating aliases outside webroot (public/ dir)
* Skip empty "" alias
* Skip "/" → "/index.html", which gets overwritten anyway
* Refuse to create Windows-invalid filenames on Windows;
warn on other platforms
* In case of invalid aliases, after skipping them,
return `err = nil` to prevent the error passing up
all the way to `hugolib.Render()` and causing Hugo to abort.
* Update alias tests.
Fixes #701: Add support for alias with whitespace
Fixes #1418: Add validation for alias
Anthony Fok [Wed, 9 Sep 2015 05:29:04 +0000 (23:29 -0600)]
Complete the Url-to-URL transition in docs
See #959
Anthony Fok [Wed, 9 Sep 2015 05:27:55 +0000 (23:27 -0600)]
Complete the Url-to-URL transition in tests
See #959
Anthony Fok [Wed, 9 Sep 2015 05:05:11 +0000 (23:05 -0600)]
Add helpers.NormalizeHugoFlagsFunc() to handle flag name changes
It currently handles --baseUrl to --baseURL, and --uglyUrls to --uglyURLs.
Special thanks to Eric Paris (@eparis) for writing the
"normalized name" support in Cobra, and for showing us
how it is used in Kubernetes.
See Issue #959
digitalcraftsman [Sat, 12 Sep 2015 17:46:01 +0000 (19:46 +0200)]
Docs: extend the migration tool list and add a cross-reference in the start guide
digitalcraftsman [Sat, 12 Sep 2015 10:12:01 +0000 (12:12 +0200)]
Docs: Add a section about tools around Hugo
coderzh [Thu, 3 Sep 2015 10:22:20 +0000 (18:22 +0800)]
WordCount Summary support UTF-8 string
Anthony Fok [Thu, 10 Sep 2015 09:08:32 +0000 (03:08 -0600)]
docs: Change redirect documentation to aliases
Fixes #962
Anthony Fok [Wed, 9 Sep 2015 04:51:57 +0000 (22:51 -0600)]
Convert example/blog to use new syntax for Hugo v0.14+
safeHtml → safeHTML, .Site.BaseUrl → .Site.BaseURL
(Hmm... How did we miss that earlier?)
Anthony Fok [Wed, 9 Sep 2015 04:35:26 +0000 (22:35 -0600)]
docs: Remove empty sourceLink from two sites in Showcase
The empty sourceLink created an empty HTML anchor
which got pointed back to http://gohugo.io/showcase/
Kohei Yoshino [Tue, 8 Sep 2015 23:50:22 +0000 (19:50 -0400)]
Add FxSiteCompat.com to Showcase
spf13 [Wed, 9 Sep 2015 02:52:24 +0000 (22:52 -0400)]
fix showcase to render properly
Richard Sumilang [Mon, 7 Sep 2015 07:17:45 +0000 (00:17 -0700)]
Adding RichardSumilang.com to the showcases.
Benoit Benedetti [Sun, 6 Sep 2015 18:30:34 +0000 (20:30 +0200)]
Docs: Add Humboldtux.net to Showcase page
Benoit Benedetti [Sun, 6 Sep 2015 18:12:19 +0000 (20:12 +0200)]
Docs: Add new french mag article by @humboldtux to Press page
jlengstorf [Sat, 5 Sep 2015 13:38:55 +0000 (15:38 +0200)]
Added details about generated files and development flows
digitalcraftsman [Fri, 4 Sep 2015 11:43:09 +0000 (13:43 +0200)]
Add a 404.html file if a new theme is created
Isaac Gregson [Fri, 4 Sep 2015 09:37:30 +0000 (12:37 +0300)]
Update organization.md
Increases clarity on the different between `section` and `type`.
The current `section` information here is wrong (sections can *not* be specified in front matter). This caused quite the headache. This change fixes this and also adds `type`, since it *can* be specified in front matter.
spf13 [Tue, 8 Sep 2015 15:23:14 +0000 (11:23 -0400)]
showcase layout improved when thumbnails are different proportions