Commit graph

56 commits

Author SHA1 Message Date
spf13
4d333e81ee New Homepage for Hugo 2013-10-17 22:52:28 -04:00
Noah Campbell
895638433e Adding back the hugo homepage.
Deleted the page accidentially
2013-10-08 18:44:15 +02:00
Noah Campbell
9500ec1b6b Refactor layout selection code
The render code path would use a fallback if there was an exception.
This change instead relies on explicit declaration of the layout to use
and includes a check to see if the layout indeed exists before
attempting to render it.
2013-10-08 18:44:15 +02:00
Noah Campbell
197aacb647 Add support for Relative Permalinks 2013-10-08 18:42:03 +02:00
spf13
8efb90ebd5 Updating usage documentation to new interface 2013-09-30 22:39:06 -04:00
Kyle Mahan
aa9b9d596e minor documentation cleanup.
- changed it's -> its where appropriate.
- added post/ parent directory above happy/ to the organization examples

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
2013-09-29 19:50:25 -07:00
Noah Campbell
c75da346e1 Fix alias documentation.
Fixes #79
2013-09-13 16:06:39 -07:00
Noah Campbell
d4d9da9f3a Remove page module dependence on opening files
The site is responsible for reading files, page only operates on
buffers.
2013-09-04 19:36:06 -07:00
Daniel Alan Miller
71678a7183 Adding .Summary to page variables
Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
2013-08-29 10:08:03 -07:00
Ross Lawley
7b1f0960e3 Add 404.html for gh-pages
Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
2013-08-23 16:38:35 -07:00
Steve Francia
35b35a7004 Merge pull request #51 from cabello/patch-3
Remove extra quotes from meta data
2013-08-20 20:54:51 -07:00
Steve Francia
6f424175bf Merge pull request #50 from cabello/patch-2
Check .Prev and .Next pointers before using it
2013-08-20 20:54:31 -07:00
Danilo Cabello
8415c5e6c7 Remove extra quotes from meta data 2013-08-20 13:52:51 -04:00
Danilo Cabello
acd5ea0e75 Check .Prev and .Next pointers before using it 2013-08-20 12:13:27 -04:00
Danilo Cabello
8058abd707 Fix broken link to Index page 2013-08-20 11:56:55 -04:00
spf13
0a79edd48a Removing extra links on homepage 2013-08-17 21:54:39 -04:00
spf13
3ae8078d3a Adding "fork me on github" banner 2013-08-17 21:54:39 -04:00
spf13
8c0ab4def1 Complete overhaul of the docs 2013-08-17 21:54:39 -04:00
VonC
9308cd6a7a Clarify uglyurls flag.
Mention more clearly that, for generating `/filename.html`, you need to
set the `uglyurls` flag to `true`.
2013-08-14 16:47:17 +02:00
spf13
0233708907 Started new release notes, added nitro step for aliases 2013-08-10 15:44:22 +01:00
spf13
d5518c0966 Adding support for aliases (redirects) 2013-08-10 15:35:34 +01:00
Ross Lawley
e2a28114d1 Add redirect to page parameters and redirects example 2013-08-09 21:57:22 +01:00
Steve Francia
4f17ad69a7 Merge pull request #22 from nsabine/master
Added examples to indexes.md
2013-08-09 02:16:10 -07:00
Nick Sabine
a8b3e1537f Added examples to indexes.md 2013-08-09 00:10:35 -04:00
Duncan Beevers
04a0dbbf73 Added .Content variable to docs 2013-08-08 16:13:03 -07:00
Steve Francia
42de9bd8bb Merge pull request #15 from hhatto/update-doc
update document for content directory
2013-08-06 08:05:18 -07:00
spf13
0e57fcc9c2 Merge branch 'master' of github.com:spf13/hugo 2013-08-06 01:10:10 +02:00
spf13
783f0d6154 fixing badlink on homepage 2013-08-06 01:06:59 +02:00
Hideo Hattori
78afe8d344 update document for content directory 2013-08-06 03:14:40 +09:00
Gergely Imreh
f31ec3c280 Fix example in docs that wouldn't work in practice
The pflag package used in hugo has to use the "=" sign
for double dash options such as --source. Thus the original
example `--source ~/mysite` is already incorrect. Adding
the = sign though woul not fix things in this case, since
`--source=~/mysite` does not get resolved to /home/username/mysite,
but looks for the ./~/mysite directory within the current directory.

To resolve this, either the directory name has to be changed in
the docs not to use the "~" sign, or have to change to use the
single dash version of the command line flag. The latter seems
to be more in line with the rest of the example.

Leaving `--watch` as a double dash option to minimize the change,
though it could be either way, since the follow up example uses
the single dash version of both.
2013-08-05 21:45:01 +08:00
spf13
de9f9ae16e Fixing getting started link. 2013-08-05 11:12:39 +02:00
spf13
f6e590e536 Fixing link to contributor page on github 2013-08-03 03:33:39 -04:00
spf13
6efbd93a38 Updating a bunch of the docs 2013-08-03 03:30:34 -04:00
spf13
def5f10183 Including documentation on indexes 2013-08-03 03:29:49 -04:00
spf13
21a7b72535 Moved static content to /static 2013-08-03 03:10:14 -04:00
Sebastian Müller
4efdb90943 Fix JSON syntax error in example configuration 2013-08-01 20:52:00 +02:00
spf13
16b1f284ca Improving installation instructions 2013-07-24 11:43:23 -04:00
spf13
627cf26571 Adding proper command line option parsing 2013-07-19 00:38:24 -07:00
spf13
8fae5f0dd6 Default is now pretty urls (without .html)
Adding --uglyurls option to retain previous behavior
2013-07-19 00:10:42 -07:00
spf13
dcd8ff716a Adding better source build instructions 2013-07-18 22:30:55 -07:00
spf13
f199004989 GO -> Go 2013-07-15 17:44:51 -07:00
spf13
8d50dd9160 fixing typo in config readme 2013-07-11 23:29:14 -04:00
spf13
75a2e6d4e8 Now support for config files as yaml, json or toml 2013-07-11 22:04:57 -04:00
tycho garen
4951ff998c rst: fixing rst output processing 2013-07-09 08:16:29 -04:00
spf13
d2a6267ad7 Adding support for TOML, updating documentation 2013-07-08 22:23:54 -04:00
spf13
3c80cd323c YAML support similar to jekyll (start and end with '---') 2013-07-08 17:57:01 -04:00
tycho garen
d0ff31269a minor: correcting example 2013-07-07 11:59:19 -04:00
tycho garen
f851c4162b fix: changing terminal yaml line, generalizing forematter splitting 2013-07-07 10:01:53 -04:00
tycho garen
b024454ea9 fixes: returning json parsing, error messages, yaml header offsets 2013-07-07 01:03:12 -04:00
tycho garen
6c42d3d490 fix: parsing of yaml forematter 2013-07-06 23:37:47 -04:00