Albert Nigmatzianov
231c0a7e09
docs: Fix typo in templates/functions.md
...
Fix #3440
2017-05-06 21:32:51 +02:00
Robert Starbuck
6040c7ca90
docs: Update datafiles.md
2017-05-06 21:31:24 +02:00
Robert Starbuck
5575ed4469
docs: Update datafiles.md
2017-05-06 21:31:24 +02:00
Chase Adams
42f4ce15a9
hugolib: Add default config for ignoreFiles
2017-05-06 09:41:24 +02:00
Ryan Watters
14555f13eb
Fix broken link on templates/introduction page
2017-05-05 17:13:01 -05:00
Bjørn Erik Pedersen
e5c9c9ee3f
tpl: Add some GoDoc info to template func docs
...
Closes #3418
2017-05-04 10:46:19 +02:00
Bjørn Erik Pedersen
cff2f31334
tpl: Add some GoDoc info to template func docs
...
Closes #3418
2017-05-04 10:46:19 +02:00
Bjørn Erik Pedersen
f9e41f6497
releaser: Push the tag before goreleaser is run
...
Fixes #3405
2017-05-03 09:29:59 +02:00
Albert Nigmatzianov
8f2ab5f498
i18n: Simplify code for detecting of untranslated id
2017-05-03 09:23:13 +02:00
Albert Nigmatzianov
cce49997a4
i18n: Add tests
2017-05-03 09:23:13 +02:00
Bjørn Erik Pedersen
3dd949d956
tpl/urls: Make urlize return a string
...
Like it did in 0.20.
2017-05-02 23:46:36 +02:00
Albert Nigmatzianov
a40d1f6ed2
i18n: Improve the detection of untranslated string
...
Fix #2607
2017-05-02 22:45:37 +02:00
Ryan Watters
9c17fcb4b7
Update slug translation in multilingual.md
...
Closes rdwatters/hugo-docs-concept#107
2017-05-02 11:39:08 -05:00
xavi blanch
1b8b42751e
docs: Add documentation on slug translation
2017-05-02 18:31:06 +02:00
xavi blanch
635b3bb4eb
docs: Add documentation on slug translation
2017-05-02 18:31:06 +02:00
Cameron Moore
08c0de5cc3
tpl/data: Clean up data namespace
...
- Move the main GetCSV and GetJSON into data.go.
- Add error returns to GetCSV and GetJSON.
- Add http client to Namespace for test mocking.
- Send accept headers on remote requests. Fixes #3395
- Return an error on non-2XX HTTP response codes and don't retry.
- Move cache tests to cache_test.go.
2017-05-02 09:18:41 +02:00
Cameron Moore
1cf2f3dc4f
tpl/data: Move cache logic to separate file
2017-05-02 09:18:41 +02:00
Cameron Moore
5f095c27ea
tpl/data: Shorten some internal func names
2017-05-02 09:18:41 +02:00
Cameron Moore
48f6a8c0da
tpl/images: Fix embedded sync.Mutex
2017-05-02 09:17:14 +02:00
Cameron Moore
f604076de1
tpl/images: Fix embedded sync.Mutex
2017-05-02 09:17:14 +02:00
Cameron Moore
f69df916df
tpl: Add basic tests for all namespace init funcs
2017-05-02 00:07:33 +02:00
Bjørn Erik Pedersen
89e271e2b6
tpl: Add docshelper for template funcs
...
And fix some other minor related issues.
Updates #3418
2017-05-01 21:44:15 +02:00
Bjørn Erik Pedersen
690b0f8ff5
tpl: Add docshelper for template funcs
...
And fix some other minor related issues.
Updates #3418
2017-05-01 21:44:15 +02:00
Bjørn Erik Pedersen
e2b067f050
tpl/partials: Remouve unused method
2017-05-01 15:57:52 +02:00
Bjørn Erik Pedersen
0e2260421e
tpl: Fix the remaining template funcs namespace issues
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
4714085a10
tpl/urls: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
55f90a3a0d
tpl/transform: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
ee5aa84f2a
tpl/time: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
4a3463463f
tpl/safe: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
b958c0c109
tpl/os: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
fc77b6303c
tpl/inflect: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
a432c90aee
tpl/images: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
9aee8ace4e
tpl/encoding: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
744dccbea4
tpl/crypto: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
8a49c0b3b8
tpl/collections: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
a3bf118eaa
tpl/compare: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
6561557367
tpl/data: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
0ab23eb5a8
tpl/strings: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
eefa0703cb
tpl/math: Make it a package that stands on its own
...
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
c5373efcf0
tpl: Add TemplateFuncsNamespaceRegistry
...
As a first step to remove the hard ties between `tplimpl` and the different namespace packages.
The `lang` package is used as the first example use case.
See #3042
2017-05-01 15:13:41 +02:00
Bjørn Erik Pedersen
8f95172c7a
releaser: Disable shaky test
2017-05-01 13:38:29 +02:00
Ryan Watters
f485766151
Add txtpen to the Commenting Alternatives section
...
Closes rdwatters/hugo-docs-concept#91
See PR gohugoio/hugo#3320
2017-04-30 17:42:11 -05:00
Ryan Watters
906ad232ec
Change temporarily ghdocsrepo field in site config
...
to allow for easier contrib to docs concept.
Ref rdwatters/hugo-docs-concept#103
2017-04-30 17:39:39 -05:00
Ryan Watters
c616ade998
Add logic and operators tags to where.md for better discoverability
...
See rdwatters/hugo-docs-concept#37
2017-04-30 17:27:00 -05:00
Ryan Watters
044b23892a
Add regex101.com reference to both RE functions
...
Ref rdwatters/hugo-docs-concept#97
2017-04-30 17:22:03 -05:00
Ryan Watters
c2a5952f4f
Add regex101.com reference to both RE functions
...
Ref rdwatters/hugo-docs-concept#97
2017-04-30 17:21:31 -05:00
Ryan Watters
8b94418e73
Add link to regex101.com for replace/find RE
...
Ref rdwatters/hugo-docs-concept#22
2017-04-30 17:19:29 -05:00
Ryan Watters
71471f13ce
Remove opinionated code blocks (Third round)
...
Closes rdwatters/hugo-docs-concept#105
2017-04-30 17:16:40 -05:00
Ryan Watters
bc9a649195
Clean up code block for ids and classes (Second round)
...
Also fix issue with needsexamples.html shortcode.
2017-04-30 16:45:57 -05:00
Ryan Watters
e4336f0627
Fix minor typos in "where" function page
2017-04-30 16:23:41 -05:00