Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
docpad-plugin-cleanurls
Advanced tools
Adds support for clean URLs to DocPad
docpad install cleanurls
For non-static environments we will set the document's url to it's clean url. This means that our document is still outputted to the same place on the file system as the clean url stuff is handled by the web server instead. This is the default.
For static environments we will set the document's outPath
to that of a directory with a index.html
file (e.g. pages/welcome.html
will be outputted to pages/welcome/index.html
). You can tell docpad to use the static environment by adding --env static
to the end of your DocPad command, so to perform a one off generation for a static environment you'll run docpad generate --env static
, to perform your usual generate, serve and watch it'll be docpad run --env static
.
If you'd like to disable the static mode when working in the static environment you can add the following to your docpad configuration file.
environments:
static:
plugins:
cleanurls:
enabled: false
Enable to generate document.url
s like '/beep/'
instead of /beep
. Defaults to false
.
You can discover the history inside the History.md
file
You can discover the contributing instructions inside the Contributing.md
file
Licensed under the incredibly permissive MIT License
Copyright © 2012+ Bevry Pty Ltd
Copyright © 2011 Benjamin Lupton
v2.5.1 2013 August 20
FAQs
Adds support for clean URLs to DocPad
The npm package docpad-plugin-cleanurls receives a total of 15 weekly downloads. As such, docpad-plugin-cleanurls popularity was classified as not popular.
We found that docpad-plugin-cleanurls demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.