Browse Source

add app version to css

main
ghost 1 year ago
parent
commit
5f5da0ded4
  1. 4
      templates/default/layout.html.twig

4
templates/default/layout.html.twig

@ -4,8 +4,8 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>{% block title %}{{ name }}{% endblock %}</title> <title>{% block title %}{{ name }}{% endblock %}</title>
{% block stylesheets %} {% block stylesheets %}
<link href="{{ asset('asset/default/css/framework.css') }}" rel="stylesheet" /> <link href="{{ asset('asset/default/css/framework.css') }}?{{ version }}" rel="stylesheet" />
<link href="{{ asset('asset/default/css/common.css') }}" rel="stylesheet" /> <link href="{{ asset('asset/default/css/common.css') }}?{{ version }}" rel="stylesheet" />
{% endblock %} {% endblock %}
</head> </head>
<body> <body>

Loading…
Cancel
Save