mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
fix: simplified enable_home_renders
This commit is contained in:
parent
cd77bddd86
commit
0537268e4d
@ -29,8 +29,7 @@
|
||||
{% set is_for_personal_use = true %}
|
||||
|
||||
{# Requires configuring your own renders in public/render. Consult src/js/misc/render.js. #}
|
||||
{% set enable_home_renders = false %}
|
||||
{% set enable_home_renders_config = "miku" %}
|
||||
{% set enable_home_renders = null %} {# String of selected config name #}
|
||||
{% set enable_home_newsfeed = false %}
|
||||
|
||||
{#
|
||||
|
@ -34,7 +34,7 @@
|
||||
<!-- Scripts -->
|
||||
{% if globals.enable_home_renders -%}
|
||||
{# We assign an ID for this so that the script can find out version string for render images #}
|
||||
<script id="renderScript" data-config="{{ globals.enable_home_renders_config }}" data-version="{{ versions[4] }}" src="js/misc/render.js{{ versions[1] }}" async></script>
|
||||
<script id="renderScript" data-config="{{ globals.enable_home_renders }}" data-version="{{ versions[4] }}" src="js/misc/render.js{{ versions[1] }}" async></script>
|
||||
{%- endif %}
|
||||
{% if globals.enable_home_newsfeed -%}
|
||||
<script src="js/misc/newsfeed.js{{ versions[1] }}" async></script>
|
||||
|
Loading…
Reference in New Issue
Block a user