372 Commits

Author SHA1 Message Date
Cyrill Schumacher
d75a79eb66 Add getSQL idea 2015-02-17 12:14:39 -05:00
Cyrill Schumacher
51ddb3077c Initial doc file: Dynamic Content 2015-02-17 12:14:39 -05:00
Anthony Fok
01e7f64b57 [Docs] Minor copyediting of highlighting.md
Also add `apt-get` command for installing Pygments.
2015-02-17 01:59:40 -07:00
karland
751fd6b060 Add information to highlighting with Pygments 2015-02-17 01:49:44 -07:00
karland
137f5f9db6 List of variables
Some variables are currently not documented and others are explained
across the document. So, I tried to pull an overview from the source.
Pls double check. I am not 100% sure, what the purpose of some variables
is or whether they are only relevant for previous versions. Thanks
2015-02-17 01:28:20 -07:00
Maxime Michel
b51cd94805 Fixed a typo 2015-02-17 01:16:41 -07:00
Anthony Fok
966fcd6e10 [Docs] Add pointers to roadmap; new tweet and article 2015-02-16 09:02:56 -07:00
Ivan Fraixedes
c7c8157852 Another link in the same page 2015-02-14 18:35:37 -05:00
Ivan Fraixedes
10bddcd470 Fixed invalid link to partials 2015-02-14 18:35:37 -05:00
Joseph Kaptur
b102d92c81 Update docs so that figure includes the class parameter. 2015-02-14 18:35:00 -05:00
bep
e0b8e6cca2 Remove nohup.out committed by accident 2015-02-12 14:32:04 +01:00
bep
cb65060a17 Doc Data Files: Add section about themes and expanded the example a bit 2015-02-12 09:09:35 +01:00
Anthony Fok
7dca679def Change "ctrl+c" to "Ctrl+C" 2015-02-11 01:11:50 -07:00
midinastasurazz
e287bb1560 Fix typo: GetJson -> GetCsv 2015-02-11 00:57:17 -07:00
Greg Restall
d8d1379988 Add showcase entry for consequently.org
Consequently.org is a personal site for an academic, with a blog, list
of publications, classes and talks, all managed by hugo.
2015-02-11 00:31:44 -07:00
spf13
132a63db59 Update release notes for v0.13 2015-02-10 10:58:20 -05:00
bep
fe5820bbe6 Fix alias for data files doc 2015-02-09 16:58:12 +01:00
bep
c3f228987b Add docs for Data Files
Fixes #887
2015-02-09 16:52:52 +01:00
Anthony Fok
cc26557401 [Docs] Say which directory to clone the hugoThemes
On http://gohugo.io/overview/quickstart/, explicitly state
that hugoThemes is to be cloned from within the working directory,
like it is stated on http://gohugo.io/themes/installing/.

Fixes #886
2015-02-08 19:52:27 -07:00
bep
5b6c393e66 Scratch doc: Use the special $ variable to prevent confusion 2015-02-01 20:36:43 +01:00
bep
0f1c151268 Add doc for Scratch 2015-01-31 22:01:30 +01:00
Anthony Fok
7e320f6ee3 [Docs] Fix more missing . in example partial calls 2015-01-31 07:27:42 -07:00
Dan Hatch
401da5089a Fixed syntax error in 404.html template code 2015-01-31 01:01:50 -07:00
Anthony Fok
2cb3279660 [Docs] Complete the transition from "indexes" to "taxonomies" (almost)
Also mention `.Site.Indexes` → `.Site.Taxonomies` as well as
the upcoming `.Site.Recent` → `.Site.Pages` transitions.
2015-01-29 12:48:14 -07:00
Anthony Fok
5def25889b [Docs] Copyediting
* Add meta author, description and generator tags
 * Add Hugo version beside the logo and in the footer
 * Suggest the user to run `go get -u -v` to update dependencies
 * Requires Go 1.3+ rather than Go 1.1+
 * Improve rendering/formatting in some places
 * Add trailing slash to URLs where appropriate
 * GitHub redirects all http requests to https, update accordingly
2015-01-28 18:02:40 -07:00
Anthony Fok
0362171c8a [Docs] Use OptiPNG to shrink PNG images losslessly
So they load slightly faster.  :-)
2015-01-28 13:25:07 -07:00
Anthony Fok
2f1fbab53a Some housekeeping of the Showcase and Press pages 2015-01-28 13:25:07 -07:00
Dan Hersam
638aca8b72 Added three videos to documentation.
Created shortcode for YouTube videos and made the videos responsive in the
stylesheet.
2015-01-27 23:44:46 +01:00
bep
c554fb771b [doc] Improve paginator doc 2015-01-27 21:56:45 +01:00
bep
8bdb74cece Linkify release notes 2015-01-26 20:42:08 +01:00
bep
d59da4337f Set detault for Paginate to 10
10 is a better default than 0, since no paginator pages will be created unles referenced by a `.Paginator`.

See #750
2015-01-26 15:26:19 +01:00
bep
8c62041bfe Add documentation for pagination
See #750
2015-01-26 14:56:26 +01:00
bep
2cf99dd094 Add pagination to release notes 2015-01-26 13:06:32 +01:00
Naoya Inada
92dcacba1e Add site-wide/per-page [blackfriday] extensions option 2015-01-26 09:55:37 +01:00
Wade Wegner
d4a58c8577 Wrong URL for Github Pages 2015-01-25 23:00:16 -07:00
Kartik Singhal
693da013bb Correct wercker URL 2015-01-25 09:44:28 -07:00
Naoya Inada
dda9f7ff3c Fix inverse notation 2015-01-25 00:13:10 -07:00
Anthony Fok
40b2ca6027 Add site-wide/per-page [blackfriday] fractions option
Make Blackfriday's `HTML_SMARTYPANTS_FRACTIONS` option
user-configurable.  Defaults to `true` as before.  See
discussions at:

http://discuss.gohugo.io/t/any-way-to-disable-smart-fractions/328

Thanks to @bjornerik and @spf13 for laying the groundwork
making it easy to expose Blackfriday's underlying configurable
options.
2015-01-24 20:57:40 +01:00
Anthony Fok
e7996ac145 [Docs]: Add new press/blog coverage about Hugo 2015-01-23 11:46:39 -07:00
bep
7a3abf43e7 Fix RelPermalink() and Urls in menus vs canonifyUrls
canonifyUrls=true, RelPermalink and baseUrl with sub-path did not work.

This fixes that by adding a check for canonifyUrl=trues=true in RelPermalink().

So given

- baseUrl "http://somehost.com/sub/"
- the path "some-path/file.html"

For canonifyUrls=false RelPermalink() returns "/sub/some-path/file.html"
For canonifyUrls=true RelPermalink() returns "/some-path/file.html"

In the last case, the Url will be made absolute and clickable in a later step.

This commit also makes the menu urls defined in site config releative. To make them work with canonifying of urls, the context root is prepended if canonifying is turned off.

Fixes #519
Fixes #711
2015-01-23 14:13:00 +01:00
Anthony Fok
e5674bdc81 [Docs] Document the new (temp?) default of canonifyurls = false
Also add a **Caveat** on http://gohugo.io/tutorials/github-pages-blog/
warning the reader that a `canonifyurls = true` must be added
for Spencer's old example files to work.

Fixes #802
2015-01-22 18:04:07 -07:00
bep
6e0dd1fa88 Add dateFormat to release notes 2015-01-22 01:19:02 +01:00
Tatsushi Demachi
6d6ced4a09 Add dateFormat template function
This is the implementation of the proposal at #235 and
http://discuss.gohugo.io/t/parsing-dates-in-templates/603/3
2015-01-22 00:08:30 +01:00
Peter Krautzberger
ea7b8c0cef fix outdated MathJax CDN URL
The rackspace address has been retired, see http://www.mathjax.org/changes-to-the-mathjax-cdn/
2015-01-21 03:16:04 -07:00
Anthony Fok
ba4eed2844 [Docs] Use of $. to access global context from anywhere
See #804, http://discuss.gohugo.io/t/templates-multiple-parameters/600/3
and http://stackoverflow.com/questions/16734503/access-out-of-loop-value-inside-golang-templates-loop
for related discussions.
2015-01-21 00:35:12 -07:00
Anthony Fok
35f4e6ab19 [Docs] Recommend the use of backticks for IE conditionals
Special thanks to @tatsushid and @bjornerik for the insight!

Fixes #778.
2015-01-20 23:45:26 -07:00
Anthony Fok
43edab75e8 [Docs] Correct description of "Read More" links in Summaries
Also revise some paragraphs for succinctness.

Fixes #788
2015-01-20 15:45:57 -07:00
Nikolay Kirsh
58411318b7 fix --uglyUrls params 2015-01-20 13:51:15 -07:00
Anthony Fok
f0c251de5e [Docs] Add a note about the plan to switch to Apache License 2015-01-20 07:49:50 -07:00
Anthony Fok
68fb0071f1 [Docs] Incorporate some great ideas by @mohae into the safeUrl docs
E.g. how `#ZgotomlZ` is used to "defang" the URL
2015-01-20 00:24:47 -07:00