Commit graph

38 commits

Author SHA1 Message Date
Cameron Little
32cf426956 Add support for spaces (and other specials) in keys
Currently, page url generation (slugification) is just toLowerCase. In https://github.com/yannbertrand/macos-defaults/pull/146 I add some defaults that contain keys with spaces, which currently breaks.

This pulls in `slugify` to add support, and shell escapes keys in examples.
2021-04-06 20:53:41 +02:00
Yann Bertrand
7cb2d44377 🐛 Fix meta tags double quotes escaping 2021-04-05 20:10:03 +02:00
Cameron Little
2bc15fe0de 🩹 Improve markdown support
This improves markdown support within descriptions. Currently, adding multiline text blocks in the defaults.yml file breaks, because the generated head meta tags content includes that whitespace as is and breaks the generated yaml contents. Now, meta tag content is stringified
as JSON, which is yaml compliant. The final html meta tag contains the markdown as is. Also currently, markdown descriptions inserted into the
content can interact with subsequent content (if you end with a list it'll cause funky interaction with the following content). That's fixed by inserting a "break" between (done on categores and pages).
2021-04-05 20:10:03 +02:00
Yann Bertrand
39cc31f013 💄 Use better template semantics and add new capabilities
* Document requirements in schema
* Add support for non-generated example titles
* Escape example values for use in shell
* Rename "delete current value" to "reset to default value" to better explain what it does
2021-04-04 13:19:49 +02:00
Yann Bertrand
77af55b995
🐛 Allow base64 images 2021-01-01 13:38:16 +01:00
Yann Bertrand
feb031775e
🔥 Remove medium zoom plugin 2021-01-01 13:38:16 +01:00
이종영
27e23f206b
🐛 Fix find command (#114) 2020-12-12 11:07:00 +01:00
Yann Bertrand
885c521be7
🔍 Add a sitemap to the production website 2020-12-11 23:26:21 +01:00
Yann Bertrand
a6a996ddd2 🚨 Run Prettier 2020-11-27 14:39:16 +01:00
Yann Bertrand
71eb300dd6
Allow to display a delete alert message 2020-11-13 12:22:04 +01:00
Yann Bertrand
a8e5700d8f
💄 Add Netlify image width & height
Improve CLS as expected by Lighthouse
2020-11-07 12:16:05 +01:00
Yann Bertrand
9f7762281f
🍱 Add iOS icons
Fix some resources not found issues
2020-10-05 21:40:34 +02:00
Yann Bertrand
a3c6c8a136
🐛 Fix CSP 2020-10-05 19:38:08 +02:00
Yann Bertrand
abb03d9b35
🐛 Add Netlify URL to the image Content-Security-Policy 2020-10-05 19:30:18 +02:00
Benjamin Petetot
6d58d1a3ed
Add Netlify logo on all builds (#58)
To avoid paying for more builds!

Also
✏️ Fix start locally command in README for Docusaurus
2020-10-05 19:15:23 +02:00
Yann Bertrand
b23f746fe4
🐛 Enforce lowercase URLs 2020-10-03 15:41:02 +02:00
Yann Bertrand
4f8d08892f
Add GitHub reference on the homepage
This reverts commit 8eb76369f0.
2020-09-30 13:38:21 +02:00
Yann Bertrand
08638ea94a
Display GitHub repo link in production
This reverts commit 29c80181f7.
2020-09-30 13:32:07 +02:00
Yann Bertrand
3a65f06188
🔖 Set netlify production URL 2020-09-26 20:24:54 +02:00
Yann Bertrand
3eb3fa5605
♻️ Normalize templates
- Allow special chars in category name and page title
- Improve HTML image attributes readibility
- Prod: allow double quotes in category and page descriptions
2020-09-26 20:24:54 +02:00
Yann Bertrand
9c8b7a2aeb
🌐 Add config internationalization support 2020-09-26 20:24:54 +02:00
Yann Bertrand
a84b78e2da
🌐 Add french templates translations 2020-09-26 20:24:54 +02:00
Yann Bertrand
e769e79027
📝 Add general infos about the defaults CLI 2020-09-20 20:15:40 +02:00
Yann Bertrand
d7287ed5e5
🔍 Add social meta tags 2020-09-20 20:15:19 +02:00
Yann Bertrand
7f60fba3f1
🔒 Add styles sha256 hashes in CSP config 2020-09-20 20:12:21 +02:00
Yann Bertrand
d6e5169c71
🔒 Add X-XSS-Protection header 2020-09-20 20:12:02 +02:00
Yann Bertrand
55f454a630
🔒 Add X-Content-Type-Options header 2020-09-20 20:11:42 +02:00
Yann Bertrand
2985e7c3de
🔒 Add X-Frame-Options header 2020-09-20 20:11:23 +02:00
Yann Bertrand
d67ca17bd4
🔒 Add Content-Security-Policy header 2020-09-20 20:10:58 +02:00
Yann Bertrand
9e3c1edbba
Increase color contrast 2020-09-20 20:09:59 +02:00
Yann Bertrand
a5c702755b
🔍 Fix link height 2020-09-20 20:09:39 +02:00
Yann Bertrand
42235c5c35
💄 Add the logo in the navbar 2020-09-20 20:07:49 +02:00
Yann Bertrand
5b0a75acf8
💄 Change VuePress accent color 2020-09-20 20:07:13 +02:00
Yann Bertrand
326af11f6a
🔍 Add a robots.txt 2020-09-20 20:06:20 +02:00
Yann Bertrand
6ac6cb240b
🚀 Add icons and meta related stuff
Generated from https://realfavicongenerator.net/
2020-09-20 20:05:39 +02:00
Yann Bertrand
8eb76369f0
🚧 Remove GitHub reference until production 2020-09-20 20:04:28 +02:00
Yann Bertrand
29c80181f7
🚧 Do not display GitHub repo link in production build 2020-09-20 20:03:34 +02:00
Yann Bertrand
4978266d5a
🚚 Copy the vuepress folder to the production one 2020-09-20 20:00:59 +02:00