bep
be8e6d4f1f
Use fmt.Errorf to make Golint happy
2015-04-21 21:13:30 +02:00
bep
7a0a02023d
Add shortcut to Scratch from shortcode
2015-04-19 14:50:27 +02:00
bep
be01f8430e
Add shortcut to Scratch from shortcode
2015-04-19 14:50:27 +02:00
bep
251c10c8c0
doc: clarify Scratch usage in shortcodes
2015-04-19 11:30:11 +02:00
bep
bef25432d1
doc: clarify Scratch usage in shortcodes
2015-04-19 11:30:11 +02:00
bep
5a8a31881d
Check spelling and some minor additions to Ace doc
2015-04-18 23:06:18 +02:00
bep
be62c94872
Check spelling and some minor additions to Ace doc
2015-04-18 23:06:18 +02:00
bep
89089406da
Add doc for Ace templates
...
Fixes #1063
2015-04-18 20:23:28 +02:00
bep
be7c1e5dd4
Add doc for Ace templates
...
Fixes #1063
2015-04-18 20:23:28 +02:00
bep
beff680534
Expand the ACE base template lookup pattern
...
The previous implementation didn't easily support the use case "I want one base template for the single pages, another for the rest".
The new lookup order is:
1. <current-path>/<template-name>-baseof.ace, e.g. list-baseof.ace
2. <current-path>/baseof.ace
3. _default/<template-name>-baseof.ace, e.g. list-baseof.ace.
4. _default/baseof.ace
2015-04-18 13:58:20 +02:00
bep
be46a4b9b0
Polish func naming in shortcode handling
2015-04-18 00:40:59 +02:00
bep
bed053071e
Remove unused types Shortcode and ShortcodeFunc
2015-04-18 00:31:56 +02:00
bep
be0d977009
Only write highlight to cache when CacheDir is set
...
To avoid writing cache files when testing.
2015-04-16 02:27:23 +02:00
bep
bee52f85ae
Fix broken Highlight test
2015-04-16 02:20:10 +02:00
bep
be6a92c8b6
Temporarily disable Highlight test
2015-04-16 00:58:21 +02:00
bep
956238622e
Add more options to highlight
...
Fixes #1021
2015-04-15 20:31:06 +02:00
bep
be24457acf
Add more options to highlight
...
Fixes #1021
2015-04-15 20:31:06 +02:00
bep
be540f5b8f
Fix potential Windows path issue with Pygments cache
2015-04-14 19:58:33 +02:00
Florian Baumann
d652d91e96
Added isso as a Disqus alternative to the docs
...
Hi,
I'm using isso with my hugo blog which works just fine.
I think this should be added to the docs :)
Thanks!
2015-04-10 22:45:22 -06:00
Florian Baumann
0fcb78e43b
Added isso as a Disqus alternative to the docs
...
Hi,
I'm using isso with my hugo blog which works just fine.
I think this should be added to the docs :)
Thanks!
2015-04-10 22:45:22 -06:00
Anthony Fok
2021150d52
Add "Google Cloud Storage" article to docs Press page
...
See #1055
2015-04-10 14:19:54 -06:00
Anthony Fok
1b5b0b3a94
Add "Google Cloud Storage" article to docs Press page
...
See #1055
2015-04-10 14:19:54 -06:00
Samuel Lelièvre
9e35e20aab
Typo in mathjax.md
2015-04-10 18:18:14 +02:00
Samuel Lelièvre
1f4a3c1f38
Typo in mathjax.md
2015-04-10 18:18:14 +02:00
complexsplit
2a151abc8c
Add Google Cloud Storage to doc
2015-04-10 18:12:59 +02:00
complexsplit
3b1db70af5
Add Google Cloud Storage to doc
2015-04-10 18:12:59 +02:00
bep
bebb1b9d5d
Fix spelling mistake in comment
2015-04-07 15:17:24 +02:00
bep
be31b9e287
Add custom Windows mousestrap message
...
Fixes #1022
2015-04-07 13:01:11 +02:00
bep
be4a9dd5d2
Remove section about the buildDate being configurable
...
It isn't.
2015-04-06 16:30:49 +02:00
bep
be25acae28
Fix README part about missing Windows tests
...
We now have AppVeyor.
2015-04-06 15:15:54 +02:00
bep
be1b7f67d3
Add git commit message guideline
...
Also rearranged the contribution section to get more attention to the important stuff.
2015-04-06 15:12:01 +02:00
bep
be2097e1ad
tpl: split template.go
...
The template funcs get their own file. This prevents having to scroll miles to get to the template infrastructure.
2015-04-05 21:03:12 +02:00
mdhender
43d6fdc123
Document getenv template function
...
Add `getenv` to the template function documentation.
2015-04-05 18:14:40 +02:00
mdhender
42dcaabf4f
Document getenv template function
...
Add `getenv` to the template function documentation.
2015-04-05 18:14:40 +02:00
mdhender
a03c130284
Add a section comparing the 'build' and 'server'
...
One of the first things that new users have to understand is the
difference between Hugo as a web server and Hugo as a web site
generator. Issue #852 asked for documentation to make that clear.
This patch updates the overview page with that information. It will
seem repetitive to users that understand the difference. Weigh that
against the needs of those that don't.
Reference #852
2015-04-04 23:58:10 +02:00
mdhender
9a499b56c9
Add a section comparing the 'build' and 'server'
...
One of the first things that new users have to understand is the
difference between Hugo as a web server and Hugo as a web site
generator. Issue #852 asked for documentation to make that clear.
This patch updates the overview page with that information. It will
seem repetitive to users that understand the difference. Weigh that
against the needs of those that don't.
Reference #852
2015-04-04 23:58:10 +02:00
mdhender
a339a1a06a
Sort function names in templates documentation
...
The documentation on the functions is long. It is easier to find
a function name when they are sorted within the sections.
Fixes #981
2015-04-04 23:30:08 +02:00
mdhender
6b50c8fb82
Sort function names in templates documentation
...
The documentation on the functions is long. It is easier to find
a function name when they are sorted within the sections.
Fixes #981
2015-04-04 23:30:08 +02:00
Alex Dunn
db830e26e4
docs: how to compile on mac, fix minor errors
2015-04-04 22:30:42 +02:00
Alex Dunn
9de78aab3f
docs: how to compile on mac, fix minor errors
2015-04-04 22:30:42 +02:00
bep
beb66c19a4
helpers: add some missing documentation
2015-04-03 22:30:08 +02:00
bep
be57ec5331
Fix the last Go Vet error
2015-04-03 22:18:08 +02:00
bep
be01d04870
hugolib: make Page implement the ReaderFrom interface
2015-04-03 21:41:24 +02:00
bep
bea42218b6
helpers: fix some go vet errors
2015-04-03 21:20:25 +02:00
bep
bea5feb34d
Return early from DistinctErrorLogger's Printf
2015-04-03 21:16:32 +02:00
Dylan MacKenzie
99a18b21fc
List directories being watched when server is run
...
Fixes part of issue 1030. Previously hugo only listed the content
directory as being watched. Now we list all files being watched
according to `commands.getDirList()`. We also introduce a RemoveSubpaths
function and test in the helpers module to reduce noise in the command
line output by not showing subdirectories of ones already being watched.
For example, instead of:
`Watching for changes in $HOME/blog/content`
We get:
`Watching for changes in
$HOME/blog/{data,content,layouts,static,themes/my-theme}`
2015-04-02 12:52:08 +02:00
bep
93998c0110
documentation: mention data files under liverload
2015-04-01 23:26:33 +02:00
bep
72aa516c75
documentation: mention data files under liverload
2015-04-01 23:26:33 +02:00
bep
be627fa718
Remove paragraph tags produced by markdownify
...
Fixes #1025
2015-04-01 15:40:09 +02:00
bep
bec9b92d0c
Make contentTransformer names consistent
2015-04-01 00:54:40 +02:00