-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Feature request: support shortcode output format for RSS feeds #5204
Comments
Yes, this is something I'd really like to see as well! Basically, it would be nice to have not only for RSS, but just for any output format. And, maybe, I'd call the current behaviour a bug? I'd say that if there is an output for at least one type of pages ( |
You can if you want, but int this particle case I suspect you will get faster attention on this if you label it an enhancement. "Fixing stuff" is not as motivational as "building stuff". |
Oh, sorry, I didn't think about that it could be read like that, oops, didn't intend it like this. It was just that I tried using this without adding RSS to This would totally be an enhancement, and I know a bunch of other people who would be happy to use this kind of feature — as I said, not only for RSS, but, for example, for I would try to think more about how the wording of comments can motivate or demotivate maintainers and developers, sorry about that again! |
No problem, but I find that it is often more effective in the world of Open Source (where people spend their free time on stuff) to have a "glass half full" mindset. I don't mind adding the "bug label" on obvious misbehavior, but when in doubt, use the enhancement. This particular issue was implemented as intended and it works fine, but it has it's obvious limitations -- hence the "enhancement". |
This will be fixed as part of #5583 -- sorry that this has taken so long, but I really had to look at this in a bigger picture. |
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607
See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607
The main motivation of this commit is to add a `page.Page` interface to replace the old very file-oriented `hugolib.Page` struct to prepare for gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limiations, especially related to custom output formats, and shortcodes. And it's faster. See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5704 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the old very file-oriented `hugolib.Page` struct to prepare for gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limiations, especially related to custom output formats, and shortcodes. And it's faster. See gohugoio#5074 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5704 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the old very file-oriented `hugolib.Page` struct to prepare for gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limiations, especially related to custom output formats, and shortcodes. And it's faster. See gohugoio#5074 Fixes gohugoio#5759 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5704 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the old very file-oriented `hugolib.Page` struct to prepare for gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limiations, especially related to custom output formats, and shortcodes. And it's faster. See gohugoio#5074 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5704 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the old very file-oriented `hugolib.Page` struct to prepare for gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limiations, especially related to custom output formats, and shortcodes. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5704 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content rendered, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content rendered, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759 Fixes gohugoio#5776
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759 Fixes gohugoio#5776 Fixes gohugoio#5777
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759 Fixes gohugoio#5776 Fixes gohugoio#5777 Fixes gohugoio#5778
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759 Fixes gohugoio#5776 Fixes gohugoio#5777 Fixes gohugoio#5778
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. And it's faster. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759 Fixes gohugoio#5776 Fixes gohugoio#5777 Fixes gohugoio#5778
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759 Fixes gohugoio#5776 Fixes gohugoio#5777 Fixes gohugoio#5778
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759 Fixes gohugoio#5776 Fixes gohugoio#5777 Fixes gohugoio#5778
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct. This is all a preparation step for issue gohugoio#5074, "pages from other data sources". But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes. Most notable changes: * The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday. This means that any markdown will partake in the global ToC and footnote context etc. * The Custom Output formats are now "fully virtualized". This removes many of the current limitations. * The taxonomy list type now has a reference to the `Page` object. This improves the taxonomy template `.Title` situation and make common template constructs much simpler. See gohugoio#5074 Fixes gohugoio#5763 Fixes gohugoio#5758 Fixes gohugoio#5090 Fixes gohugoio#5204 Fixes gohugoio#4695 Fixes gohugoio#5607 Fixes gohugoio#5707 Fixes gohugoio#5719 Fixes gohugoio#3113 Fixes gohugoio#5706 Fixes gohugoio#5767 Fixes gohugoio#5723 Fixes gohugoio#5769 Fixes gohugoio#5770 Fixes gohugoio#5771 Fixes gohugoio#5759 Fixes gohugoio#5776 Fixes gohugoio#5777 Fixes gohugoio#5778
I added the Thanks a lot, @bep! |
@max-arnold glad to hear that! |
involves hacky symlinked shortcodes, otherwise AMP version gets chosen. not a bug but maybe file feature request: gohugoio/hugo#5204
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Background
There are multiple cases where people try to render the
.Content
slightly differently for RSS feeds:This is possible to do after #3220 was implemented, by setting
page = ["HTML", "RSS"]
and addingSHORTCODE.rss.xml
template variant. Unfortunately, this setting produces per-page RSS feeds which is suboptimal and can mislead some RSS readers (wrong RSS link).Also there is slightly adjacent request to allow page context in shortcodes: https://discourse.gohugo.io/t/page-context-in-shortcodes/284
Feature proposal
Kind
in the shortcode template lookup order. This would allow to solve the adjacent use case https://discourse.gohugo.io/t/page-context-in-shortcodes/284Plus it makes sense to document format- and language-dependent shortcode lookup order here https://gohugo.io/templates/shortcode-templates/#shortcode-template-lookup-order
The text was updated successfully, but these errors were encountered: