Commit graph

3165 commits

Author SHA1 Message Date
Michael Käufl
7fd42af3b1 Used leading slash more consistently 2015-09-30 16:33:11 -04:00
Michael Käufl
d06ebc98e1 Marked the whole path as code 2015-09-30 16:33:10 -04:00
Bjørn Erik Pedersen
dcd9c69aa8 Use filepath as the last default sort key for pages 2015-09-30 05:43:11 +02:00
Bjørn Erik Pedersen
7708d4556d Add the base64 template funcs to release notes 2015-09-25 21:34:32 +02:00
digitalcraftsman
79f8bb625d Add base64Decode and base64Encode template functions
Fixes #1416
2015-09-25 21:31:55 +02:00
Sven Dowideit
a1e32439fb Allow for any (short) line begining or ending with html comment
Fixes #1428
2015-09-25 18:32:32 +02:00
Ben Turner
a43b037651 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.
2015-09-23 19:07:01 -06:00
Bjørn Erik Pedersen
82f770a6f5 Remove superfluous g in docs 2015-09-23 09:18:20 +02:00
digitalcraftsman
493147a73f Tools: Add more to tools to the list 2015-09-22 22:34:35 +02:00
Bjørn Erik Pedersen
06caa025a4 Fix typo in docs
See #1438
2015-09-22 22:33:41 +02:00
Bjørn Erik Pedersen
8d695ec592 Add singularize template func
See #1438
2015-09-22 22:31:02 +02:00
Bjørn Erik Pedersen
751d4906ef Add pluralize template func
Fixes #1438
2015-09-22 22:25:25 +02:00
vsopvsop
74924dd50d correct spelling for 'including' and 'counterpart' 2015-09-20 19:31:35 -06:00
Anthony Fok
ab0d29aa51 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
2015-09-20 17:33:08 -06:00
Anthony Fok
740dc2caf1 Press: New URL to Kenny Woo’s blog about Hugo
Kenny had moved his blog from http://kennywoo.com/ to http://kenwoo.io/
2015-09-20 17:25:04 -06:00
vsopvsop
c397c0b238 dead link
Hugo over Octopress 
http://kennywoo.com/blog/hugo---golang-based-static-site-generator/
2015-09-20 07:42:40 -06:00
vsopvsop
0bdb9b7da4 Link no longer works - Dead link
http://commiechink.com/2014/08/hello-hugo/
2015-09-18 20:46:56 -06:00
Anthony Fok
b29ca44c6e Show both baseURL and bind address in hugo server output
Fixes #1426
2015-09-15 23:12:01 -06:00
Anthony Fok
d984dde2f5 Update .travis.yml for Go 1.5.1
Also replaced CRLF with LF in .travis.yml
2015-09-15 23:06:00 -06:00
Edward Vielmetti
b5b8cc9bd3 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.
2015-09-15 22:59:19 -06:00
Ben Turner
c2a7c456cc Fix typo in terms.md 2015-09-15 21:23:44 -06:00
Anthony Fok
e67bee93ce Revert "docs: Fix URL to yulinling.net (https → http) in Showcase"
This reverts commit ca74dd233d.
2015-09-15 06:12:25 -06:00
Samuel Prashker
1abc12a949 docs: Fix typo in url extras 2015-09-14 14:40:38 -06:00
Anthony Fok
ca74dd233d docs: Fix URL to yulinling.net (https → http) in Showcase 2015-09-14 14:32:38 -06:00
lynxiayel
68b8dd73de Add yulinling.net to Showcase 2015-09-14 14:12:49 -06:00
Anthony Fok
cd4f36ba57 docs: Optimize recent thumbnail images in Showcase 2015-09-14 14:04:21 -06:00
Anthony Fok
0a80ead5c9 docs: Fix formatting in overview/usage.md 2015-09-14 12:47:43 -06:00
Anthony Fok
397080eabe 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
2015-09-14 12:44:33 -06:00
Anthony Fok
3679fe6712 Add "control code" and "trailing space" to alias validation 2015-09-14 12:32:54 -06:00
Bjørn Erik Pedersen
f5308da320 Move isThemeVsHugoVersionMismatch to /commands
To prevent potential package cycles in /helpers.
2015-09-14 17:31:39 +02:00
Anthony Fok
e71bef79e5 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
2015-09-13 18:08:42 +02:00
Anthony Fok
db85299c00 Complete the Url-to-URL transition in docs
See #959
2015-09-13 05:22:12 -06:00
Anthony Fok
29aa9baecd Complete the Url-to-URL transition in tests
See #959
2015-09-13 05:21:24 -06:00
Anthony Fok
d05b297e61 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
2015-09-13 05:20:14 -06:00
digitalcraftsman
833a396f6b Docs: extend the migration tool list and add a cross-reference in the start guide 2015-09-12 21:51:35 +02:00
digitalcraftsman
60f7394bdc Docs: Add a section about tools around Hugo 2015-09-12 15:41:56 +02:00
coderzh
0e1fd78fb2 WordCount Summary support UTF-8 string 2015-09-12 15:41:17 +02:00
Anthony Fok
c7521b3d67 docs: Change redirect documentation to aliases
Fixes #962
2015-09-10 03:08:32 -06:00
Anthony Fok
cf7318a057 Convert example/blog to use new syntax for Hugo v0.14+
safeHtml → safeHTML, .Site.BaseUrl → .Site.BaseURL

(Hmm... How did we miss that earlier?)
2015-09-08 22:51:57 -06:00
Anthony Fok
cec9054bb8 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/
2015-09-08 22:35:26 -06:00
Kohei Yoshino
93b3898633 Add FxSiteCompat.com to Showcase 2015-09-08 22:58:43 -04:00
spf13
9e526b65d3 fix showcase to render properly 2015-09-08 22:55:17 -04:00
Richard Sumilang
daf5f32cba Adding RichardSumilang.com to the showcases. 2015-09-08 11:35:33 -04:00
Benoit Benedetti
aec0e17ae1 Docs: Add Humboldtux.net to Showcase page 2015-09-08 11:34:52 -04:00
Benoit Benedetti
c7b701eae3 Docs: Add new french mag article by @humboldtux to Press page 2015-09-08 11:34:18 -04:00
jlengstorf
9f75a51854 Added details about generated files and development flows 2015-09-08 11:32:47 -04:00
digitalcraftsman
fd7b315572 Add a 404.html file if a new theme is created 2015-09-08 11:29:04 -04:00
Isaac Gregson
d6f6945525 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.
2015-09-08 11:25:59 -04:00
spf13
bfa06fff86 showcase layout improved when thumbnails are different proportions 2015-09-08 11:23:14 -04:00
sergeant
138ffefd6a Add NoDesk to Showcase 2015-09-08 09:11:44 -04:00