
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
Bare simple static site generator ever.
See https://eguneys.github.io/ for example using Jener.
<!-- #mixin mymixin -->
<head>
</head>
<!-- #layout main -->
<html>
<!-- #include mymixin -->
<body>
<!-- #content article -->
</body>
</html>
<!-- #page main article -->
<div>
Text
</div>
jener in-directory out-directory and, it generates the output file for the page:<html>
<head>
</head>
<body>
<div>
Text
</div>
</body>
</html>
It has only 2 features, mix-in and layout, to generate pages.
I asked this question on Stackoverflow which ended up deleted.
Instal jener globally using yarn global jener.
In a folder, put all your layout, mix-in and page definitions, in separate html files.
Then run jener in-directory out-directory. This will generate all your page definitions inside in-directory into the out-directory.
mix-in named mymixin is defined with #mixin command inside an html comment:
<!-- #mixin mymixin -->
mix-ins cannot include other mix-ins.
layout named main is defined the same:
<!-- #layout main -->
mix-in's are included with a #include command:
<!-- #include head -->
A layout defines area (named article) to replace with content with #content command:
<!-- #content article -->
A page is defined with a #page command. Pages might not have a layout and can use mix-ins:
<!-- #page -->
Pages don't have a name. All pages are exported with the same name as their definition file.
A page with a main layout, is defined as:
<!-- #page main -->
page with a layout must specify which area to replace from the layout.
<!-- #page main -->
<!-- #content article -->
That, replaces #article area.
There is a shorthand for above two commands:
<!-- #page main article -->
A layout can define multiple area's to be replaced and page can specify multiple areas to replace from the layout.
All page definitions export into a separate html file. Output filename is the same as the filename of the page definition.
Install dependencies: yarn install.
Run the tests: yarn test.
Run the examples: yarn example.
Questions about parsing:
Happy blogging 💙
FAQs
Bare simple static site generator ever.
We found that jener 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.