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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Three Middleman Hacks We’re Using On This Site

35 点作者 tmeasday超过 11 年前

6 条评论

stbullard超过 11 年前
Not knowing Middleman, I initially read the title (currently &quot;Three Middleman Hacks We’re Using On This Site&quot;) as &quot;Three Man-in-the-Middle hacks We&#x27;re Using on This Site.<p>Risky click!
评论 #7129208 未加载
评论 #7129565 未加载
russelluresti超过 11 年前
Middleman is actually a really great piece of software. I&#x27;ve used it on multiple projects, and it&#x27;s really great for what it does.<p>When all you have to do is hand a set of static files off to the client, Middleman allows you to use your favorite technologies like Sass, and comes combined with LiveReload (which is a nice time-saver).<p>It&#x27;s also very Sinatra-esque, which I greatly approve of.
MaxGabriel超过 11 年前
This isn&#x27;t a big deal, but the assignment in `featured = featured.delete_if...` isn&#x27;t necessary since delete_if mutates the array.
评论 #7129251 未加载
macspoofing超过 11 年前
Everything is a &#x27;hack&#x27; these days.
silentrob超过 11 年前
This is a great post. 2014 is the year of static sites (and generators)! Lots of great resources popping up.<p>staticsitegenerators.net staticapps.org staticshowdown.com<p>Full disclosure, I work on Harp and I&#x27;m judging Static Showdown.
pibefision超过 11 年前
I like your site design. Is it based on some other template? Is it open source? Tks!