hugo/docs/content/en/getting-started/glossary/logical-path.md
2025-01-23 09:47:46 +01:00

7 lines
471 B
Markdown

---
title: logical path
---
{{< new-in 0.123.0 >}}
A page or page resource identifier derived from the file path, excluding its extension and language identifier. This value is neither a file path nor a URL. Starting with a file path relative to the `content` directory, Hugo determines the logical path by stripping the file extension and language identifier, converting to lower case, then replacing spaces with hyphens. See [examples](/methods/page/path/#examples).