Add updates from H5BP

This commit is contained in:
Ben Word
2012-06-11 21:00:12 -06:00
parent f40ee23d85
commit 0ed246ec55
5 changed files with 32 additions and 5 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,5 @@
# Read about how to use .gitignore: http://h5bp.com/ae
# Numerous always-ignore extensions
*.diff
*.err

View File

@@ -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 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]-->

View File

@@ -274,6 +274,17 @@ AddType application/x-shockwave-flash swf
# </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
# ----------------------------------------------------------------------
@@ -467,10 +492,10 @@ AddCharset utf-8 .css .js .xml .json .rss .atom
</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.
<IfModule mod_rewrite.c>
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -d [OR]
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</IfModule>

View File

@@ -7,8 +7,8 @@ function roots_scripts() {
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:
// wp_enqueue_style('roots_style', '/css/style.css', false, null);
// If you're not using Bootstrap, include H5BP's main.css:
// wp_enqueue_style('roots_style', '/css/main.css', false, null);
wp_enqueue_style('roots_app_style', '/css/app.css', false, null);