bep
81c41d6f20
livereload: apply some Golint rules
2015-03-07 12:58:51 +01:00
bep
a91bcd85e2
source: apply some Golint rules
2015-03-07 12:58:39 +01:00
bep
e007c9b25d
hugolib: apply some more Golint rules
2015-03-07 12:53:20 +01:00
bep
5759007874
menu: make receiver name on Page methods consistent
...
Apply some Golint rules on Menu, esp. making the method receiver names consistent.
2015-03-07 12:52:29 +01:00
bep
e24a775962
page: make receiver name on Page methods consistent
...
Apply some Golint rules on Page, esp. making the method receiver names consistent:
(page *Page) ==> (p *Page)
2015-03-07 12:25:38 +01:00
bep
8539f78143
hugolib: apply some Hugolint rules
2015-03-07 00:13:06 +01:00
bep
b9f8c0c120
author: fix doc
2015-03-07 00:10:00 +01:00
bep
bd2b679eaf
helpers: apply some Golint rules
2015-03-07 00:02:06 +01:00
bep
e685dfc0c6
Apply some more Golint suggestions
2015-03-06 18:07:50 +01:00
bep
224a2ddf3c
Fix some Go Lint errors
2015-03-06 15:58:14 +01:00
bep
103ea842f8
Fix errors reported by Go Vet
2015-03-06 15:25:19 +01:00
Anthony Fok
c4c19ad303
Prevent 404.html from prettifying into 404/index.html
...
Restore @realchaseadams's commit 348e123
"Force `UglyUrls` option to force `404.html` file name"
which got lost after some refactoring (commit 8db3c0b
).
Remove the equivalent "force `UglyUrls`" code for `sitemap.xml`
because the refactored code now calls `renderAndWriteXML()`
which uses `WriteDestFile()` which does not prettify a filename.
Fixes #939
2015-03-06 13:12:01 +01:00
bep
3343cacc0e
Avoid panic when pagination on 0 pages
...
Fixes #948
2015-03-06 00:48:33 +01:00
bep
6e1b0e0c00
Apply gofmt -s
2015-03-05 23:57:38 +01:00
bep
8557e2cbb8
Add benchmark for the shortcode lexer
2015-03-05 21:11:15 +01:00
Saint Asky
ecb2aca6a2
Update github-pages-blog.md
...
change `hugo serve` to `hugo server`
2015-03-05 01:46:06 -07:00
Steve Francia
fb0facefa8
Tidying the Readme a bit more
2015-03-04 09:17:35 -05:00
Steve Francia
6c9bdc2859
Using a smaller Header Image
2015-03-04 09:16:49 -05:00
Steve Francia
8aa646ced2
Fixing image in readme
2015-03-04 09:15:55 -05:00
Steve Francia
1e210a434d
Restructure top of Readme.md
2015-03-04 09:15:03 -05:00
Steve Francia
fa5cbb2a4a
Merge pull request #944 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2015-03-04 09:08:03 -05:00
The Gitter Badger
45d962c60a
Added Gitter badge
2015-03-04 14:06:38 +00:00
Steve Francia
d5cb369556
Update Readme.md with additional contribution guides
2015-03-04 09:01:15 -05:00
bep
ab5862cd00
Allow the same shortcode to be used with or without inline content
...
Fixes #934
2015-03-02 21:49:33 +01:00
bep
241f9f9e46
Improve error message on missing shortcode inner content
...
Fixes #933
2015-02-28 19:24:30 +01:00
bep
9d80ecb4d8
Keep trailing slash when baseUrl contains a sub path
...
Before this commit, .Site.BaseUrl ended up as:
http://mysite.com/ => http://mysite.com/
http://mysite.com/sub/ => http://mysite.com/sub
Now it becomes:
http://mysite.com/ => http://mysite.com/
http://mysite.com/sub/ => http://mysite.com/sub/
Fixed #931
2015-02-28 18:45:02 +01:00
bep
176ce5deab
Allow hyphens in shortcode name
...
Fixes #929
2015-02-27 11:57:23 +01:00
bep
967d001ebe
Use osext on GitHub
...
Fixes #922
2015-02-23 18:12:19 +01:00
Anthony Fok
bb13d82677
[Docs] NetBSD and ARM pre-built binaries are already provided
...
See https://github.com/spf13/hugo/releases
What a pleasant surprise indeed!
How come I have never noticed them before?
And even `.deb` files are provided! How amazing!
2015-02-21 23:26:34 -07:00
spf13
729a6739f2
Bumping to version "v0.14-DEV"
2015-02-21 23:11:36 -05:00
spf13
e43eabacee
Updating the final release notes for v0.13
2015-02-21 22:31:01 -05:00
Anthony Fok
88e7c031a8
[Docs] Clarify the switch to canonifyurls = false
as default
...
Quote from @spf13: "I also think it's the better default
and should continue to be the case going forward."
Also mention the use of `hugo config` to check the current value
of `canonifyurls`, thanks to suggestion by @bep.
Fixes #802
2015-02-21 14:50:14 -07:00
Anthony Fok
ac189fd514
Update README.md and overview/installing.md
...
- Clarify that Hugo may be built wherever Go is available;
- Add links to Git, Mercurial and Go;
- Unlist Bazaar: No libraries that Hugo depends on use it any more;
- Suggest the user to simply run `make` to build `hugo`
to get `hugo version` to display the commit hash.
2015-02-21 13:42:15 -07:00
bep
dc7b7ef865
Avoid race condition in target list init
...
As reported by Go's race detector.
See #917
2015-02-20 18:38:35 +01:00
bep
c33a8528f8
Avoid race condition in isInnerShortcode
...
As reported by Go's race detector.
See #917
2015-02-20 17:41:37 +01:00
Cyrill Schumacher
a3892685bc
Add trailing file separator to temp dir
...
Make sure that the file separator is added to the temp dir in all cases.
This prevents cache temp files being written to the root temp folder.
Fixes #910
2015-02-19 14:16:04 +01:00
bep
f0c8585b50
Use $.Paginator in template
...
Since there will only be one paginator per page, this can get rid of some scoping confusion.
2015-02-19 11:36:09 +01:00
bep
62752cfee9
Return unmodified content if panic in LiveReloadInject
2015-02-18 22:16:40 +01:00
bep
4d708f096d
Add revocer in LiveReloadInject
...
The panic cannot be reproduced, but add this as protection.
Fixes #911
2015-02-18 21:51:32 +01:00
René Jochum
d2e022f2a7
Suppress errors for symbolic links witch point to a file.
2015-02-17 19:18:28 -08:00
riboflavin
aeddaee901
add note that running with watch doesn't produce a site suitable for deployment
2015-02-17 19:17:38 -08:00
karland
e31536dd85
Add information to highlighting with Payments
...
Conflicts:
docs/content/extras/highlighting.md
2015-02-17 12:35:39 -05:00
Anthony Fok
c4393257e8
Adapt to relative path bug fix in purell
...
Temporary workaround for the bug fix and resulting
behavioral change in purell.NormalizeURLString():
a leading '/' was inadvertently to relative links,
but no longer, see #878 .
I think the real solution is to allow Hugo to
make relative URL with relative path,
e.g. "../../post/hello-again/", as wished by users
in issues #157 , #622 , etc., without forcing
relative URLs to begin with '/'.
Once the fixes are in, let's remove this kludge
and restore SanitizeUrl() to the way it was.
Fixes #878
2015-02-17 12:31:39 -05:00
Cyrill Schumacher
41c0e82f95
Moved futured getSQL topic to another branch
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
b209f44335
getJson and getCsv documentation proof reading by @msjulias
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
4342dd84fc
Update Dynamic Content docs
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
48a6d44786
Update doc
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
47b7cfeb44
Add getSQL idea
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
fdf8db9c21
Initial doc file: Dynamic Content
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
32d645d900
Fix bug where running hugo without options causes to create
...
$TMPDIR/hugo_cache/ directory.
2015-02-17 12:14:39 -05:00