OrchardCore
OrchardCore copied to clipboard
Improvement needed: theme manifest file variable needed
In the theme manifest file for example using the Agency theme is this line: .SetUrl("~/TheAgencyTheme/vendor/jquery/jquery.min.js", "~/TheAgencyTheme/vendor/jquery/jquery.js")
The string "TheAgencyTheme" gets repeated many times.
Please create a variable for this string and reference the variable in all the lines of code.
Make sense, but while the theme name will not change it's fine
How would you use this const? The theme name will never change. Or is your issue solely about the dislike of the string literal being repeated?
It seems that this issue didn't really move for quite a while. Is this something you'd like to revisit any time soon or should we close? Please reply.
Closing this issue because it has been stale for very long. If you think this is still relevant, feel free to reopen it.