Commit Graph
6874 Commits
Author SHA1 Message Date
Cameron Moore fd1cde5ea2 tpl: Add a delimiter parameter to lang.NumFmt
The original implementation of NumFmt did not take into account that the
options delimiter (a space) could be a valid option.  Adding a delim
parameter seems like the simplest, safest, and most flexible way to
solve this oversight in a backwards-compatible way.

Fixes #5260
2018-10-02 17:41:48 +03:00
Ricardo N Feliciano d758ef94a7 hugolib: Introduce Page.NextPage and Page.PrevPage
Introduce new page position variables in order to fix the ordering issue
of `.Next` and `.Prev` while also allowing an upgrade path via
deprecation.

`.NextInSection` becomes `.NextPageInSection`.
`.PrevInSection` becomes `.PrevPageInSection`.

`.Next` becomes a function returning `.PrevPage`.
`.Prev` becomes a function returning `.NextPage`.

Fixes #1061
2018-09-26 09:22:43 +02:00
hugoreleaser e0a36421ec releaser: Prepare repository for 0.50-DEV
[ci skip]
2018-09-24 10:04:24 +00:00
hugoreleaser c07b3b385d releaser: Add release notes to /docs for release of 0.49
[ci skip]
2018-09-24 10:01:04 +00:00
hugoreleaser c1175a12a3 releaser: Bump versions for release of 0.49
[ci skip]
2018-09-24 10:01:04 +00:00
Bjørn Erik Pedersen 2966f62546 docs: Document directory based archetypes
See #4535
2018-09-24 11:52:25 +02:00
Bjørn Erik Pedersen 0a55ad11b8 docs: Regenerate CLI docs 2018-09-24 10:11:41 +02:00
Bjørn Erik Pedersen e09866c2d9 docs: Document group
Fixes https://github.com/gohugoio/hugoDocs/issues/597
2018-09-24 10:07:50 +02:00
Bjørn Erik Pedersen ef986358a4 Merge commit '807c551922707fc5ae0eb26e8f01638c0c63fdb3' 2018-09-23 23:48:53 +02:00
Ricardo N Feliciano 681f14fc9b tpl/collections: Allow first function to return an empty slice
Fixes #5235
2018-09-22 20:58:46 +02:00
Bjørn Erik Pedersen e5e98b950c Update code-toggle.md 2018-09-20 14:39:55 +02:00
Sapphire Mason-Brown 340c9c6236 Update 'Fetch from Github' installation instructions in line with Github README 2018-09-20 11:07:40 +02:00
Admiral Martin d9f06c23c4 Add tip about clearing browser cache (#608)
Ref: https://discourse.gohugo.io/t/hugo-server-command-serving-wrong-page/13576/7
2018-09-19 13:02:41 -04:00
Alex 7c9df4731e Adding Remark as additional Comments Alternatives for hugo (#607) 2018-09-18 09:28:47 -04:00
Bjørn Erik Pedersen b1ce8bf027 Revert "Temp change of baseURL"
This reverts commit fdbc582ff2.
2018-09-17 16:54:29 +02:00
Bjørn Erik Pedersen fdbc582ff2 Temp change of baseURL 2018-09-17 15:42:19 +02:00
Anthony Nelzin-Santos 5ec663bd60 Fix wrong date in frontmatter config example (#602) 2018-09-14 14:11:34 -04:00
Christian Oliff 0b3022eb12 Fix broken link to https://www.wercker.com (#603)
(requires the www)
2018-09-14 14:11:01 -04:00
Bjørn Erik Pedersen b4a7e31a6e Turn off minification
See #604
2018-09-14 19:26:25 +02:00
Bjørn Erik Pedersen f6dcc93bc3 docs: Add docs for append
See #5190
2018-09-14 10:12:08 +02:00
Bjørn Erik Pedersen bfcc1ac212 Add a Tweet 2018-09-14 08:43:30 +02:00
Bjørn Erik Pedersen 8be09c0b4c Remove unused data file 2018-09-14 08:43:30 +02:00
Bjørn Erik Pedersen aae528ca34 Merge commit '13e64d72763bf8d6d92d4cdfc15ed45ee9debfab' 2018-09-14 08:35:23 +02:00
Bjørn Erik Pedersen 6b00298bb2 Remove outdated "related example" 2018-09-13 10:58:14 +02:00
Franky W 987f1e1cdf Fix dead links (#601)
Links that should point to the hugoDocs pointed to hugo project.
When visiting the links, they showed up as 404.
2018-09-12 18:02:24 -04:00
Bangel 96287a20a1 Add config option "summaryLength" (#600)
* Add config option "summaryLength"

*Updated to include "summaryLength" configuration option from
https://github.com/gohugoio/hugo/pull/3924
*Took line about HTML loading in summary and updated it to clarify the user has options to show html or not instead of implying there are no options
*Fixed typos

@kaushalmodi moved the Org mode `# more` syntax sentence to a new paragraph.
2018-09-12 16:51:17 -04:00
Bjørn Erik Pedersen ced7f20855 Adjust Over showcase 2018-09-12 19:44:16 +02:00
Wayne Ashley Berry e334a6354b Add new showcase: over 2018-09-12 19:37:11 +02:00
Gergő Pintér 10435b5028 Add warning about privacy options only work with internal templates (#525) 2018-09-12 12:07:11 -04:00
Kaushal Modi 48c6b0e4de Minor grammatical fix
Ref: https://github.com/gohugoio/hugoDocs/pull/517
2018-09-12 11:28:26 -04:00
Bjørn Erik Pedersen 684670ebc1 Add quote 2018-09-12 14:28:53 +02:00
Kaushal Modi 0e9fada523 Improvements to taxonomy template examples 2018-09-11 22:21:15 -04:00
Kaushal Modi e06c4bf73d Add syntax highlighting; consistent 4-space indentation 2018-09-11 16:43:16 -04:00
Shaform c1cb3f081c Remove dead links for custom permalinks 2018-09-11 16:29:09 -04:00
Kaushal Modi 3e3aefd04f Fix 0a671bc375 2018-09-11 16:28:34 -04:00
Geoff Davies d658886854 fix file name in 'Add Non-content Entries to a Menu' code toggle (#547) 2018-09-11 16:19:16 -04:00
Cody Craven 1a05638572 Add Solus install guide (#590) 2018-09-11 16:16:31 -04:00
Ali Husnain Arshad 8a0d65b0dc Update Windows Installation instructions (#564) 2018-09-11 16:12:19 -04:00
Nick-Rivera c4348636a6 Fix typo
Changed date -> data
2018-09-11 08:13:35 +02:00
Bjørn Erik Pedersen 0a671bc375 Add post to menu example 2018-09-10 11:01:14 +02:00
satotake af14497c68 Add notes for os.Stat (Hugo 0.47) (#557) 2018-09-08 23:24:57 -04:00
Bjørn Erik Pedersen 02b62294ca tpl/strings: Add strings.FirstUpper
Fixes #5174
2018-09-07 09:08:14 +02:00
Thomas Jost bf3e61ba35 hugolib: Do not FirstUpper taxonomy titles
Doing so was probably a mistake. This may be a breaking change for some people,
but it's easy to restore the previous behaviour in the layouts.

Fixes #5172
2018-09-06 20:29:21 +02:00
Alex Chambers e49f65bb3c Singular to plural 2018-09-05 20:11:44 +02:00
Bjørn Erik Pedersen cb5608dbfe Update introduction.md 2018-09-04 23:59:15 +02:00
Kaushal Modi 30b060dff7 Add variable re-definition example (Hugo v0.48+) 2018-09-04 17:24:52 -04:00
Kaushal Modi 21123967eb Minor edits 2018-09-04 17:16:32 -04:00
Kaushal Modi fac3df0433 Refresh the Go Templates introduction 2018-09-04 17:11:03 -04:00
Andrew Cuga 4a9600e929 Updating URL to how-to-guide for hosting hugo site on firebase 2018-09-04 14:37:22 -04:00
Alex Chambers bfaa7779ce add missing word
prepositions are hard
2018-09-04 14:36:47 -04:00