bep
be3a3506c4
Allow forward slashes in Hugo new on Windows
...
Fixes #1133
2015-05-12 18:12:58 +02:00
bep
f70c67cdf3
docs: Use ToC length to pick the compact version
2015-05-11 22:23:35 +02:00
bep
be72f234f8
docs: Use ToC length to pick the compact version
2015-05-11 22:23:35 +02:00
bep
2238ebd56b
Add doc for absURL and relURL
...
Also group URL related functions in doc.
2015-05-11 19:09:04 +02:00
bep
be82355570
Add doc for absURL and relURL
...
Also group URL related functions in doc.
2015-05-11 19:09:04 +02:00
bep
68dd83a920
Add ToC to long pages
...
* A compact, fixed box in the right screen
* Only for big screens, > 1200 px wide
2015-05-11 18:39:42 +02:00
bep
be4f48652d
Add ToC to long pages
...
* A compact, fixed box in the right screen
* Only for big screens, > 1200 px wide
2015-05-11 18:39:42 +02:00
bep
199a60920c
Add absURL and relURL to release notes
2015-05-11 18:06:38 +02:00
bep
be16e5ffb9
Add absURL and relURL to release notes
2015-05-11 18:06:38 +02:00
bep
bec839e652
Add relURL template func
...
Fixes #1126
2015-05-11 13:59:02 +02:00
bep
be0cbeee7f
Add absURL template func
...
Fixes #1106
2015-05-11 12:28:35 +02:00
bep
bec90e0850
Make page 1 alias ugly
...
When `uglyurls = true`
Fixes #1121
2015-05-10 18:28:44 +02:00
bep
4e93ad37f8
Add docs for Section Menu for “the Lazy Blogger”
2015-05-10 16:18:19 +02:00
bep
be0c1bfe13
Add docs for Section Menu for “the Lazy Blogger”
2015-05-10 16:18:19 +02:00
bep
c09e94abfa
Add list of deprecated names to release notes
2015-05-10 15:41:13 +02:00
bep
be7e746f2b
Add list of deprecated names to release notes
2015-05-10 15:41:13 +02:00
bep
af88f3eb9c
Add issue to release notes
2015-05-10 15:26:03 +02:00
bep
beb1735d04
Add issue to release notes
2015-05-10 15:26:03 +02:00
bep
0e00ca6a6e
Fix paginator with uglyurls
...
Fixes #1120
2015-05-10 15:23:36 +02:00
bep
bef496b97e
Fix .Truncated in manual summaries
...
Fixes #1119
2015-05-10 13:34:02 +02:00
bep
a70b820b80
Some notes on 0.14 rel notes
2015-05-09 22:03:51 +02:00
bep
be52eff699
Some notes on 0.14 rel notes
2015-05-09 22:03:51 +02:00
bep
be325a3088
Fix IsMenuCurrent for SectionPagesMenu
...
Pretty sure it has worked at some point, but that PR probably has been rebased to pieces.
This refactors the fix by @dannys42 into a method, as this URL fix is applied several places.
Fixes #1114
2015-05-09 20:53:58 +02:00
bep
bef0f281d1
Make sure that complete server URL is logged on startup
...
Fixes #1113
2015-05-09 08:03:06 +02:00
Bill Traynor
d32368f395
Added in set PATH and new site output.
...
I added in the instructions for how to add the hugo.exe to the PATH variable. And I added in example output post new site command.
[close #1058 ]
2015-05-08 22:36:42 -04:00
Bill Traynor
feba35cd1f
Added in set PATH and new site output.
...
I added in the instructions for how to add the hugo.exe to the PATH variable. And I added in example output post new site command.
[close #1058 ]
2015-05-08 22:36:42 -04:00
bep
a52e508d46
Update test logs for uniformity and consistency
...
Many minor fixes to make test logs more consistent and correct a
mispelling.
Standardize on "[%i] got X but expected Y" for log messages. Using
a consistent layout makes it easier to read the test results. This
was mostly changing "Got" to "got". Swapped the order of values on
several calls to bring them in line with the convention.
A few log messages had a sequence number added to identify the
exact scenario that failed. Otherwise, there would be no way to
ascertain which failed When there are many scenarios.
Correct spelling of "expected."
Fixes #1028
Merged be2097e1ad
[close #1040 ]
2015-05-08 22:27:00 -04:00
Danny Sung
2b91b480d0
IsMenuCurrent now resolving correctly when baseUrl is not at the root path
2015-05-08 22:22:50 -04:00
Joel Scoble
b4871787f0
add undraft command
2015-05-08 22:18:51 -04:00
Anthony Fok
563a6302a0
Very experimental support for mmark
...
Either name the content files as `*.mmark`,
or add `markup = "mmark"` in the front matter
of your `*.md` content files.
2015-05-08 22:05:41 -04:00
bep
d4acacd4f5
Section menu for the lazy blogger
...
The current menu system works great, but is too much work if all you want is a simple menu with the sections as menu items, and having these menu items connected to the pages in a way that enables setting the correct menu item as active for both the section lists and the pages itself.
This commit adds a new option `SectionPagesMenu' which, if set, will create a new menu with that name with all the sections as menu items. The pages in the sections will behave as "shadow members" of these section items as `blogpage.HasMenuCurrent "sectionmenu" $sectionmenuitem` will return true.
If a menu item with the same `identifier` is defined in site config, *that* item will take precedence.
2015-05-08 21:28:19 -04:00
bep
beb4ab162d
Make RSS output test more realistic
...
By setting a non-default RSS uri config value.
2015-05-08 20:33:37 +02:00
Dana H. P'Simer
fd08e16ec8
Add RSSUri to specify the name of the RSS file
2015-05-07 22:20:00 +02:00
bep
53a3e4c190
Add bind to release notes
2015-05-07 22:08:17 +02:00
bep
beccdc04f3
Add bind to release notes
2015-05-07 22:08:17 +02:00
Liam Bowen
2bfa9fb72b
Make server bind interface configurable.
...
Bind by default to 127.0.0.1. Previously it always bound to all interfaces.
Always have log message display that the server is available on the
interface to which it is bound, instead of the baseUrl.
Fixes #1097
2015-05-07 22:04:40 +02:00
Egon Elbre
24d8ac1fc6
Fix multilingual styling with small screen.
2015-05-07 21:16:38 +02:00
Egon Elbre
9cd8673f3e
Added missing files, make the site look better.
2015-05-07 21:16:38 +02:00
Egon Elbre
9123ac559e
Fix multilingual site layouts/templates.
2015-05-07 21:16:38 +02:00
Yosuke INOUE
98b13dfe02
Add blackfriday/ExtensionsMask option.
2015-05-07 21:12:28 +02:00
Yosuke INOUE
3596b1b810
Add blackfriday/ExtensionsMask option.
2015-05-07 21:12:28 +02:00
Andrew Gallant
ee5a1bbf44
Allow 'classprefix' pygments options.
2015-05-07 03:45:51 +02:00
bep
bec2c1e37a
Add shortcode support for HTML files
...
Fixes #674
2015-05-06 19:11:42 +02:00
bep
bea9280fb3
Do not add trailing slash to baseURL
...
Fixes #1105
2015-05-05 16:02:44 +02:00
bep
bef3df7481
Polish absurlreplacer
2015-05-04 12:51:52 +02:00
bep
be918d7145
Rename field i to the more descriptive idx
2015-05-04 00:06:00 +02:00
bep
be57b1fe10
absurlreplacer: remove superfluous code, take 2
...
```
benchmark old ns/op new ns/op delta
BenchmarkAbsURL 17946 17454 -2.74%
BenchmarkAbsURLSrcset 19236 18979 -1.34%
BenchmarkXMLAbsURLSrcset 19046 18688 -1.88%
BenchmarkXMLAbsURL 9561 9432 -1.35%
benchmark old allocs new allocs delta
BenchmarkAbsURL 24 24 +0.00%
BenchmarkAbsURLSrcset 29 29 +0.00%
BenchmarkXMLAbsURLSrcset 27 27 +0.00%
BenchmarkXMLAbsURL 12 12 +0.00%
benchmark old bytes new bytes delta
BenchmarkAbsURL 3139 3139 +0.00%
BenchmarkAbsURLSrcset 2374 2369 -0.21%
BenchmarkXMLAbsURLSrcset 2574 2572 -0.08%
BenchmarkXMLAbsURL 1871 1871 +0.00%
```
See #1059
2015-05-03 23:04:37 +02:00
bep
be4ca21746
absurlreplacer: remove superfluous code
...
```
benchmark old ns/op new ns/op delta
BenchmarkAbsURL 18381 17946 -2.37%
BenchmarkAbsURLSrcset 19531 19236 -1.51%
BenchmarkXMLAbsURLSrcset 19316 19046 -1.40%
BenchmarkXMLAbsURL 9818 9561 -2.62%
benchmark old allocs new allocs delta
BenchmarkAbsURL 24 24 +0.00%
BenchmarkAbsURLSrcset 29 29 +0.00%
BenchmarkXMLAbsURLSrcset 27 27 +0.00%
BenchmarkXMLAbsURL 12 12 +0.00%
benchmark old bytes new bytes delta
BenchmarkAbsURL 3139 3139 +0.00%
BenchmarkAbsURLSrcset 2354 2374 +0.85%
BenchmarkXMLAbsURLSrcset 2584 2574 -0.39%
BenchmarkXMLAbsURL 1864 1871 +0.38%
```
See #1059
2015-05-03 22:43:04 +02:00
bep
be96aacb11
Add benchmark tests for srcset handling
...
See #1059
2015-05-03 20:57:39 +02:00
bep
beb601c7ff
Fix testdata: srcset items should be comma separated, according to spec
...
See #1059
2015-05-03 20:09:42 +02:00