1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Rename wallassets to build

This commit is contained in:
Yassine Guedidi 2025-01-19 19:52:20 +01:00
parent 5e8ca0887e
commit c89878d88e
5 changed files with 10 additions and 6 deletions

View file

@ -18,9 +18,9 @@
<meta name="twitter:title" content="{{ entry.title|e|raw }}" />
<meta name="twitter:description" content="{{ entry.content|striptags|slice(0, 300)|raw }}&hellip;" />
{% if app.debug %}
<script src="{{ asset('wallassets/public.dev.js') }}"></script>
<script src="{{ asset('build/public.dev.js') }}"></script>
{% else %}
<link rel="stylesheet" href="{{ asset('wallassets/public.css') }}">
<link rel="stylesheet" href="{{ asset('build/public.css') }}">
{% endif %}
</head>

View file

@ -3,13 +3,13 @@
{% block css %}
{{ parent() }}
{% if not app.debug %}
<link rel="stylesheet" href="{{ asset('wallassets/main.css') }}">
<link rel="stylesheet" href="{{ asset('build/main.css') }}">
{% endif %}
{% endblock %}
{% block scripts %}
{{ parent() }}
<script src="{{ asset('wallassets/main' ~ (app.debug ? '.dev' : '') ~ '.js') }}"></script>
<script src="{{ asset('build/main' ~ (app.debug ? '.dev' : '') ~ '.js') }}"></script>
{% endblock %}
{% block header %}