mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-20 12:21:40 +02:00
Moving to Post structure.
Lots of changes breaking out subsections into posts and programmatically generating ToC, main page content, and Back to Top links.
This commit is contained in:
@@ -31,47 +31,13 @@
|
||||
<div class="build-date">Last Updated: {{ site.time }}</div>
|
||||
<ul>
|
||||
<li><a href="/#site-header">Welcome</a></li>
|
||||
<li><a href="/#getting_started">Getting Started</a>
|
||||
<ul>
|
||||
<li><a href="/#use_the_current_stable_version_54">Use the Current Stable Version (5.4)</a></li>
|
||||
<li><a href="/#builtin_web_server">Built-in Web Server</a></li>
|
||||
<li><a href="/#mac_setup">Mac Setup</a></li>
|
||||
<li><a href="/#windows_setup">Windows Setup</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/#code_style_guide">Code Style Guide</a></li>
|
||||
<li><a href="/#language_highlights">Language Highlights</a>
|
||||
<ul>
|
||||
<li><a href="/#programming_paradigms">Programming Paradigms</a></li>
|
||||
<li><a href="/#namespaces">Namespaces</a></li>
|
||||
<li><a href="/#standard_php_library">Standard PHP Library</a></li>
|
||||
<li><a href="/#command_line_interface">Command Line Interface</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/#dependency_management">Dependency Management</a>
|
||||
<ul>
|
||||
<li><a href="/#composer_and_packagist">Composer and Packagist</a></li>
|
||||
<li><a href="/#pear">Pear</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/#databases_and_pdo">Databases and PDO</a></li>
|
||||
<li><a href="/#security">Security</a>
|
||||
<ul>
|
||||
<li><a href="/#web_application_security">Web Application Security</a></li>
|
||||
<li><a href="/#password_hashing_with_bcrypt">Password Hashing with Bcrypt</a></li>
|
||||
<li><a href="/#input_filtering_and_sanitizing">Input Filtering and Sanitizing</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/#testing">Testing</a></li>
|
||||
<li><a href="/#servers_and_deployment">Servers and Deployment</a>
|
||||
<ul>
|
||||
<li><a href="/#platform_as_a_service_paas">Platform as a Service (PaaS)</a></li>
|
||||
<li><a href="/#virtual_or_dedicated_servers">Virtual or Dedicated Servers</a></li>
|
||||
<li><a href="/#shared_servers">Shared Servers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/#libraries_and_frameworks">Libraries and Frameworks</a></li>
|
||||
<li><a href="/#resources">Resources</a></li>
|
||||
{% assign lastIsChild = false %}
|
||||
{% for post in site.posts reversed %}
|
||||
{% if post.isChild and lastIsChild != true %}<ul>{% endif %}
|
||||
{% if lastIsChild and post.isChild != true %}</ul>{% endif %}
|
||||
<li><a href="#{{ post.title | downcase | replace:' ','_' | replace:'(','' | replace:')','' | replace:'.','' | replace:'-','' }}">{{ post.title }}</a>
|
||||
{% assign lastIsChild = post.isChild %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="site-content">
|
||||
|
Reference in New Issue
Block a user