re: nodebb/nodebb#3573, using cache-buster instead of css and js busters

main
Julian Lam 9 years ago
parent 30513bcf32
commit ae4b62e487

@ -2,7 +2,7 @@
"name": "nodebb-theme-persona",
"version": "2.1.28",
"nbbpm": {
"compatibility": "^0.8.0"
"compatibility": "^0.8.2"
},
"description": "Persona theme for NodeBB",
"main": "theme.less",

@ -5,7 +5,7 @@
<!-- BEGIN metaTags -->
{function.buildMetaTag}
<!-- END metaTags -->
<link rel="stylesheet" type="text/css" href="{relative_path}/stylesheet.css?{config.css-buster}" />
<link rel="stylesheet" type="text/css" href="{relative_path}/stylesheet.css?{config.cache-buster}" />
<!-- IF bootswatchCSS --><link id="bootswatchCSS" href="{bootswatchCSS}" rel="stylesheet" media="screen"><!-- ENDIF bootswatchCSS -->
<!-- BEGIN linkTags -->
<link<!-- IF linkTags.link --> link="{linkTags.link}"<!-- ENDIF linkTags.link --><!-- IF linkTags.rel --> rel="{linkTags.rel}"<!-- ENDIF linkTags.rel --><!-- IF linkTags.type --> type="{linkTags.type}"<!-- ENDIF linkTags.type --><!-- IF linkTags.href --> href="{linkTags.href}"<!-- ENDIF linkTags.href --> />
@ -26,7 +26,7 @@
user: JSON.parse('{{userJSON}}')
};
</script>
<script src="{relative_path}/nodebb.min.js?{config.script-buster}"></script>
<script src="{relative_path}/nodebb.min.js?{config.cache-buster}"></script>
<!-- IMPORT partials/requirejs-config.tpl -->
<!-- IF useCustomJS -->

Loading…
Cancel
Save