mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 03:44:51 -04:00
Misc additions
This commit is contained in:
parent
77acdcdb62
commit
740f5ef96f
15
content/en/methods/page/Len.md
Normal file
15
content/en/methods/page/Len.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
title: Len
|
||||||
|
description: Returns the length, in bytes, of the rendered content of the given page.
|
||||||
|
categories: []
|
||||||
|
keywords: []
|
||||||
|
action:
|
||||||
|
related:
|
||||||
|
- methods/page/Content
|
||||||
|
returnType: int
|
||||||
|
signatures: [PAGE.Len]
|
||||||
|
---
|
||||||
|
|
||||||
|
```go-html-template
|
||||||
|
{{ .Len }} → 42
|
||||||
|
```
|
@ -105,6 +105,10 @@ Yes. See [details](/getting-started/configuration/#configure-with-environme
|
|||||||
|
|
||||||
The most common causes are page collisions (publishing two pages to the same path) and the effects of concurrency. Use the `--printPathWarnings` command line flag to check for page collisions, and create a topic on the [forum] if you suspect concurrency problems.
|
The most common causes are page collisions (publishing two pages to the same path) and the effects of concurrency. Use the `--printPathWarnings` command line flag to check for page collisions, and create a topic on the [forum] if you suspect concurrency problems.
|
||||||
|
|
||||||
|
###### Which page methods trigger content rendering?
|
||||||
|
|
||||||
|
The following methods on a `Page` object triggering content rendering: `Content`, `FuzzyWordCount`, `Len`, `Plain`, `PlainWords`, `ReadingTime`, `Summary`, `Truncated`, and `WordCount`.
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
For other questions please visit the [forum]. A quick search of over 20,000 topics will often answer your question. Please be sure to read about [requesting help] before asking your first question.
|
For other questions please visit the [forum]. A quick search of over 20,000 topics will often answer your question. Please be sure to read about [requesting help] before asking your first question.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user