mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Merge commit '7125ad401ad043e46262afc7eca8dceb6d54bb9e'
This commit is contained in:
@@ -16,13 +16,13 @@ When a project _deprecates_ something, they are telling its users:
|
||||
2. Use Thing Two instead.
|
||||
3. We're going to remove Thing One at some point in the future.
|
||||
|
||||
[article]: https://en.wikipedia.org/wiki/Deprecation
|
||||
[reasons for deprecation]: https://en.wikipedia.org/wiki/Deprecation
|
||||
|
||||
Think of deprecation as a statement of intent. This Wikipedia [article] describes common reasons for deprecation:
|
||||
Common [reasons for deprecation]:
|
||||
|
||||
- The feature has been replaced by a more powerful alternative.
|
||||
- The feature contains a design flaw.
|
||||
- The feature is considered extraneous, and will be removed in the future in order to simplify the system as a whole.
|
||||
- A feature has been replaced by a more powerful alternative.
|
||||
- A feature contains a design flaw.
|
||||
- A feature is considered extraneous, and will be removed in the future in order to simplify the system as a whole.
|
||||
- A future version of the software will make major structural changes, making it impossible or impractical to support older features.
|
||||
- Standardization or increased consistency in naming.
|
||||
- A feature that once was available only independently is now combined with its co-feature.
|
||||
|
@@ -107,7 +107,7 @@ The most common causes are page collisions (publishing two pages to the same pat
|
||||
|
||||
###### 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`.
|
||||
The following methods on a `Page` object trigger 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.
|
||||
|
@@ -14,7 +14,7 @@ aliases: [/troubleshooting/build-performance/]
|
||||
|
||||
## Template metrics
|
||||
|
||||
Hugo is fast, but inefficient templates impede performance. Enable template metrics to determine which templates take the most time, and to identify caching opportunties:
|
||||
Hugo is fast, but inefficient templates impede performance. Enable template metrics to determine which templates take the most time, and to identify caching opportunities:
|
||||
|
||||
```sh
|
||||
hugo --templateMetrics --templateMetricsHints
|
||||
|
Reference in New Issue
Block a user