mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Remove canvas_nest
This commit is contained in:
parent
d6731e627f
commit
632768cc1f
@ -27,15 +27,6 @@
|
||||
{%- set js_vendors = js_vendors | attr('velocity_ui', 'velocity/velocity.ui.min.js') %}
|
||||
{%- endif %}
|
||||
|
||||
{%- if theme.canvas_nest.enable %}
|
||||
{%- if theme.canvas_nest.onmobile %}
|
||||
{%- set canvas_nest_uri = theme.vendors.canvas_nest or next_vendors('canvas-nest/canvas-nest.min.js') %}
|
||||
{% else %}
|
||||
{%- set canvas_nest_uri = theme.vendors.canvas_nest_nomobile or next_vendors('canvas-nest/canvas-nest-nomobile.min.js') %}
|
||||
{%- endif %}
|
||||
<script color='{{ theme.canvas_nest.color }}' opacity='{{ theme.canvas_nest.opacity }}' zIndex='{{ theme.canvas_nest.zIndex }}' count='{{ theme.canvas_nest.count }}' src="{{ canvas_nest_uri }}"></script>
|
||||
{%- endif %}
|
||||
|
||||
{%- if theme.canvas_ribbon.enable %}
|
||||
{%- set canvas_ribbon_uri = theme.vendors.canvas_ribbon or next_vendors('canvas-ribbon/canvas-ribbon.js') %}
|
||||
<script size="{{ theme.canvas_ribbon.size }}" alpha="{{ theme.canvas_ribbon.alpha }}" zIndex="{{ theme.canvas_ribbon.zIndex }}" src="{{ canvas_ribbon_uri }}"></script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user