Skip to content

justinlabenne/HTML5-PHP-Web-Site

Repository files navigation

HTML5 PHP Web Site

Licenses:

Everything else:

Summary:

  • PHP Template and H5BP ripoff using JQuery, Modernizr, normalize.css and 960 grid system
  • The "oldie" conditional class to style for IE8 and lower. http://bit.ly/jKmkHM

Adjustments and Descriptions:

build (directory)

  • Generic build script for Windows (build.cmd)
  • Removes any previous incarnations of the publish directory
  • Generates a filename based on date/time %FILENAME%
  • Copies files to a temp dir, then to a local publish dir (XCOPY limitation)
  • Optimizes jpg/png images using optipng and jpegtran
  • Minfies the style.css file and creates a new filename style.%FILENAME%.css
  • Updates include\header.php file with a reference to the minified stylesheet

css (directory)

  • style.css: normalize.css, 960 grid, h5bp styles.

images (directory)

  • Where you put images.

includes (directory)

  • closer.php: The last gasp of scripts for the page (inline copyright, analytics, IE6 Chrome frame prompt)
  • footer.php: Closing markup for the page and JQuery (if you need on every page)
  • header.php: meta tags to fill out site wide, plus some php vars allowing for per page adjustment. The starting markup of the site.

js (directory)

  • jquery-1.7.1.min.js: latest minified version.
  • modernizr-2.0.6.min.js: latest minified version using a custom build.

.htaccess:

404.html

apple-touch-icon.png:

crossdomain.xml

favicon.ico:

  • Self explanatory.

humans.txt:

  • Adjust "team" and other aspects you wish to include OR remove it if you don't believe it to be the cats ass.
  • http://humanstxt.org/

index.php:

  • Example starter page outlining where page markup goes, scripts should go, and php vars to adjust per page.

robots.txt:

sitemap.xml:

Changelog:

v0.2 - 11/29/2011

  • Updated JQuery version to 1.7.1
  • Tweaks and things

v0.1 - 09/04/2011 - Initial Release

Credits:

About

HTML5 PHP Web Site Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published