2020-09-13 19:28:38 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`write-categories one category, no page with image should write a category/readme.md file using the category template 1`] = `
|
|
|
|
"---
|
2020-09-13 15:38:00 +00:00
|
|
|
metaTitle: Category | macOS defaults
|
2020-09-13 19:28:38 +00:00
|
|
|
meta:
|
|
|
|
- property: \\"og:title\\"
|
2020-09-13 15:38:00 +00:00
|
|
|
content: macOS defaults > Category
|
2020-09-13 19:28:38 +00:00
|
|
|
- name: \\"description\\"
|
2021-04-05 09:42:18 +00:00
|
|
|
content: \\"This is a description of the category. It can contain "quotes" and markdown.\\\\n\\\\n- a list item\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:description\\"
|
2021-04-05 09:42:18 +00:00
|
|
|
content: \\"This is a description of the category. It can contain "quotes" and markdown.\\\\n\\\\n- a list item\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"twitter:card\\"
|
|
|
|
content: \\"summary\\"
|
|
|
|
- property: \\"twitter:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.webp\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.jpg\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
---
|
|
|
|
# Category
|
|
|
|
|
2020-09-13 15:38:00 +00:00
|
|
|
<img
|
|
|
|
src=\\"./category.png\\" alt=\\"A screenshot of the Category\\"
|
|
|
|
width=\\"740\\" height=\\"80\\" style=\\"height: auto\\"
|
|
|
|
/>
|
2020-09-13 19:28:38 +00:00
|
|
|
|
2021-04-04 14:34:17 +00:00
|
|
|
This is a description of the category. It can contain \\"quotes\\" and markdown.
|
|
|
|
|
|
|
|
- a list item
|
|
|
|
|
|
|
|
## Keys
|
2020-09-13 19:28:38 +00:00
|
|
|
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`write-categories one category, one page should write a category/readme.md file using the category template 1`] = `
|
|
|
|
"---
|
2020-09-13 15:38:00 +00:00
|
|
|
metaTitle: Category | macOS defaults
|
2020-09-13 19:28:38 +00:00
|
|
|
meta:
|
|
|
|
- property: \\"og:title\\"
|
2020-09-13 15:38:00 +00:00
|
|
|
content: macOS defaults > Category
|
2020-09-13 19:28:38 +00:00
|
|
|
- name: \\"description\\"
|
2021-04-04 14:34:17 +00:00
|
|
|
content: \\"Category description.\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:description\\"
|
2021-04-04 14:34:17 +00:00
|
|
|
content: \\"Category description.\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"twitter:card\\"
|
|
|
|
content: \\"summary\\"
|
|
|
|
- property: \\"twitter:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.webp\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.jpg\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
---
|
|
|
|
# Category
|
|
|
|
|
2021-04-04 10:49:28 +00:00
|
|
|
Category description.
|
2020-09-13 19:28:38 +00:00
|
|
|
|
2021-04-04 14:34:17 +00:00
|
|
|
## Keys
|
|
|
|
|
2020-09-13 19:28:38 +00:00
|
|
|
- [Page](./page.html)
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`write-categories one category, two pages should write a category/readme.md file using the category template 1`] = `
|
|
|
|
"---
|
2020-09-13 15:38:00 +00:00
|
|
|
metaTitle: Category | macOS defaults
|
2020-09-13 19:28:38 +00:00
|
|
|
meta:
|
|
|
|
- property: \\"og:title\\"
|
2020-09-13 15:38:00 +00:00
|
|
|
content: macOS defaults > Category
|
2020-09-13 19:28:38 +00:00
|
|
|
- name: \\"description\\"
|
2021-04-04 14:34:17 +00:00
|
|
|
content: \\"Category description.\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:description\\"
|
2021-04-04 14:34:17 +00:00
|
|
|
content: \\"Category description.\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"twitter:card\\"
|
|
|
|
content: \\"summary\\"
|
|
|
|
- property: \\"twitter:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.webp\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.jpg\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
---
|
|
|
|
# Category
|
|
|
|
|
2021-04-04 10:49:28 +00:00
|
|
|
Category description.
|
2020-09-13 19:28:38 +00:00
|
|
|
|
2021-04-04 14:34:17 +00:00
|
|
|
## Keys
|
|
|
|
|
2020-09-13 19:28:38 +00:00
|
|
|
- [Page 1](./page1.html)
|
|
|
|
- [Page 2](./page2.html)
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`write-categories two categories, one page in each should write a category1/readme.md file using the category template 1`] = `
|
|
|
|
"---
|
2020-09-13 15:38:00 +00:00
|
|
|
metaTitle: Category 1 | macOS defaults
|
2020-09-13 19:28:38 +00:00
|
|
|
meta:
|
|
|
|
- property: \\"og:title\\"
|
2020-09-13 15:38:00 +00:00
|
|
|
content: macOS defaults > Category 1
|
2020-09-13 19:28:38 +00:00
|
|
|
- name: \\"description\\"
|
2021-04-04 14:34:17 +00:00
|
|
|
content: \\"Category 1 description.\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:description\\"
|
2021-04-04 14:34:17 +00:00
|
|
|
content: \\"Category 1 description.\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"twitter:card\\"
|
|
|
|
content: \\"summary\\"
|
|
|
|
- property: \\"twitter:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.webp\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.jpg\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
---
|
|
|
|
# Category 1
|
|
|
|
|
2021-04-04 10:49:28 +00:00
|
|
|
Category 1 description.
|
2020-09-13 19:28:38 +00:00
|
|
|
|
2021-04-04 14:34:17 +00:00
|
|
|
## Keys
|
|
|
|
|
2020-09-13 19:28:38 +00:00
|
|
|
- [Page](./page.html)
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`write-categories two categories, one page in each should write a category2/readme.md file using the category template 1`] = `
|
|
|
|
"---
|
2020-09-13 15:38:00 +00:00
|
|
|
metaTitle: Category 2 | macOS defaults
|
2020-09-13 19:28:38 +00:00
|
|
|
meta:
|
|
|
|
- property: \\"og:title\\"
|
2020-09-13 15:38:00 +00:00
|
|
|
content: macOS defaults > Category 2
|
2020-09-13 19:28:38 +00:00
|
|
|
- name: \\"description\\"
|
2021-04-04 14:34:17 +00:00
|
|
|
content: \\"Category 2 description.\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:description\\"
|
2021-04-04 14:34:17 +00:00
|
|
|
content: \\"Category 2 description.\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"twitter:card\\"
|
|
|
|
content: \\"summary\\"
|
|
|
|
- property: \\"twitter:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.webp\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
- property: \\"og:image\\"
|
2020-09-20 19:47:59 +00:00
|
|
|
content: \\"https://macos-defaults.netlify.app/media-1x1.jpg\\"
|
2020-09-13 19:28:38 +00:00
|
|
|
---
|
|
|
|
# Category 2
|
|
|
|
|
2021-04-04 10:49:28 +00:00
|
|
|
Category 2 description.
|
2020-09-13 19:28:38 +00:00
|
|
|
|
2021-04-04 14:34:17 +00:00
|
|
|
## Keys
|
|
|
|
|
2020-09-13 19:28:38 +00:00
|
|
|
- [Page](./page.html)
|
|
|
|
"
|
|
|
|
`;
|