pantor
dadbb856cd
add config throw_missing_includes, search_in_files
2020-06-27 17:47:58 +02:00
pantor
10b8ccccbc
restructure third party modules
2020-06-25 22:57:37 +02:00
pantor
025846d75e
add else if and else to readme
2020-06-15 20:58:29 +02:00
pantor
8f2fac5d4d
update version, code style
2020-04-10 15:58:05 +02:00
pantor
c2c95a4871
fix readme for trim and lstrip
2020-04-10 15:49:16 +02:00
pantor
7101c77c41
Merge branch 'master' of https://github.com/pantor/inja
2020-04-10 15:48:45 +02:00
pantor
d717b6ede3
fix blocks in readme
2020-04-10 15:48:43 +02:00
pantor
ef3846ff2b
Update README.md
2020-04-10 15:42:49 +02:00
pantor
7697359c32
update compilers in readme
2020-03-21 15:34:11 +01:00
pantor
bbb1f3a1da
fix ci
2020-03-21 15:21:42 +01:00
pantor
3f624db81a
badges to github action
2020-03-18 11:49:02 +01:00
pantor
225a468032
center badges in readme
2020-03-18 08:47:51 +01:00
Tom
1b2212cc69
Fix error in example for included templates ( #122 )
...
When using templates from an environment, `inja::env::render`
must be used.
Closes #121
2019-11-09 20:41:32 +08:00
pantor
b46d92a793
remove coverage
2019-09-10 15:38:47 +02:00
pantor
d25937a85b
add test and readme
2019-09-08 16:19:50 +02:00
pantor
57ac9b9372
update readme
2019-07-28 14:23:50 +02:00
pantor
d5532ac26a
add at function
2019-04-07 16:15:12 +02:00
pantor
67699c2549
fix wrong render_file in readme
2019-04-07 13:32:59 +02:00
Paul Fultz II
4c0ee3a46c
Improve support for installing with cget ( #88 )
...
* Improve support for installing with cget
* add specific version, clean cmake
* fix version to "v2.1.0"
2019-02-16 12:39:59 +01:00
pantor
5553ee7526
add older compilers
2019-01-21 21:42:52 +01:00
pantor
41857c2c83
add line break
2019-01-20 09:51:53 +01:00
pantor
87ab78acf0
add link to documentation
2019-01-20 09:49:52 +01:00
Tim
0bff74666e
Change std::stringstream& to std::ostream& in render_to() ( #76 )
...
* Change std::stringstream& to std::ostream& in render_to()
Fixes #75
* Expose render_to
* Update readme with example of render_to
2019-01-10 14:39:12 +01:00
pantor
210848bb98
Readme fix write_with_json_file
2019-01-08 17:09:11 +01:00
Lars Berscheid
a9d4ca9a4e
fix string view reference movement in bytecode
2019-01-07 16:41:16 +01:00
pantor
699c207c8c
Inja v2 ( #67 )
...
* inja2
* header only
* reduce dependencies
* code cleaning
* c++17
* use stdc++
* code cleaning
* infrastructure
* header only
* add infrastructure
* fix tests
* use minimum clang 6
* code cleaning, polyfill for c++11
* fix some file tests
* fix readme
* update appveyor
* fix polyfill and ci
* fix polyfill
* fix ci?
* test msvc __cplusplus
* add doxygen
* activate all tests
* code cleaning
* add coveralls, set default to dot notation
* add html test
* add doxygen comments
* test single_include file
* change build folder in appveyor
* correct make arguments in appveyor
* fix appveyor arguments
2018-12-23 16:13:15 +01:00
pantor
6bae3a7d5a
update readme
2018-12-14 18:04:39 +01:00
pantor
b66f2d23aa
add type checks: isString, ...
2018-11-11 14:34:35 +01:00
pantor
bac1771d42
clearer integration
2018-11-11 14:10:03 +01:00
pantor
0898b1c302
use loop object for loop variables
2018-05-22 22:52:55 +02:00
pantor
71cfb21e61
include nlohmann/json in inja directly
2018-05-15 20:23:09 +02:00
pantor
cb18e2cd0c
add in-memory includes via include_template
2018-05-14 20:21:29 +02:00
pantor
95e3712aaf
add vcpkg integration
2018-05-06 09:03:46 +02:00
pantor
29d0ddcf09
Add Conan integration to readme
2018-04-18 16:48:45 +02:00
Samuel Leweke
1cb6b15cca
Add exists() function that checks existence of key ( #38 )
...
* Add exists() function that checks existence of key
Adds an exists() function that checks whether a given key exists in the
data. If only one argument is provided to exists(), the global data is
queried for the item. If two arguments are given, the first argument
specifies the object to query for the key given as second argument.
Also adds corresponding unit tests and updates README for
documentation.
* Split exists() into exists() and existsIn()
Splits the exists() function, which previously took both one or two
arguments, into an exists() function accepting one and an existsIn()
function accepting two arguments.
2018-04-02 15:54:00 +02:00
pantor
6f7fad983d
add float and int string conversion
2018-03-01 11:29:56 +01:00
pantor
07b49af6a4
add readme plural line statements
2018-02-28 12:01:14 +01:00
lbersch
e90e849a5e
Merge branch 'master' into patch-2
2018-02-28 11:35:51 +01:00
Ludek Vodicka
08b1245f5b
Fixed set_* methods
2018-02-26 13:04:36 +01:00
Ludek Vodicka
aafd86b80c
Fixed typo
...
set_line_statements vs set_line_statement
2018-02-26 12:43:51 +01:00
pantor
c29fd9189d
allow callbacks with the same name but different number of arguments
2018-02-23 20:07:04 +01:00
pantor
c5ea89c87e
correct write template
2018-02-23 15:45:34 +01:00
pantor
4d0ceda62d
add meson build interface to readme
2018-02-23 12:49:47 +01:00
pantor
74ad4281ed
fix render file/template bug
2018-02-20 10:20:26 +01:00
pantor
a6f9911d3a
try clang 5
2018-02-19 23:16:56 +01:00
pantor
44da70da1a
fix data in readme doc
2018-02-19 22:45:00 +01:00
pantor
0e1d1d5084
badge appveyor master branch
2018-02-19 11:22:25 +01:00
pantor
fd76144caa
remove empty line in readme
2018-02-18 20:30:26 +01:00
pantor
9f97c9add1
add sort function
2018-02-18 19:41:56 +01:00
pantor
37d16d3c3a
min, max functions
2018-02-18 19:34:16 +01:00