diff --git a/.gitignore b/.gitignore index df8ac1e..95172d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +# Read about how to use .gitignore: http://h5bp.com/ae + # Numerous always-ignore extensions *.diff *.err diff --git a/css/style.css b/css/main.css similarity index 100% rename from css/style.css rename to css/main.css diff --git a/header.php b/header.php index 1af7912..8810ba5 100644 --- a/header.php +++ b/header.php @@ -1,4 +1,4 @@ - + diff --git a/inc/h5bp-htaccess b/inc/h5bp-htaccess index deaca09..e9d413a 100644 --- a/inc/h5bp-htaccess +++ b/inc/h5bp-htaccess @@ -274,6 +274,17 @@ AddType application/x-shockwave-flash swf # +# ---------------------------------------------------------------------- +# 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 + +# +# Header set Cache-Control "no-transform" +# + # ---------------------------------------------------------------------- @@ -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. + +# +# Header set Connection Keep-Alive +# + + + # ---------------------------------------------------------------------- # Cookie setting from iframes # ---------------------------------------------------------------------- @@ -467,10 +492,10 @@ AddCharset utf-8 .css .js .xml .json .rss .atom -# 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. - RewriteCond %{SCRIPT_FILENAME} -d + RewriteCond %{SCRIPT_FILENAME} -d [OR] RewriteCond %{SCRIPT_FILENAME} -f RewriteRule "(^|/)\." - [F] diff --git a/inc/scripts.php b/inc/scripts.php index 60acdc3..824fb91 100644 --- a/inc/scripts.php +++ b/inc/scripts.php @@ -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);