aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2016-01-27 01:20:33 +0100
committerVictor Häggqvist <[email protected]>2016-01-27 01:20:33 +0100
commit5d147de5db3679fefd6afa70149a5a454a52b015 (patch)
treed7d50fca9e4afb2da5159377ca02ee61c2350de5 /README.md
parent9590f61229a6e23c4f4ed91d34e3224804f69d40 (diff)
fix headings
Diffstat (limited to '')
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index f3ff1e8..15ac225 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
# Twig SortByField Extension [![](https://img.shields.io/travis/victorhaggqvist/Twig-sort-by-field.svg?style=flat)](https://travis-ci.org/victorhaggqvist/Twig-sort-by-field)
A Twig Extension filter to sort an array of entries (objects or arrays) by an entry field.
-# Install
+## Install
With composer
composer require snilius/twig-sort-by-field
-# Sample
-The list could look like this, but obviously with more than one key per array
-.
+## Sample
+The list could look like this, but obviously with more than one key per array.
+
```php
$base = array(
array(
@@ -34,7 +34,8 @@ $base = array(
{% endfor %}
```
-# License
+## License
+
Copyright 2015 Victor Häggqvist
Licensed under the Apache License, Version 2.0 (the "License");