|
I have tried to make a static It's not being rendered. I try to add Is it even possible? |
Answered by
ayushn21
Sep 8, 2023
Replies: 1 comment 1 reply
|
If your template engine is set to serbea, then Bridgetown will look for As per the convention for ERB files, which Serbea also uses, all partials much be prefixed with an Also components are ideally for Ruby components only so I'd also recommend moving the file to |
1 reply
Answer selected by
firedev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If your template engine is set to serbea, then Bridgetown will look for
serbfiles only. Why do you have a liquid file in there too?As per the convention for ERB files, which Serbea also uses, all partials much be prefixed with an
_. If you renamed your file to_components/_icon.serb, it should work I think. Please remember to delete the liquid file as well.Also components are ideally for Ruby components only so I'd also recommend moving the file to
_partials/_icon.serb.