TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Super Simple Static Site Compiler

9 点作者 rickr超过 10 年前

2 条评论

rickr超过 10 年前
Hiya HN,<p>I spent a few hours tonight to make a SUPER simple static site generator.<p>It basically concatenates a header, your body, and a footer. After the compilation there&#x27;s a hook to execute a post hook.<p>This post hook gets passed the name of the file, which allows you to take actions on a per page basis.<p>This allows you to change things like nav classes to active etc.
sauere超过 10 年前
This is the first static site generator i have seen that actually deserves to carry the lable &quot;simple&quot;.<p>Good job.<p>&#x2F;edit: you might want to include a Markdown parser.