Replies: 1 comment
-
@btihen From Ruby files (ERB, etc.), you can use More details in the docs here: https://www.bridgetownrb.com/docs/template-engines/erb-and-beyond |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in bridgetown.config.yml - I read that I can access site.url in liquid files, when I try to access
site
variables within an erb (in the head partial) I getundefined method
.As you can see, I do however, have access with
site
to all the same data as I do with metadata from_data/metadata.config.yml
- but notbridgetown.config.yml
This is not how I understand the docs - am I doing something wrong? How do I access
bridgetown.config.yml
data in an erb file? Am I doing something incorrectly?bridgetown 1.0.0
ruby 3.1.2
MocOS 12.4 (21F79) - M1
Beta Was this translation helpful? Give feedback.
All reactions