spf13
b520f8852d
Switching docs highlighting to highlight.js .. Docs build super fast again!
2014-05-15 09:58:55 -04:00
spf13
b198cb26ba
Renaming indexes to taxonomies in docs
2014-05-15 09:57:36 -04:00
spf13
a4a1e39a51
Fixing issue when two menu items have the same name.
2014-05-14 18:08:11 -04:00
spf13
4f75ec985d
Homepage renders with _default/list.html or then _default/single.html when index.html is not present.
2014-05-13 17:07:50 -04:00
Dato Simó
025a37df2f
Fix permalink functionality, which was broken in 62dd1d4
.
...
Viper stores Permalinks as a map[string]interface{}, so the type assertion
to PermalinkOverrides (map[string]PathPattern) will always fail.
We can, however, get Permalinks as a map[string]string, and convert each
value to a PathPattern.
2014-05-12 15:47:52 -04:00
Dato Simó
05b76dcb6f
Add a blank line after the front matter when writing back a page.
...
Could also be done in parser.InterfaceToFrontMatter(), but logically the
extra blank line belongs to the page, not the front matter itself.
2014-05-12 15:46:58 -04:00
Vincent Batoufflet
73cbefdbc8
Make template comparison functions handle floats
2014-05-10 15:38:18 -04:00
Vincent Batoufflet
667a047cea
Fix date issue with home page in Sitemap
2014-05-10 15:33:18 -04:00
Dato Simó
0053be979a
Correctly print server URL when base-url is specified in the command line
...
When running hugo server like:
$ hugo server -s docs -b myhostname
the printed output now directs to http://myhostname:1313 instead of
(invariably) http://localhost:1313 .
As per server(), BaseUrl is never empty, and the required value is always
found in Viper.
2014-05-09 23:27:21 -04:00
LK4D4
2194cc77de
Add pygmentsstyle and pygmentsuseclasses options
...
Fixes #204
Conflicts:
commands/hugo.go
2014-05-09 23:20:11 -04:00
Vincent Batoufflet
5df0cf7eca
Add Sitemap documentation content
2014-05-09 23:11:48 -04:00
Vincent Batoufflet
35926dcf37
Add Sitemap testing
2014-05-09 23:11:42 -04:00
Vincent Batoufflet
6049c3a10c
Update Sitemap default value syntax
2014-05-09 23:11:37 -04:00
Vincent Batoufflet
2a902bbca6
Add Sitemaps config values handling
2014-05-09 23:11:33 -04:00
Vincent Batoufflet
f8e675d064
Add base Sitemap support
2014-05-09 23:11:27 -04:00
Vincent Batoufflet
179225449c
Add template comparison functions (Go 1.1 compat)
2014-05-09 22:42:28 -04:00
Marc Liyanage
4e0208d448
Doc fix: replace "hugolibs" with "hugo" in "contributing" page, fixes #271 .
2014-05-09 11:36:16 -04:00
Nathan LeClaire
c38d694f56
Change some typography in the docs.
...
Two issues are addressed with this commit:
1. Some <pre> tags were inheriting the "Serif" font on Linux, causing
"code"-ish stuff to appear with proportional-width font instead of
monospaced-width font.
2. Font stack with "Helvetica Neue" ... has been changed to default to
sans-serif instead of "Serif", this produces a more consistent and
friendlier look on Windows in particular.
2014-05-09 11:33:22 -04:00
spf13
ec4b152678
Fixing broken link. Fixed #278 .
2014-05-09 11:32:06 -04:00
spf13
9b192e6793
Adding more information about client side highlighting
2014-05-09 00:03:42 -04:00
Dave Cottlehuber
bc9f69e7c5
Add client-side syntax highlighting example
2014-05-08 23:45:33 -04:00
spf13
6b9d4a93da
Adding new commands (new site [path], new theme [name])
2014-05-08 18:30:58 -04:00
spf13
be3e5592dc
Adding an archetype file for the docs site
2014-05-02 01:06:40 -04:00
spf13
28ffb92b36
Adding the new command and the create package
2014-05-02 01:06:01 -04:00
spf13
08c30b6e44
Using new helpers in page.go
2014-05-02 01:04:48 -04:00
spf13
bff1f1e689
Adding some new methods to helpers (GuessSection, MakeTitle & Filename)
2014-05-02 01:04:14 -04:00
spf13
ef2ad4d91f
More feedback where errors happen during metadata conversion
2014-05-02 01:02:49 -04:00
spf13
6d9a2d2497
adding a front matter format to lead rune method
2014-05-02 01:01:44 -04:00
spf13
fb7d45e613
permitting empty files again. Fixing some tests to now pass.
2014-05-01 14:11:56 -04:00
spf13
3395e1cb92
Adding a command that enables converting site to a different metadata format.
...
Doing this revealed some bugs in the encoding functionality in some of the underlying libraries.
Please backup before using.
2014-05-01 13:23:32 -04:00
spf13
859a78e1bd
Providing the ability to save (write) a content's source file.
2014-05-01 13:21:37 -04:00
spf13
1302ef9f63
Making site page initialization a bit more granular and accessible
2014-05-01 13:20:58 -04:00
spf13
cbd9506c29
moving front matter parsing (and creation) to parse package
2014-05-01 13:20:09 -04:00
spf13
58f8b43fee
moving writeToDisk to helpers to make it more accessible
2014-05-01 13:13:11 -04:00
Christoph Burgdorf
f271faea06
Don't process dotfiles
...
This commit makes it so that not only files
but also folders which start with a dot
are ignored.
Fixes #239
2014-04-26 23:17:54 -06:00
Ciaran Downey
5581e33a34
Update broken localhost link
2014-04-26 23:08:39 -06:00
William McGann
96b6ae81eb
Adding example blog
2014-04-26 23:05:41 -06:00
LordFPL
b52e946381
Little syntax mistake
2014-04-26 23:03:20 -06:00
tummychow
2e954d8551
Fix permalinks to subdomains
...
If you don't have access to the root domain of your site (eg a GitHub project
page) and you try to generate custom permalinks, they must begin with a slash.
Go's URL resolution library sees the leading slash and thinks "this URL starts
at the root", just like a filesystem - so it discards your subdomain and maps
all custom permalinks from the root of your site. Fine if you control the root
domain, not so useful if you don't.
Removing the check for a leading slash fixes this problem. You can now specify
custom permalinks that do not start with a slash, and they will map safely
regardless of what subdomain you upload the generated site under.
Tests have been updated for this commit so that they continue to function.
2014-04-26 23:01:28 -06:00
spf13
bdf7cd9f9d
Creating site menu configuration and have the docs site use it
2014-04-24 16:11:08 -06:00
spf13
ac82fe32af
Making active parent in nav reflect when child is active page in docs
2014-04-24 10:34:50 -06:00
spf13
ef87dffb2f
Fix accidentally removed line from menu template.
2014-04-24 10:28:11 -06:00
spf13
4f813c09ea
Fixing some bugs introduced in prior few commits. Tests now pass.
2014-04-24 10:18:47 -06:00
spf13
11fe227b9e
Implementing new menu system in the docs site
2014-04-23 03:00:11 -04:00
spf13
9ecf58e29b
new menus system including active link & nesting
2014-04-23 02:59:19 -04:00
spf13
69c1944f1f
Add handling of deeply nested front matter
2014-04-23 02:55:43 -04:00
spf13
4a8de8ea46
Add Disqus support out of the box. Move template/bundle into hugolib.
2014-04-23 02:53:12 -04:00
spf13
41adafbc3e
Updated to work with the latest viper
2014-04-10 14:24:18 -04:00
spf13
8afff8c7c4
Preliminary Theme Support
2014-04-10 08:10:12 -04:00
spf13
c0a046cbfb
Added internal rss.xml template and config option to turn off rss creation
2014-04-09 17:45:34 -04:00