|
Overview
Uploading a Template
layouts
sub-page template
<$headerplugins>
$logo1
<$menu>
<$pagetitle>
<$body>
<$section>
<$blog>
<$sidebarcontrol>
<$sidebarmenu>
$single
<$snippet>
<$include>
edittext
label
$viewlink
<$cartitems>
<$carttotal>
<$domain>
<$userfullname>
<$userid>
<isHomePage>
<IsNotHomePage>
<else>
logic options
<$copyright>
<$trademark>
<$date>
<$year>
File Versioning
Social Media Links
|
File Versioning
| Purpose |
Usually, browsers will cache your website template CSS and JavaScript files. Then users visiting your site may not get the desired results because of this caching. To accommodate for this, you can add the following to the end of your .css and .js link references in your website template:
<link rel="stylesheet" href="style.css?v=[(cssversion)]">
<script src="js/scripts.js?v=[(cssversion)]"></script>
This syntax passes a version number to the css/js file and will cause the browser to get the new version of the file. New version numbers are generated whenever you save your template.
|
|