-
|
I have tried to make a static It's not being rendered. I try to add Is it even possible? |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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.