Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe usage of logical path with relevant methods, functions, and shortcode #2448

Open
11 tasks
jmooring opened this issue Feb 21, 2024 · 1 comment
Open
11 tasks

Comments

@jmooring
Copy link
Member

jmooring commented Feb 21, 2024

See https://gohugo.io/methods/page/path/#finding-pages

Specify the logical path when using any of these methods, functions, or shortcodes. If you include a file extension or language identifier, Hugo will strip these values before finding the page in the logical tree.

We need to add something like that to each of the following:

Functions

Methods

Shortcodes

@jmooring
Copy link
Member Author

jmooring commented Mar 5, 2024

I think this was mostly or completely addressed with gohugoio/hugo@fd0185a (trailing slashes are OK in path spec).

Taxonomy.Get now does a lower case lookup; see gohugoio/hugo@3f217fd.

Also not sure if this section is needed anymore:
< https://gohugo.io/methods/page/path/#finding-pages>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant