mirror of
https://github.com/restoreddev/phpapprentice.git
synced 2025-08-13 02:04:26 +02:00
Added ability to version assets for browser cache busting
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
<meta name="description" content="<?= $subtitle ?? 'A site for learning how to use PHP' ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" href="/css/site.css">
|
||||
<link rel="stylesheet" href="<?php echo asset('css/site.css') ?>">
|
||||
<link rel="icon" href="/favicon-32.png">
|
||||
<script src="/js/site.js"></script>
|
||||
<script src="<?php echo asset('js/site.js') ?>"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user