oryzone/boilerplate-bundle

Integrates HTML5 boilerplate in symfony2 with twig

Installs: 20 417

Dependents: 1

Suggesters: 0

Security: 0

Stars: 58

Watchers: 7

Forks: 14

Open Issues: 0

Type:symfony-bundle

v4.3.2 2015-01-09 20:21 UTC

This package is not auto-updated.

Last update: 2024-11-09 13:02:51 UTC


README

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.