Developed with love by KnpLabs Hire us for your project!
0

OryzoneBoilerplateBundle

by Oryzone

Symfony2 bundle to use a HTML5 Boilerplate based twig template

OryzoneBoilerplateBundle

The OryzoneBoilerplateBundle allows you to use a twig template based on the great HTML5 ★ Boilerplate 4.* by Paul Irish, Divya Manian and many other great guys.
So with this bundle you can easily create heavily optimized HTML5 twig templates empowered with great features such as CSS resets, CDNed jQuery (with offline fallback), asynchronous google analytics script and so on.

A little appetizer

Once you've added OryzoneBoilerplateBundle to your project it will be truly damn easy for you to produce an HTML5 enabled template. Here's a quick a fresh served appetizer to disclose what are you going to taste by using this bundle.

{# yourMainBundle/Resources/views/Default/index.html.twig #}

{% extends "OryzoneBoilerplateBundle::html5.html.twig" %}

{% block head_title %}My cool HTML5 website{% endblock %}

{% block body_container_header %}
    <h1>My HTML5 home page is very cool</h1>
{% endblock %}

{% block body_container_main %}
    <p>This is the home page of my wild web site!</p>
{% endblock %}

{% block body_container_footer %}
    Here we go with copyright infos
{% endblock %}

Documentation

The bulk of the documentation is stored in the Resources/doc/index.md file in this bundle.

Installation

All the installation instructions are located in documentation.

License

This bundle is under the MIT license. See the complete license in the bundle: Resources/meta/LICENSE

This bundle includes parts of HTML5 ★ Boilerplate under the MIT license. See the complete license in the bundle: Resources/meta/H5BP.LICENSE

About

OryzoneBoilerplateBundle is an ORYZONE initiative.

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.

Copyright (c) 2011 Oryzone

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.