Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
kirby-linkpost
Advanced tools
Create a new link post entry in a Kirby blog using the command line.
You need to have node and npm installed and a Kirby blog setup as described in this blog post by the creator of Kirby.
You also need to set up a custom post type for link posts as discribed in this blog post. The textfiles for link post have to be called article.link.txt
as proposed in that post.
You need to create at least the first post manually if you don't have any posts yet.
Install the module with: npm install -g kirby-linkpost
To create create a new link post in your Kirby blog setup move into the directory of your Kirby blog e.g.:
cd ~/Dropbox/code/myAwesomeKirbyBlog
and call
klp 'Title Of Post' http://externallink.com
The second argument providing the external link is optional.
The script will create a new directory in /content/01-blog/
. The name of of the directory will be prefixed with the correct number followed by a slug generated from the provided title of the post.
Then it will create a file in that directory called article.link.txt
and fill in the template for a link post including title and the external link if a second argument is provided.
And lastly it opens that file with the subl
command. If you want the script to open it with a different text editor you will have to provide a different command in the script directly.
Just set var callFavTextEditor = 'subl'
to the command of your choice.
(Coming soon)
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
v0.1.0 Initial release. No bugs. Only features. :)
Copyright (c) 2012 Kahlil Lechelt Licensed under the MIT license.
FAQs
Create a new link post entry in a Kirby blog.
We found that kirby-linkpost demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.