Very Popular
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177export const snapshot = {};
snapshot[`build a site with eta 1`] = `3`;
snapshot[`build a site with eta 2`] = `{ formats: [ { engines: 1, ext: ".tmpl.ts", pageLoader: [AsyncFunction: module], }, { engines: 1, ext: ".tmpl.js", pageLoader: [AsyncFunction: module], }, { engines: undefined, ext: ".tmpl.json", pageLoader: [AsyncFunction: json], }, { dataLoader: [AsyncFunction: json], engines: undefined, ext: ".json", }, { engines: 1, ext: ".md", pageLoader: [AsyncFunction: text], }, { componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".js", }, { componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".ts", }, { componentLoader: [AsyncFunction: text], engines: 1, ext: ".njk", includesPath: "_includes", pageLoader: [AsyncFunction: text], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yaml", pageLoader: [AsyncFunction: yaml], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yml", pageLoader: [AsyncFunction: yaml], }, { componentLoader: [AsyncFunction: text], engines: 1, ext: ".pug", includesPath: "_includes", pageLoader: [AsyncFunction: text], }, ],}`;
snapshot[`build a site with eta 3`] = `[]`;
snapshot[`build a site with eta 4`] = `{ content: '<html class="no-js" lang="en"><head><meta charset="utf-8"/><title>Pug example</title></head><body><h1>Home</h1></body></html>', data: { content: "extends /layout.pugblock content h1 Home", date: 1970-01-01T00:00:00.000Z, page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], title: "Pug example", url: "/extends/", }, dest: { ext: ".html", path: "/extends/index", }, src: { ext: ".pug", path: "/extends", remote: undefined, },}`;
snapshot[`build a site with eta 5`] = `{ content: '<html class="no-js" lang="en"><head><meta charset="utf-8"/><title>Markdown content</title></head><body><h1>This is a title</h1><p>This is a paragraph</p><ul><li>Option 1</li><li>Option 2</li></ul></body></html>', data: { content: "extends ./_includes/layout.pugblock content :md # This is a title This is a paragraph - Option 1 - Option 2", date: 1970-01-01T00:00:00.000Z, page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], title: "Markdown content", url: "/article.html", }, dest: { ext: ".html", path: "/article", }, src: { ext: ".pug", path: "/filter", remote: undefined, },}`;
snapshot[`build a site with eta 6`] = `{ content: '<html class="no-js" lang="en"><head><meta charset="utf-8"/><title>Pug example</title></head><body><header><h1>Pug example</h1></header></body></html>', data: { content: "header h1 #{title}", date: 1970-01-01T00:00:00.000Z, layout: "layout2.pug", page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], title: "Pug example", url: "/layout/", }, dest: { ext: ".html", path: "/layout/index", }, src: { ext: ".pug", path: "/layout", remote: undefined, },}`;