Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
clay-kiln
Advanced tools
🔥 Editing tools for Clay 🔥
Powering New York Magazine, Vulture, The Cut, Grub Street. Created by New York Media.
npm install --save clay-kiln
Kiln comes with compiled scripts and styles, most of which will be automatically inlined by the template.
The logged-in scripts must be copied (from dist/clay-kiln-edit.js
and dist/clay-kiln-view.js
) into your publicly-served assets directory, as they'll be linked by <script src="[site assetPath]/js/clay-kiln-edit.js">
and <script src="[site assetPath]/js/clay-kiln-view.js">
.
This allows your end users' browsers to cache the (fairly weighty) Kiln application code, speeding up page loads across your sites.
As Kiln itself is a component, it must be included in your layouts and have some data, e.g. allow: true
(a convention we use for components that don't otherwise have data in them). Add an instance of Kiln to your bootstraps:
components:
clay-kiln:
instances:
general:
allow: true
Then create a non-editable component list in your layout (preferably near the end), and add a reference to your Kiln instance:
components:
layout:
instances:
article:
kilnInternals:
-
_ref: /_components/clay-kiln/instances/general
Make sure you add that component list to your layout template, and double check that it isn't editable:
<div class="kiln-internals">{{ > component-list kilnInternals }}</div>
FAQs
Editor tools for Clay
The npm package clay-kiln receives a total of 107 weekly downloads. As such, clay-kiln popularity was classified as not popular.
We found that clay-kiln demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 19 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.