cleaned the assets/dist folder, removed code splitting for font-ubunt and materialdesignicons

This commit is contained in:
2021-07-09 11:35:37 +02:00
parent 3e0966f56b
commit 9fa3508260
23 changed files with 24230 additions and 335 deletions

View File

@@ -160,6 +160,26 @@ function materiotheme_preprocess_html(&$vars) {
);
$vars['page']['#attached']['html_head'][] = [$tc, '$tc'];
// <meta http-equiv="pragma" content="no-cache" />
$pragma = array(
'#tag' => 'meta',
'#attributes' => array(
'http-equiv' => 'pragma',
'content' => "no-cache"
),
);
$vars['page']['#attached']['html_head'][] = [$pragma, '$pragma'];
// <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
$cachecontrol = array(
'#tag' => 'meta',
'#attributes' => array(
'http-equiv' => 'cache-control',
'content' => "no-cache, no-store, must-revalidate"
),
);
$vars['page']['#attached']['html_head'][] = [$cachecontrol, '$cachecontrol'];
}
function materiotheme_preprocess_page(&$vars){