Eleventy Plugin Baseline Navigator

A magic carpet ride

 Go back

Navigator

env
Environment {
  _events: [Object: null prototype] {},
  _eventsCount: 0,
  _maxListeners: undefined,
  opts: {
    dev: true,
    autoescape: true,
    throwOnUndefined: false,
    trimBlocks: false,
    lstripBlocks: false
  },
  loaders: [
    FileSystemLoader {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      pathsToNames: {},
      noCache: false,
      searchPaths: [Array],
      cache: {},
      [Symbol(shapeMode)]: false,
      [Symbol(kCapture)]: false
    }
  ],
  globals: {
    range: [Function: range],
    cycler: [Function: cycler],
    joiner: [Function: joiner],
    date: { toUTCISO: [Function: toUTCISO] },
    _navigator: [Function: fn],
    _context: [Function: fn]
  },
  filters: {
    abs: [Function: abs],
    batch: [Function: batch],
    capitalize: [Function: capitalize],
    center: [Function: center],
    default: [Function: default_],
    dictsort: [Function: dictsort],
    dump: [Function: dump],
    escape: [Function: escape],
    safe: [Function: safe],
    first: [Function: first],
    forceescape: [Function: forceescape],
    groupby: [Function: groupby],
    indent: [Function: indent],
    join: [Function: join],
    last: [Function: last],
    length: [Function: lengthFilter],
    list: [Function: list],
    lower: [Function: lower],
    nl2br: [Function: nl2br],
    random: [Function: random],
    reject: [Function: filter],
    rejectattr: [Function: rejectattr],
    select: [Function: filter],
    selectattr: [Function: selectattr],
    replace: [Function: replace],
    reverse: [Function: reverse],
    round: [Function: round],
    slice: [Function: slice],
    sum: [Function: sum],
    sort: [Function: macro],
    string: [Function: string],
    striptags: [Function: striptags],
    title: [Function: title],
    trim: [Function: trim],
    truncate: [Function: truncate],
    upper: [Function: upper],
    urlencode: [Function: urlencode],
    urlize: [Function: urlize],
    wordcount: [Function: wordcount],
    float: [Function: float],
    int: [Function: macro],
    d: [Function: default_],
    e: [Function: escape],
    inputPathToUrl: [Function (anonymous)],
    slug: [Function (anonymous)],
    slugify: [Function (anonymous)],
    url: [Function (anonymous)],
    log: [Function (anonymous)],
    getCollectionItemIndex: [Function (anonymous)],
    getCollectionItem: [Function (anonymous)],
    getPreviousCollectionItem: [Function (anonymous)],
    getNextCollectionItem: [Function (anonymous)],
    locale_url: [Function (anonymous)],
    locale_links: [Function (anonymous)],
    locale_page: [Function (anonymous)],
    addPathPrefixToFullUrl: [Function (anonymous)],
    htmlBaseUrl: [Function (anonymous)],
    markdownify: [Function (anonymous)],
    relatedPosts: [Function (anonymous)],
    isString: [Function (anonymous)],
    _inspect: [Function (anonymous)],
    _json: [Function (anonymous)],
    _keys: [Function (anonymous)],
    renderTransforms: [Function (anonymous)],
    transformWithHtmlBase: [Function (anonymous)],
    inlinePostCSS: [Function (anonymous)],
    inlineESbuild: [Function (anonymous)]
  },
  tests: {
    callable: [Function: callable],
    defined: [Function: defined],
    divisibleby: [Function: divisibleby],
    escaped: [Function: escaped],
    equalto: [Function: equalto],
    eq: [Function: equalto],
    sameas: [Function: equalto],
    even: [Function: even],
    falsy: [Function: falsy],
    ge: [Function: ge],
    greaterthan: [Function: greaterthan],
    gt: [Function: greaterthan],
    le: [Function: le],
    lessthan: [Function: lessthan],
    lt: [Function: lessthan],
    lower: [Function: lower],
    ne: [Function: ne],
    null: [Function: nullTest],
    number: [Function: number],
    odd: [Function: odd],
    string: [Function: string],
    truthy: [Function: truthy],
    undefined: [Function: undefinedTest],
    upper: [Function: upper],
    iterable: [Function: iterable],
    mapping: [Function: mapping]
  },
  asyncFilters: [
    'renderTransforms',
    'transformWithHtmlBase',
    'inlinePostCSS',
    'inlineESbuild'
  ],
  extensions: {
    setAsync: PairedShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'setAsync'
    },
    getBundle: ShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'getBundle'
    },
    getBundleFileUrl: ShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'getBundleFileUrl'
    },
    image: ShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'image'
    },
    alertBlock: PairedShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'alertBlock'
    },
    highlight: PairedShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'highlight'
    }
  },
  extensionsList: [
    PairedShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'setAsync'
    },
    ShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'getBundle'
    },
    ShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'getBundleFileUrl'
    },
    ShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'image'
    },
    PairedShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'alertBlock'
    },
    PairedShortcodeFunction {
      tags: [Array],
      parse: [Function (anonymous)],
      run: [Function (anonymous)],
      __name: 'highlight'
    }
  ],
  [Symbol(shapeMode)]: false,
  [Symbol(kCapture)]: false
}
ctx
{
  head: { link: [ [Object] ], script: [ [Object], [Object] ] },
  helpers: { buildCommit: [Function: buildCommit] },
  i18n: {
    defaultLanguage: 'en',
    languages: { en: [Object], nl: [Object], fr: [Object] }
  },
  site: {
    title: 'Eleventy Plugin Baseline',
    tagline: 'A magic carpet ride',
    url: 'https://eleventy-plugin-baseline.netlify.app',
    defaultLanguage: 'en',
    noindex: false
  },
  _baseline: {
    version: '0.1.0-next.20',
    verbose: false,
    enableNavigatorTemplate: true,
    enableSitemapTemplate: true,
    multilingual: true,
    assetsESBuild: { minify: true, target: 'es2020' },
    hasImageTransformPlugin: false,
    defaultLanguage: 'en',
    languages: { en: [Object], nl: [Object], fr: [Object] },
    assets: { input: './src/assets/', output: './dist/assets/' }
  },
  eleventyComputed: {
    page: {
      lang: [Function (anonymous)],
      head: [Function (anonymous)],
      sitemap: [Function (anonymous)]
    }
  },
  eleventy: {
    version: '3.1.2',
    generator: 'Eleventy v3.1.2',
    env: {
      source: 'cli',
      runMode: 'build',
      config: '/opt/build/repo/eleventy.config.js',
      root: '/opt/build/repo'
    },
    directories: {
      input: './src/',
      inputFile: undefined,
      inputGlob: undefined,
      data: './src/_data/',
      includes: './src/_includes/',
      layouts: undefined,
      output: './dist/'
    }
  },
  pkg: {
    name: 'eleventy-plugin-baseline',
    version: '1.0.0',
    description: 'An experimental Swiss army knife toolkit for Eleventy',
    main: 'index.js',
    type: 'module',
    engines: { node: '>=20' },
    scripts: {
      test: 'echo "Error: no test specified" && exit 1',
      start: 'npm-run-all clean dev',
      clean: 'rimraf dist/',
      dev: 'npx @11ty/eleventy --serve',
      'build:eleventy': 'cross-env ELEVENTY_ENV=production npx @11ty/eleventy',
      build: 'npm-run-all clean build:*',
      dryrun: 'npx @11ty/eleventy --dryrun',
      lint: 'eslint . --ext=js,jsx,ts,tsx',
      'lint:fix': 'eslint . --ext=js,jsx,ts,tsx --fix',
      baseline: 'npx @11ty/eleventy --config _baseline/eleventy.config.js --serve'
    },
    author: 'Cristovao Verstraeten',
    license: 'ISC',
    keywords: [ 'eleventy-plugin', 'eleventy' ],
    repository: {
      url: 'git@github.com:apleasantview/eleventy-plugin-baseline.git',
      type: 'git'
    },
    private: true,
    dependencies: {
      '@11ty/eleventy': '3.1.2',
      '@11ty/eleventy-img': '^6.0.4',
      '@11ty/eleventy-plugin-syntaxhighlight': '^5.0.2',
      'cross-env': '^10.1.0',
      cssnano: '^7.1.2',
      dotenv: '^17.2.3',
      esbuild: '0.27.0',
      'npm-run-all': '^4.1.5',
      postcss: '^8.5.6',
      'postcss-import': '^16.1.1',
      'postcss-import-ext-glob': '^2.1.1',
      'postcss-load-config': '^6.0.1',
      'postcss-preset-env': '^10.4.0',
      rimraf: '^6.1.2'
    },
    devDependencies: { sharp: '^0.34.5' }
  },
  title: 'Navigator Core',
  permalink: '/navigator-core.html',
  description: '',
  layout: null,
  eleventyExcludeFromCollections: true,
  inspectorDepth: 2,
  page: {
    inputPath: './src/navigator-core.html',
    fileSlug: 'navigator-core',
    filePathStem: '/navigator-core',
    outputFileExtension: 'html',
    templateSyntax: 'njk',
    date: 2026-01-07T08:05:14.323Z,
    rawInput: '\n' +
      '<!DOCTYPE html>\n' +
      '<html lang="{{ site.defaultLanguage }}">\n' +
      '\n' +
      '<head>\n' +
      '\t<baseline-head></baseline-head>\n' +
      '</head>\n' +
      '\n' +
      '<body>\n' +
      '\t<a href="#main" class="skip-link">\n' +
      '\t\tSkip to main content\n' +
      '\t</a>\n' +
      '\t<header>\n' +
      '\t\t<h1>{{ site.title }} Navigator</h1>\n' +
      '\t\t<div>\n' +
      '\t\t\t<p>{{ site.tagline }}</p>\n' +
      '\t\t</div>\n' +
      '\t</header>\n' +
      '\t<main id="main" tabindex="-1">\n' +
      '\t\t<p><a id="go-back" href=""><span style="vertical-align: text-bottom;">&#8592;</span>&nbsp;Go back</a></p>\n' +
      '\t\t<h2><u>Navigator</u></h2>\n' +
      '\t\t{% for key, value in _navigator() %}\n' +
      '\t\t<details>\n' +
      '\t\t\t<summary><strong>{{ key }}</strong></summary>\n' +
      '\t\t\t{% if value | isString %}\n' +
      '\t\t\t<pre>{{ value | safe }}</pre>\n' +
      '\t\t\t{% else %}\n' +
      '\t\t\t<pre>{{ value | _inspect({ depth: inspectorDepth }) }}</pre>\n' +
      '\t\t\t{% endif %}\n' +
      '\t\t</details>\n' +
      '\t\t{% endfor %}\n' +
      '\t</main>\n' +
      '\t<script>\n' +
      '\t\tdocument.getElementById("go-back").addEventListener("click", (event) => {\n' +
      '\t\t\tevent.preventDefault();\n' +
      '\t\t\thistory.back();\n' +
      '\t\t});\n' +
      '\t</script>\n' +
      '</body>\n' +
      '<footer>\n' +
      '\t<small>Navigator Core — Eleventy Plugin Baseline</small>\n' +
      '</footer>\n' +
      '\n' +
      '</html>\n',
    url: '/navigator-core.html',
    outputPath: './dist/navigator-core.html',
    lang: 'en',
    head: {
      meta: [Array],
      title: 'Navigator Core | Eleventy Plugin Baseline',
      linkCanonical: [Array],
      style: [],
      link: [Array],
      script: [Array],
      meta_social: [Array]
    },
    sitemap: { ignore: false, changefreq: '', priority: -1 }
  },
  collections: {
    docs: [
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object]
    ],
    translations: { homepage: [Object] },
    all: [
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object]
    ]
  }
}
blocks
{}
exported
[]
constructor
[Function: Context]
init
[Function: init]
lookup
[Function: lookup]
setVariable
[Function: setVariable]
getVariables
[Function: getVariables]
addBlock
[Function: addBlock]
getBlock
[Function: getBlock]
getSuper
[Function: getSuper]
addExport
[Function: addExport]
getExported
[Function: getExported]