{% init _is_layui_loaded = False %}
{% if not _is_layui_loaded %}
    <link rel="stylesheet" href="{{_server_home}}/_static/lib/layui/2.9.17/css/layui.css" type="text/css" />
    <script type="text/javascript" src="{{_server_home}}/_static/lib/layui/2.9.17/layui.js"></script>
    {% set-global _is_layui_loaded = True %}
{% end %}