1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

implement cache-busting for default theme.css

night theme: small fixes
This commit is contained in:
Andrew Dolgov
2017-01-25 12:17:41 +03:00
parent 7c04f8afeb
commit e432b8fbe2
6 changed files with 21 additions and 7 deletions

14
themes/default.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
header("Content-type: text/css");
function import_tag($filename) {
return "@import \"$filename?".filemtime($filename)."\";";
}
$styles = [ "tt-rss.css", "dijit.css", "cdm.css", "prefs.css" ];
foreach ($styles as $style) {
print import_tag("../css/$style") . "\n";
}
?>