Urgent.News

What's breaking now, across hundreds of outlets.

Tech

I Wanted a Simpler Static Site Generator, So I Created Neyx

I created NeyX: a static site generator could stay super fast, simple, and useful without piling on runtimes, plugins, and dependencies.

I Wanted a Simpler Static Site Generator, So I Created Neyx

The author wanted a simpler static site generator after using Jekyll, Hugo, Eleventy, and Astro. They wanted a straightforward process for writing Markdown, simple HTML templates, an automatic development server for rebuilding, and plain static output without relying on numerous plugins or dependencies. The site structure includes a config file, content, layouts, assets, data, and static folders, with routing based on the file structure.

Posts use front matter in Markdown with fields such as title, description, date, tags, and layout. The template syntax is kept minimal, with conditions, loops, includes, and filters for basic transformations. Development mode builds the site and serves it locally, automatically rebuilding when changes occur. Production builds generate the final static site in the dist/ directory.

Rewritten by urgent.news; may contain errors — check the original.

Source: hackernoon.com

Read the original at hackernoon.com →

Report a problem with this story

More in Tech

Python 3.15 released

Version 3.15 of the Python programming language has been released. Notable changes in this release include the addition of the sentinel and frozendict built-in types, the use of UTF-8 encoding by…

More from Friday 9 October →