corrections
This commit is contained in:
parent
7e87836ada
commit
a5988e146a
|
@ -3,7 +3,7 @@
|
||||||
/**
|
/**
|
||||||
* Custom functions / External files
|
* Custom functions / External files
|
||||||
*/
|
*/
|
||||||
require_once 'includes/funcitons.php';
|
require_once 'includes/functions.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add support for useful stuff
|
* Add support for useful stuff
|
||||||
|
|
|
@ -103,7 +103,7 @@ gulp.task('scripts', ['clean-scripts'], () => {
|
||||||
format: 'iife',
|
format: 'iife',
|
||||||
moduleName: 'BarebonesBundle',
|
moduleName: 'BarebonesBundle',
|
||||||
sourceMap: !production,
|
sourceMap: !production,
|
||||||
dest: `${config.public}/js/scripts.min.js`,
|
dest: `${config.public}/js/script.min.js`,
|
||||||
});
|
});
|
||||||
}).catch(err => log(err.stack));
|
}).catch(err => log(err.stack));
|
||||||
});
|
});
|
||||||
|
|
10
header.php
10
header.php
|
@ -8,10 +8,12 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
|
||||||
<link rel="dns-prefetch" href="//google-analytics.com">
|
<link rel="dns-prefetch" href="//google-analytics.com">
|
||||||
|
|
||||||
<?php /**
|
<style>
|
||||||
* For better peformance, core styles are inlined
|
<?php /**
|
||||||
*/
|
* For better peformance, core styles are inlined
|
||||||
get_file_contents(sprintf('%s/css/core.min.css', get_bloginfo( 'stylesheet_url' ))); ?>
|
*/
|
||||||
|
echo file_get_contents(sprintf('%s/css/core.min.css', get_stylesheet_directory())); ?>
|
||||||
|
</style>
|
||||||
<link rel="stylesheet" href="<?php echo get_bloginfo( 'stylesheet_url' ) . '?' . filemtime(get_stylesheet_directory() . '/style.css'); ?>">
|
<link rel="stylesheet" href="<?php echo get_bloginfo( 'stylesheet_url' ) . '?' . filemtime(get_stylesheet_directory() . '/style.css'); ?>">
|
||||||
|
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
|
|
Loading…
Reference in New Issue