<commit_before>Themeleon Mustache
==================

> [Mustache] mixin for [Themeleon].

[Mustache]: https://mustache.github.io/
[Themeleon]: https://github.com/themeleon/themeleon

Installation
------------

In your `package.json`:

```json
{
  "dependencies": {
    "themeleon": "1.*",
    "themeleon-mustache": "1.*"
  }
}
```

Usage
-----

Say we have the following theme structure:

```
views/
  foo/
    bar.mustache
  foo.mustache
  index.mustache
```
*Note: `.mustache` and `.mst` extensions are supported.*


```js
var themeleon = require('themeleon')();

// Use the Mustache mixin
themeleon.use('mustache');

// Or inject your own instance
themeleon.use('mustache', require('mustache'));

module.exports = themeleon(__dirname, function (t) {
  // Render index alone
  t.mustache('views/index.mustache', 'index.html');

  // Or include a partials object
  t.mustache('views/index.mustache', 'index.html', {
    foo: 'views/foo.mustache',
    'foo/bar': 'views/foo/bar.mustache',
  });

  // Or let the mixin resolve all `.mustache` files in `views`
  t.mustache('views/index.mustache', 'index.html', 'views');
});
```<commit_msg>docs: move `.mst` notice to the right place<commit_after>Themeleon Mustache
==================

> [Mustache] mixin for [Themeleon].

[Mustache]: https://mustache.github.io/
[Themeleon]: https://github.com/themeleon/themeleon

Installation
------------

In your `package.json`:

```json
{
  "dependencies": {
    "themeleon": "1.*",
    "themeleon-mustache": "1.*"
  }
}
```

Usage
-----

Say we have the following theme structure:

```
views/
  foo/
    bar.mustache
  foo.mustache
  index.mustache
```

```js
var themeleon = require('themeleon')();

// Use the Mustache mixin
themeleon.use('mustache');

// Or inject your own instance
themeleon.use('mustache', require('mustache'));

module.exports = themeleon(__dirname, function (t) {
  // Render index alone
  t.mustache('views/index.mustache', 'index.html');

  // Or include a partials object
  t.mustache('views/index.mustache', 'index.html', {
    foo: 'views/foo.mustache',
    'foo/bar': 'views/foo/bar.mustache',
  });

  // Or let the mixin resolve all `.mustache` files in `views`
  // Note: `.mustache` and `.mst` extensions are supported.
  t.mustache('views/index.mustache', 'index.html', 'views');
});
```
{'fraction_non_alphanumeric': 0.20155709342560554, 'fraction_numerical': 0.0017301038062283738, 'mean_word_length': 3.653923541247485, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5116862', 'n_tokens_mistral': 829, 'n_tokens_neox': 805, 'n_words': 185}