Add updates from H5BP
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,5 @@
|
|||||||
|
# Read about how to use .gitignore: http://h5bp.com/ae
|
||||||
|
|
||||||
# Numerous always-ignore extensions
|
# Numerous always-ignore extensions
|
||||||
*.diff
|
*.diff
|
||||||
*.err
|
*.err
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
|
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
|
||||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
|
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
|
||||||
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
|
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
|
||||||
|
|||||||
@@ -274,6 +274,17 @@ AddType application/x-shockwave-flash swf
|
|||||||
|
|
||||||
# </IfModule>
|
# </IfModule>
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
# Prevent mobile network providers from modifying your site
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
# The following header prevents modification of your code over 3G on some European providers
|
||||||
|
# This is the official 'bypass' suggested by O2 in the UK
|
||||||
|
|
||||||
|
# <IfModule mod_headers.c>
|
||||||
|
# Header set Cache-Control "no-transform"
|
||||||
|
# </IfModule>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
@@ -307,6 +318,20 @@ AddType application/x-shockwave-flash swf
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
# Set Keep-Alive Header
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Keep-Alive allows the server to send multiple requests through one TCP-connection.
|
||||||
|
# Be aware of possible disadvantages of this setting. Turn on if you serve a lot of
|
||||||
|
# static content.
|
||||||
|
|
||||||
|
# <IfModule mod_headers.c>
|
||||||
|
# Header set Connection Keep-Alive
|
||||||
|
# </IfModule>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Cookie setting from iframes
|
# Cookie setting from iframes
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
@@ -467,10 +492,10 @@ AddCharset utf-8 .css .js .xml .json .rss .atom
|
|||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
|
||||||
# Block access to "hidden" directories whose names begin with a period. This
|
# Block access to "hidden" directories or files whose names begin with a period. This
|
||||||
# includes directories used by version control systems such as Subversion or Git.
|
# includes directories used by version control systems such as Subversion or Git.
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteCond %{SCRIPT_FILENAME} -d
|
RewriteCond %{SCRIPT_FILENAME} -d [OR]
|
||||||
RewriteCond %{SCRIPT_FILENAME} -f
|
RewriteCond %{SCRIPT_FILENAME} -f
|
||||||
RewriteRule "(^|/)\." - [F]
|
RewriteRule "(^|/)\." - [F]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ function roots_scripts() {
|
|||||||
wp_enqueue_style('roots_bootstrap_responsive_style', '/css/bootstrap-responsive.css', array('roots_bootstrap_style'), null);
|
wp_enqueue_style('roots_bootstrap_responsive_style', '/css/bootstrap-responsive.css', array('roots_bootstrap_style'), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If you're not using Bootstrap, include H5BP's style.css:
|
// If you're not using Bootstrap, include H5BP's main.css:
|
||||||
// wp_enqueue_style('roots_style', '/css/style.css', false, null);
|
// wp_enqueue_style('roots_style', '/css/main.css', false, null);
|
||||||
|
|
||||||
wp_enqueue_style('roots_app_style', '/css/app.css', false, null);
|
wp_enqueue_style('roots_app_style', '/css/app.css', false, null);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user