Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benatespina/amptwigtheme
AMP oriented theme for Twig template engine
https://github.com/benatespina/amptwigtheme
amp ampproject theme twig twig-templates
Last synced: about 1 month ago
JSON representation
AMP oriented theme for Twig template engine
- Host: GitHub
- URL: https://github.com/benatespina/amptwigtheme
- Owner: benatespina
- License: mit
- Created: 2017-09-29T18:33:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-14T14:26:53.000Z (over 5 years ago)
- Last Synced: 2024-10-12T11:15:54.234Z (2 months ago)
- Topics: amp, ampproject, theme, twig, twig-templates
- Language: HTML
- Size: 276 KB
- Stars: 33
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AMP Twig Theme
> AMP oriented theme for Twig template engine[![Build Status](https://travis-ci.org/benatespina/AMPTwigTheme.svg?branch=master)](https://travis-ci.org/benatespina/AMPTwigTheme)
[![Total Downloads](https://poser.pugx.org/benatespina/amp-twig-theme/downloads)](https://packagist.org/packages/benatespina/amp-twig-theme)
[![Latest Stable Version](https://poser.pugx.org/benatespina/amp-twig-theme/v/stable.svg)](https://packagist.org/packages/benatespina/amp-twig-theme)
[![Latest Unstable Version](https://poser.pugx.org/benatespina/amp-twig-theme/v/unstable.svg)](https://packagist.org/packages/benatespina/amp-twig-theme)## Requirements
PHP >= 7.0## Installation
The easiest way to install this bundle is using [Composer][2]
```bash
$ composer require benatespina/amp-twig-theme
```## Documentation
All the documentation is stored in the `docs` folder.[Show me the docs!](docs/index.md)
## Tests
You can easily start a simple application based on Symfony framework to test the AMP Twig theme.
```bash
$ cd tests/Application
$ bin/console assets:install --symlink --relative
$ bin/console --docroot=public
$ open http://127.0.0.1:8000
```## Contributing
This library follows Twig coding standards, so pull requests need to execute the Allocine's [TwigCs][1]. In order
to simplify we provide a Composer script that wraps all the commands related with this process.
```bash
$ composer run-script cs
```There is also a policy for contributing to this bundle. Pull requests must be explained step by step to make the
review process easy in order to accept and merge them.## Credits
This theme is created by:
>
**@benatespina** - [[email protected]](mailto:[email protected])## Licensing Options
[![License](https://poser.pugx.org/benatespina/amp-twig-theme/license.svg)](https://github.com/benatespina/AMPTwigTheme/blob/master/LICENSE)[1]: https://github.com/allocine/twigcs
[2]: http://getcomposer.org