Ashutosh Gangwar
71aa797b27
docs: Fix broken link to Content Types
2016-12-16 11:10:14 +01:00
Brian Shumate
6fd4bfcae3
docs: Update layouts path name
2016-12-16 01:09:51 +01:00
Bjørn Erik Pedersen
79b2725ac4
docs: Improve documentation for block templates
...
Hopefully.
Fixes #2363
2016-12-15 22:02:21 +01:00
Bjørn Erik Pedersen
a3a67163f9
hugolib: Enable override of theme base template only
...
This commit fixes the base template lookup order to match the behaviour of regular templates.
```
1. <current-path>/<template-name>-baseof.<suffix>, e.g. list-baseof.<suffix>.
2. <current-path>/baseof.<suffix>
3. _default/<template-name>-baseof.<suffix>, e.g. list-baseof.<suffix>.
4. _default/baseof.<suffix>
For each of the steps above, it will first look in the project, then, if theme is set,
in the theme's layouts folder.
```
Fixes #2783
2016-12-15 21:35:38 +01:00
Cameron Moore
596bbea815
docs: Clarify single page template search path
...
Fixes #2791
2016-12-15 19:34:25 +01:00
Cameron Moore
26084ad198
docs: Fix pipe examples
...
Fixes #2787
2016-12-15 19:33:40 +01:00
Cameron Moore
fa09e20d9a
docs: Fix Ref and RelRef syntax
...
Fixes #2793
2016-12-15 19:32:41 +01:00
Cameron Moore
2f0e81989a
docs: Document partialCached func
...
Fixes #2779
2016-12-15 19:31:43 +01:00
Cameron Moore
9c2ea3691a
docs: Add .Site.RegularPages docs
...
Fixes #2775
2016-12-15 11:15:42 +01:00
Cameron Moore
d332aa1606
docs: Update GitInfo usage docs
2016-12-15 11:15:15 +01:00
Cameron Moore
f8190777f2
docs: Cleanup Extras menu ordering
2016-12-15 11:15:15 +01:00
Cameron Moore
aecabfcd4f
docs: Add Extras > GitInfo
...
Fixes #2670
2016-12-15 11:15:15 +01:00
Bjørn Erik Pedersen
ef03c6f954
create: Allow empty dates in archetype in new
...
To make it behave the same as Hugo 0.17.
2016-12-15 09:27:30 +01:00
madhead
e4ebe0d5bf
docs: Fix querify example
2016-12-14 11:01:11 +01:00
Bjørn Erik Pedersen
7862de91de
tpl: Add a querify test case that is actually and URL
...
See #2780
2016-12-13 00:16:09 +01:00
Bjørn Erik Pedersen
83c6806576
Fix menu URL for node type pages
...
By delaying the menu assembly.
Fixes #2770
2016-12-11 16:16:24 +01:00
Eugene Brodsky
c7f67dd63c
docs: Clarify usage of archetypes provided by themes
2016-12-10 10:50:48 +01:00
Cameron Moore
b4404a9554
docs: Update File variables
2016-12-10 10:47:23 +01:00
Cipto Hadi
b4cbccaaf4
docs: Fix prev/next links in content section
2016-12-09 16:28:34 +01:00
Bjørn Erik Pedersen
e3d48760c9
hugolib: Fix comment
2016-12-06 09:57:05 +01:00
Bjørn Erik Pedersen
d4b9fa96f9
hugolib: Respect disableRSS
...
Fixes #2764
2016-12-06 09:32:14 +01:00
Bjørn Erik Pedersen
5b1eee44c6
tpl: Avoid repeating the same test case in TestMD5 and TesSHA*
2016-12-05 00:27:49 +01:00
digitalcraftsman
2236056672
docs: Fix linebreaks in templates/variables.md
2016-12-04 18:21:52 +01:00
digitalcraftsman
0f6c73cf2e
tpl: Add sha256 template function
...
Fixes #2742
2016-12-04 15:03:52 +01:00
digitalcraftsman
01b8bc1b26
docs: Update description of querify
2016-12-03 20:23:59 +01:00
digitalcraftsman
0ba9fb9631
docs: Document querify template func
...
Closes #2733
2016-12-03 20:12:12 +01:00
Bjørn Erik Pedersen
ba8a00a6f9
hugolib: Add regular content page count in publish summary
...
Fixes #2759
2016-12-03 17:42:45 +01:00
Bjørn Erik Pedersen
15622c80ee
hugolib: Remove superfluous assignment
2016-12-02 16:09:18 +01:00
Bjørn Erik Pedersen
2f026ab3f3
hugolib: Make RawContent raw again
...
This was a regression introduced in Hugo 0.17.
Fixes #2601
2016-12-01 17:29:49 +01:00
Cameron Moore
971d1baf13
commands: Add noChmod option to disable perm sync
...
Includes updates to docs.
Fixes #2749
2016-11-30 08:35:30 +01:00
Bjørn Erik Pedersen
a4b9abf0b3
vendor: Update fsync
2016-11-30 08:34:18 +01:00
Bjørn Erik Pedersen
529574e6f9
create: Run all the test variants in TestNewContent
...
See #2750
2016-11-30 08:34:17 +01:00
Chase Adams
c87331ae84
hugolib: Fix rendered empty msg
...
Changes `%q` to `%s`. `%q` was safely escaping the `\` in windows so that it was printing `\\`.
2016-11-30 00:03:47 +01:00
Bjørn Erik Pedersen
b2eadd93d3
create: Simplify archetype logic
...
See ##2750
2016-11-29 20:32:26 +01:00
Bjørn Erik Pedersen
96018ab98c
create: Fix archetype title and date handling
...
Fixes #2750
2016-11-29 20:18:09 +01:00
Bjørn Erik Pedersen
65d4d96e7f
vendor: Update go-toml
...
See #2745
2016-11-28 16:10:16 +01:00
Bjørn Erik Pedersen
b7e800454f
makefile: Add test-cover-html
2016-11-27 23:21:10 +01:00
Bjørn Erik Pedersen
20d82a7a1b
hugolib: Create the permalink once only
2016-11-27 19:25:28 +01:00
Bjørn Erik Pedersen
046320d3f4
tpl: Fix params case issue with nested template funcs
...
Fixes #2740
2016-11-27 19:02:43 +01:00
Bjørn Erik Pedersen
c38bfda43b
hugolib: Fix regressions with uglyURLs
...
Fixes #2734
2016-11-27 14:36:17 +01:00
Bjørn Erik Pedersen
1f6e0de361
hugolib: Avoid repeated Viper loads of sectionPagesMenu
...
See #2728
2016-11-24 10:54:15 +01:00
Victor Kropp
dbb0c1cfc9
hugolib: Add shortcode for Instagram
2016-11-23 20:28:42 +01:00
digitalcraftsman
001e2bbe8a
docs: Set correct default archetype directory in overview
...
Fixes #2719 .
2016-11-23 19:53:24 +01:00
bogem
2c7cbca8b1
examples: Update blog example
...
Use RSSLink instead of deprecated RSSlink
2016-11-23 19:49:49 +01:00
bogem
68ebf61613
examples: Update multilingual example
...
Use new i18n concept
Fixes #2417
2016-11-23 19:47:09 +01:00
Bjørn Erik Pedersen
4c72eb12dc
commands: Simplify
2016-11-23 18:55:51 +01:00
Bjørn Erik Pedersen
65e5959bad
helpers: Simplify
2016-11-23 18:54:57 +01:00
Bjørn Erik Pedersen
139585f84a
tpl: Simplify
2016-11-23 18:53:50 +01:00
Bjørn Erik Pedersen
a721fbed1d
target: Simplify
2016-11-23 18:46:32 +01:00
Bjørn Erik Pedersen
3739871f1e
transform: Simplify
2016-11-23 18:42:47 +01:00