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

Shortcode: article link #1913

Open
BabaRagnarok opened this issue Jan 13, 2025 · 0 comments
Open

Shortcode: article link #1913

BabaRagnarok opened this issue Jan 13, 2025 · 0 comments

Comments

@BabaRagnarok
Copy link
Contributor

Describe the bug
The article shortcode does not work as expected when trying to embed other articles using the .RelPermalink of a file. Even when specifying the correct path according to the documentation, the content of the linked article is not displayed.

To Reproduce
Create an article located at content/blog/2024/April/my_file/index.md

use the article shortcode
{{< article "/blog/2024/April/my_file/" >}}

the content of the referenced article is not displayed.

Hugo & Blowfish versions
last version both

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