mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Remove RuneCount from doc
This commit is contained in:
parent
5ec6a61d97
commit
2c045ac449
2 changed files with 1 additions and 2 deletions
|
@ -41,7 +41,7 @@ weight: 10
|
|||
* Paginator now also supports page groups. [1274](https://github.com/spf13/hugo/issues/1274)
|
||||
* `page.HasMenuCurrent()` and `node.HasMenuCurrent()` now work correctly in multi-level nested menus.
|
||||
* Several new information elements have been added to `Page` and `Node`:
|
||||
* `RuneCount` : This may be a good alternative to `WordCount` for Japanese and other CJK languages where a word-split by spaces makes no sense. [1266](https://github.com/spf13/hugo/issues/1266)
|
||||
sense. [1266](https://github.com/spf13/hugo/issues/1266)
|
||||
* `RawContent`: Raw Markdown as a string. One use case may be of embedding remarkjs.com slides.
|
||||
* The new `IsHome` tells the truth about whether you're on the home page or not.
|
||||
* Hugo now supports GitHub-flavoured markdown code fences for highlighting for `md`-files (Blackfriday rendered markdown) and `mmark` files (MMark rendered markdown). [362] (https://github.com/spf13/hugo/issues/362)[1258](https://github.com/spf13/hugo/issues/1258)
|
||||
|
|
|
@ -47,7 +47,6 @@ matter, content or derived from file location.
|
|||
**.NextInSection** Pointer to the following content within the same section (based on pub date)<br>
|
||||
**.FuzzyWordCount** The approximate number of words in the content.<br>
|
||||
**.WordCount** The number of words in the content.<br>
|
||||
**.RuneCount** The number of [runes](http://blog.golang.org/strings) in the content, excluding any whitespace. This may be a good alternative to `.WordCount` for Japanese and other CJK languages where a word-split by spaces makes no sense.
|
||||
**.ReadingTime** The estimated time it takes to read the content in minutes.<br>
|
||||
**.Weight** Assigned weight (in the front matter) to this content, used in sorting.<br>
|
||||
**.RawContent** Raw Markdown content without the metadata header. Useful with [remarkjs.com](http://remarkjs.com)<br>
|
||||
|
|
Loading…
Reference in a new issue