Commit graph

63 commits

Author SHA1 Message Date
spf13
bc7c9221f3 Better mobile support on docs site 2013-10-26 02:28:25 -04:00
spf13
90355eec79 Big visual overhaul of the docs. Docs now using indexes for all menu generation. 2013-10-26 02:18:14 -04:00
spf13
5003f7f7af Docs menu now powered by indexes.. converting some of the content to use this. 2013-10-25 18:42:46 -04:00
spf13
9388f23606 Adding support for linkTitles 2013-10-25 18:37:53 -04:00
spf13
764abd2067 Update homepage 2013-10-24 16:49:17 -07:00
spf13
dde965a5cd Migrate docs to Bootstrap 3.0 2013-10-24 16:49:01 -07:00
spf13
678ddef46a Adding a quick start guide to hugo docs 2013-10-17 22:53:04 -04:00
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