Eleventy Plugin Baseline

A magic carpet ride

Documentation — Table of Contents

navigator-core

Note: The options API is still evolving; expect tweaks as the project grows.

What it does

See the Navigator template in action.

Default configuration

eleventyConfig.addPlugin(baseline({ enableNavigatorTemplate: false }));

How it works

Example usage

{% for key, value in _navigator() %}
  <details>
    <summary><strong>{{ key }}</strong></summary>
    {% if value | isString %}
      <pre>{{ value | safe }}</pre>
    {% else %}
      <pre>{{ value | _inspect({ depth: inspectorDepth }) }}</pre>
    {% endif %}
  </details>
{% endfor %}

Tips

Previous: multilang-core

Next: sitemap-core