spf13
26e44506e9
adding memstat option to server
2014-09-22 09:45:05 -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
Kevin Burke
657e4a46e8
it's/its
2014-07-26 23:43:21 -07:00
spf13
7a8b754cad
Fixed #301 . LiveReload works on any port now.
2014-05-28 19:01:24 -04:00
spf13
be1ee22032
Proper integration of live reload with automatic injection
2014-05-16 17:49:27 -04:00
spf13
60ed5bda2b
Live reloading is working! Still need to incorporate cleanly.
2014-05-16 11:48:59 -04:00
spf13
296d218e67
Better handling of when the specified port is already in use
2014-05-15 17:41:03 -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
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
Tibor Vass
6dd2e9a49a
gofmt all go code
2014-01-29 18:03:35 -05:00
Vincent Batoufflet
ff9f6e1b2a
Fix panic with HTTP serve initialization problems.
2014-01-28 23:44:43 -05:00
Krisztián Szabó
5550c4148e
Added append-port flag
2013-12-28 22:01:36 -05:00
William King
e5aa08ff0c
If baseurl is set then print that on the command line, else leave as default of localhost
...
Conflicts:
commands/server.go
2013-12-28 14:02:10 -05:00
Matt Way
1abc2f0b86
properly use non-localhost BaseUrl in server command
2013-12-16 17:39:59 -05:00
spf13
b580a25d1f
Better error handling when rendering error found when in watch mode
...
In watch mode it should continue to watch for changes, in any other mode it should exit with a -1 error code so can check for success when scripting
2013-10-25 18:03:14 -04:00
spf13
0318f7c149
Clean up server & build site logic. Fixed #94
2013-10-09 18:53:46 -04:00
spf13
e6ace71fec
server command now builds prior to serving
2013-10-09 18:24:40 -04:00
spf13
be7ba0e98f
server defaults to localhost unless overridden by command line flags
2013-10-04 16:03:13 -04:00
spf13
18f2b82658
Switching to the rjson library which is more friendly to human generated json.
2013-10-01 22:45:24 -04:00
spf13
3ae8dda203
Restoring build and watch functionality
2013-09-30 22:38:32 -04:00
spf13
94d7fe52f8
Change the interface to use commands and flags instead of just flags.
...
Better organization of main (controller style) code.
2013-09-29 02:10:29 -04:00