
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Minimal markdown blog builder.
npm i plix -g
plix new my-fabulous-blog
cd my-fabulous-blog
plix page my-first-page
plix build
In the root of your generated blog you will find the plix.json file.
Here is the default:
{
"title": "My New Plix Blog",
"theme": "simplest",
"themeData": {
"headerOverlayColour": "rgba(59, 48, 84, 0.6)"
},
"author": {
"name": "Blog Owner",
"bio": "Insert your bio here",
"photo": "https://i.pravatar.cc/300",
"job": "Describe your job here."
},
"social": {
"Twitter": "leenattress",
"Github": "leenattress",
"LinkedIn": "leenattress"
},
"links": {
"Home": "/",
"Github": "https://www.npmjs.com/package/plix",
"NPM": "https://www.npmjs.com/package/plix"
}
}
This file is passed into every page, its a good place to keep global key/values such as settings specific to your blog.
Plix uses Nunjucks for it's templates and you will find only a single file in the theme folder: page.html.
This page contains all the necessary logic to create not only the homepage and it's numbered indexes, but the blog content page. Remember that Plix is a minimal blog engine, so we deliberately dont get complicated. We want the simplest possible blog.
Each markdown you'll notice has some metadata at the top. This is not rendered as part of the page, but rather extracted and available in the Nunjucks template. This is the structure of the data available in the Nunjucks page:
{{pageTitle}} is the title found in the markdown meta-data.{{pageDate}} is the data found in the markdown meta-data.{{pageContent}} is the html, rendered using the markdown found in the remainder of the file.{{pageLink}} is the filename of this file, with a html extension.{{pageFeaturedImage}} is the path to a featured image for this blog entry.{{siteConfig}} is the config, found in plix.json{{siteConfig}}, by default contains the title of your blog, as well as any data you see fit to put in there.
You can access the data like this: {{siteConfig.title}} or {{siteConfig.author.name}}.
For more help creating a template in Nunjucks see here, or open page.html in your favourite editor to take a look at a simple example, with loops and conditional statements in Nunjucks.
👤 Lee Nattress leenattress1981@gmail.com (http://leenattress.com)
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 Lee Nattress leenattress1981@gmail.com (http://leenattress.com).
This project is ISC licensed.
This README was generated with ❤️ by readme-md-generator
FAQs
Minimal markdown blog builder.
We found that plix 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.