静态文件添加参数

This commit is contained in:
jaywcjlove 2016-12-02 23:33:39 +08:00
parent 6600ae6d27
commit 798e8eed53
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<script type="text/javascript" src="<%=relative_path%>js/dt.js"></script>
<script type="text/javascript" src="<%=relative_path%>js/index.js"></script>
<script type="text/javascript" src="<%=relative_path%>js/dt.js?v=<%=new Date().getTime()%>"></script>
<script type="text/javascript" src="<%=relative_path%>js/index.js?v=<%=new Date().getTime()%>"></script>
</body>
</html>

View File

@ -7,6 +7,6 @@
<meta name="keywords" content="Linux,Command,命令大全,Linux命令手册<%=describe.n?','+describe.n:''%>">
<title><%=describe.n?describe.n+' - ':''%>Linux Command</title>
<link rel="shortcut icon" href="<%=relative_path%>img/favicon.ico">
<link rel="stylesheet" type="text/css" href="<%=relative_path%>css/index.css">
<link rel="stylesheet" type="text/css" href="<%=relative_path%>css/index.css?v=<%=new Date().getTime()%>">
</head>
<body>