spf13
5dfc1dedb8
Big refactor of how source files are used. Also added default destination extension option.
2014-10-16 20:20:09 -04:00
Jian Zhou
d064139cee
Fix spf13/hugo#467 . RSSLink now point to index.xml
2014-10-15 12:36:06 -04:00
bep
df489b4712
Enable soft livereload of CSS and images
...
Prior to this commit a dummy JavaScript filename was sent to LiveReload when changing a static file (CSS, image etc.), forcing a full browser reload of the page.
This commit fixes this by sending the relative file path of the changed static resource, enabling partial live reloading for CSS- and image-changes. If more than one static file happens to end up in the same changeevent-batch, it will fall back to do a full refresh. To enable this logic, the change events with names ending with ".goutputstream*" is now filtered out as temporary.
Changes in dynamic content behaves like before.
Issue #490
2014-09-11 16:58:06 -04:00
Jakub Turski
1684579127
Go back to lowercase slugs. Also, use MakePathToLower in TestMakeToLower.
...
go fmt
2014-09-08 11:42:36 -04:00
spf13
30af267b32
Fix #302 . Links now have trailing slashes.
2014-08-25 12:45:47 -04:00
Nate Finch
a31edb3388
Support subdir in baseurl.
...
Mainly this was a change to helpers.MakePermalink, but to get the local server to run correctly,
we needed to redirect the path of the request from /foo to /. In addition, I added tests for the
server's code for fixing up the base url with different config file & CLI options.
2014-08-25 11:51:51 -04:00
Joel Scoble
4c735a7878
preserve alias case while lowercasing taxonomy
2014-08-25 10:16:59 -04:00
spf13
6b8244ba67
new site works in an empty directory now
2014-05-19 09:16:40 -04:00
spf13
296d218e67
Better handling of when the specified port is already in use
2014-05-15 17:41:03 -04:00
LK4D4
2194cc77de
Add pygmentsstyle and pygmentsuseclasses options
...
Fixes #204
Conflicts:
commands/hugo.go
2014-05-09 23:20:11 -04:00
spf13
bff1f1e689
Adding some new methods to helpers (GuessSection, MakeTitle & Filename)
2014-05-02 01:04:14 -04:00
spf13
58f8b43fee
moving writeToDisk to helpers to make it more accessible
2014-05-01 13:13:11 -04:00
LordFPL
b52e946381
Little syntax mistake
2014-04-26 23:03:20 -06:00
spf13
ad34be9d77
strip trailing baseurl slash. Added a new template function "sanitizeurl" which ensures no double slashes. Fixed #221
2014-04-07 22:02:08 -04:00
spf13
62dd1d45c1
Hugo config abstracted into a general purpose config library called "Viper".
...
Hugo casting now in own library called "cast"
2014-04-05 01:40:33 -04:00
spf13
e50b9d8ac1
Adding support for logging & verbose logging. Consolidation of error handling. Integration of jWalterWeatherman library. Fixed #137
2014-03-31 13:23:34 -04:00
Mike Keesey
2540d884d8
Fixing issues go vet reports.
2014-03-01 09:56:17 -05:00
spf13
14227351fa
Reorganization of helpers. Centralized Url/Path logic. Fixed #175 .
2014-02-27 20:33:18 -05:00
Anton Ageev
11ca84f8cb
Add unicode support for aliases, indexes, urlize template filter.
...
Now aliases and indexes are not restricted ASCII letters and can include
any unicode letters.
2014-02-05 11:49:57 -05:00
Tibor Vass
6dd2e9a49a
gofmt all go code
2014-01-29 18:03:35 -05:00
spf13
01da9a40e6
Report error, but don’t fatally stop if pygments has error. Return original string. (+1 squashed commit)
...
Squashed commits:
[849a7af] if highlighting doesn’t work, just return original string
2014-01-10 21:28:48 -05:00
spf13
fa29e94edb
Adding Pygments helper
2013-12-05 09:42:29 -05:00
spf13
44d57fdc0c
Reorganize helpers
2013-12-05 09:29:41 -05:00