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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Minimalist static site generator pattern only for JavaScript developers

1 点作者 OuterVale26 天前

2 条评论

jjjbokma24 天前
It&#x27;s nice to read someone else&#x27;s take on writing an SSG. I wrote one [0] specifically to generate a microblog [1] so I use a single markdown file with additional directives to provide meta data like tags and to split the file in blog entries. I am considering writing an SSG that can handle a large blog so I bookmarked your site for inspiration; thanks! I probably am going to use Python for it, though.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;john-bokma&#x2F;tumblelog">https:&#x2F;&#x2F;github.com&#x2F;john-bokma&#x2F;tumblelog</a> [1] <a href="https:&#x2F;&#x2F;plurrrr.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;plurrrr.com&#x2F;</a>
SenHeng26 天前
I&#x27;ve actually written a couple of my own JS SSGs in the past 10 years. My first one started off as a couple of scripts strung together with Gulp, then moving to Wintersmith, then another of one the <i>x</i>-smith ones. Never doing that again.<p>Re-writing my current blog in Astro. [0]<p>Yes, it is more complex but that also means it has more features, features that I don&#x27;t have to code or maintain myself. Simple features like rendering markdown to html. Or syntax highlighting. Or figuring out which markdown files to render where.<p>[0]: <a href="https:&#x2F;&#x2F;senhongo.com&#x2F;blog&#x2F;rebuilding-this-blog-in-astro" rel="nofollow">https:&#x2F;&#x2F;senhongo.com&#x2F;blog&#x2F;rebuilding-this-blog-in-astro</a>