Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
tanigami committed Nov 6, 2018
2 parents 6d50b8d + 45a8d11 commit a9b6488
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
@@ -1,4 +1,4 @@
# PHP tool for handling text template files
# Template

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/shippinno/template-php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/shippinno/template-php/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/shippinno/template-php/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/shippinno/template-php/?branch=master)
Expand All @@ -17,7 +17,8 @@ Assume that you have a [Liquid](https://shopify.github.io/liquid/) template file
```sh
$ tree -d /templates
/templates
|-- hello.liquid
`-- hello.liquid
$
$ cat /templates/hello.liquid
Hello, {{ you }} !!
```
Expand Down Expand Up @@ -48,7 +49,7 @@ $liquid = new Liquid($filesystem);

Or you can also just render with a template source.

```
```php
$twig = new Twig;
$twig->renderSource('Hello, {{ you }} !!', ['you' => 'Shipiinno']); // => 'Hello, Shippinno !!'
```
Expand Down

0 comments on commit a9b6488

Please sign in to comment.