You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notes from research: config.defaults returns an array. The code in this example uses << to push an additional default into the array. This new default is plain ruby hash, not a HashWithDotAccess or a HashWithIndifferentAccess. At some point we may want to use site.config.defaults.map!(&:with_dot_access) to ensure all the defaults are the expected type.
Bridgetown Version: 1.2
Current behavior
Frontmatter defaults can be specified in the
bridgetown.config.yml
as:To use this functionality in the Ruby DSL, only string keys can be used:
Expected behavior
The ability to use symbolized keys would be more "Ruby":
The text was updated successfully, but these errors were encountered: