Allow customization of main Buefy CSS styles, for falafel theme
This commit is contained in:
parent
a23eb3f32d
commit
1420a33649
|
@ -153,8 +153,14 @@
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<%def name="buefy_styles()">
|
<%def name="buefy_styles()">
|
||||||
|
<% buefy_css = request.rattail_config.get('tailbone', 'theme.falafel.buefy_css') %>
|
||||||
|
% if buefy_css:
|
||||||
|
## custom Buefy CSS
|
||||||
|
${h.stylesheet_link(buefy_css)}
|
||||||
|
% else:
|
||||||
## Buefy 0.7.4
|
## Buefy 0.7.4
|
||||||
${h.stylesheet_link('https://unpkg.com/buefy@0.7.4/dist/buefy.min.css')}
|
${h.stylesheet_link('https://unpkg.com/buefy@0.7.4/dist/buefy.min.css')}
|
||||||
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
## TODO: this is only being referenced by the progress template i think?
|
## TODO: this is only being referenced by the progress template i think?
|
||||||
|
|
Loading…
Reference in a new issue