Misc additions

This commit is contained in:
Joe Mooring 2023-11-26 14:21:00 -08:00 committed by GitHub
parent 77acdcdb62
commit 740f5ef96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View 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
```

View File

@ -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.
###### 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 %}}
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.