Closed shawnthompson closed 2 weeks ago
Name | Link |
---|---|
Latest commit | ebcc1f3e0b78e97537b73b2e6c305b15dabdd41d |
Latest deploy log | https://app.netlify.com/sites/a11ycanada/deploys/6688379d4021f6000868ce45 |
Deploy Preview | https://deploy-preview-604--a11ycanada.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Added Functionality to Ensure Unique File Names:
The script now checks if a file with the same slugified title already exists in the target directory. If a file already exists, the script prompts the user to provide a new title until a unique one is given.
Dynamic Front Matter Content:
The script dynamically generates the front matter content without leaving blank lines. It includes the internalLinks: true line only if the user indicates there are internal links in the content.
User Input Logging:
The script logs user inputs for titles, descriptions, and the internal links flag to verify correctness.
Handling File Existence:
The script prompts the user to provide a new title if the slugified title already exists, ensuring no files are overwritten accidentally.