|
2 | 2 | <html lang="en">
|
3 | 3 | <head>
|
4 | 4 | <meta charset="utf-8"/>
|
5 |
| - <title>PHP: The Right Way</title> |
6 |
| - <meta name="description" content="An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web"/> |
| 5 | + <title>{% if page.title %}{{ page.title }} - {% endif %}PHP: The Right Way</title> |
| 6 | + <meta name="description" content="{{ page.description }}"/> |
7 | 7 | <meta name="robots" content="index,follow,archive"/>
|
8 | 8 | <meta property="og:image" content="http://www.phptherightway.com/images/og-logo.png"/>
|
9 | 9 | <meta property="og:title" content="PHP: The Right Way"/>
|
|
12 | 12 | <meta property="og:site_name" content="PHP: The Right Way"/>
|
13 | 13 | <meta property="og:type" content="website"/>
|
14 | 14 | <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alfa+Slab+One|Droid+Serif"/>
|
15 |
| - <link rel="stylesheet" href="/styles.css"/> |
| 15 | + <link rel="stylesheet" href="/styles/all.css"/> |
16 | 16 | <link rel="icon" href="/images/favicon.png" type="image/png"/>
|
17 | 17 | <script>
|
18 | 18 | var _gaq = _gaq || [];
|
|
26 | 26 | </script>
|
27 | 27 | </head>
|
28 | 28 | <body>
|
29 |
| - <header class="site-header"> |
30 |
| - <div class="site-title"><a href="/">PHP</a></div> |
31 |
| - <div class="site-slogan">The Right Way.</div> |
32 |
| - <nav> |
33 |
| - <ul class="toc"> |
34 |
| - <li><a href="#introduction">Introduction</a></li> |
35 |
| - <li><a href="#code_style_guide">Code Style Guide</a></li> |
36 |
| - <li><a href="#namespaces">Namespaces</a></li> |
37 |
| - <li><a href="#input_filtering">Input Filtering</a></li> |
38 |
| - <li><a href="#databases_and_pdo">Databases and PDO</a></li> |
39 |
| - <li><a href="#password_hashing_with_bcrypt">Password Hashing with Bcrypt</a></li> |
40 |
| - <li><a href="#dependency_management">Dependency Management</a></li> |
41 |
| - <li><a href="#web_application_security">Web Application Security</a></li> |
42 |
| - <li><a href="#command_line_interface">Command Line Interface</a></li> |
43 |
| - <li><a href="#popular_frameworks">Popular Frameworks</a></li> |
44 |
| - <li><a href="#links_and_resources">Links & Resources</a></li> |
45 |
| - </ul> |
46 |
| - </nav> |
47 |
| - <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.phptherightway.com/" data-size="large" data-hashtags="php">Tweet</a> |
48 |
| - </header> |
| 29 | + <nav class="site-navigation"> |
| 30 | + <ul> |
| 31 | + <li><a href="/index.html#introduction">Introduction</a></li> |
| 32 | + <li><a href="/index.html#code_style_guide">Code Style Guide</a></li> |
| 33 | + <li><a href="/index.html#namespaces">Namespaces</a></li> |
| 34 | + <li><a href="/index.html#input_filtering">Input Filtering</a></li> |
| 35 | + <li><a href="/index.html#databases_and_pdo">Databases and PDO</a></li> |
| 36 | + <li><a href="/index.html#password_hashing_with_bcrypt">Password Hashing with Bcrypt</a></li> |
| 37 | + <li><a href="/index.html#dependency_management">Dependency Management</a></li> |
| 38 | + <li><a href="/index.html#web_application_security">Web Application Security</a></li> |
| 39 | + <li><a href="/index.html#command_line_interface">Command Line Interface</a></li> |
| 40 | + <li><a href="/index.html#popular_frameworks">Popular Frameworks</a></li> |
| 41 | + <li><a href="/index.html#links_and_resources">Links & Resources</a></li> |
| 42 | + </ul> |
| 43 | + </nav> |
49 | 44 |
|
50 | 45 | <div class="site-content">
|
| 46 | + <header class="site-header"> |
| 47 | + <hgroup> |
| 48 | + <h1 class="site-title"><a href="/">PHP</a></h1> |
| 49 | + <h2 class="site-slogan">The Right Way.</h2> |
| 50 | + </hgroup> |
| 51 | + <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.phptherightway.com/" data-size="large" data-hashtags="php">Tweet</a> |
| 52 | + </header> |
51 | 53 | {{ content }}
|
| 54 | + <footer class="site-footer"> |
| 55 | + <p>Created and maintained by <a href="http://twitter.com/codeguy">Josh Lockhart</a>. Favicon from <a href="http://pictos.cc/">Pictos</a>.</p> |
| 56 | + <small>Sponsored by <a href="http://www.newmediacampaigns.com"><img src="images/nmc-logo.gif" alt="New Media Campaigns"/></a></small> |
| 57 | + </footer> |
52 | 58 | </div>
|
53 | 59 |
|
54 |
| - <footer class="site-footer"> |
55 |
| - <small>Created and maintained by <a href="http://twitter.com/codeguy">Josh Lockhart</a>. Favicon from <a href="http://pictos.cc/">Pictos</a>.</small> |
56 |
| - </footer> |
57 |
| - |
58 | 60 | <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
59 | 61 | </body>
|
60 | 62 | </html>
|
0 commit comments