feat(theme): layout中增加资源文件的版本
这个提交包含在:
@@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title th:text="${site.title}"></title>
|
||||
<link rel="stylesheet" th:href="@{/assets/dist/style.css}" href="./assets/dist/style.css" />
|
||||
<link rel="stylesheet" th:href="@{/assets/dist/style.css?version=v1.0.0}" href="./assets/dist/style.css" />
|
||||
</head>
|
||||
<!-- 根据情况判断是否添加开启像素化样式 -->
|
||||
<body class="main" th:classappend="${theme.config.basic.pixel_style} ? 'pixel_style' : '' ">
|
||||
@@ -26,6 +26,6 @@
|
||||
<th:block th:replace="${footer}" />
|
||||
</th:block>
|
||||
</div>
|
||||
<script th:src="@{/assets/dist/main.iife.js}"></script>
|
||||
<script th:src="@{/assets/dist/main.iife.js?version=v1.0.0}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
在新议题中引用
屏蔽一个用户