基于目录的静态站点生成器档案 [英] Static site generator based upon directories & files

查看:39
本文介绍了基于目录的静态站点生成器档案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种在 ruby​​ 中生成嵌套站点结构的好方法.我想要一些我可以向客户提出的建议,而不是 msword 文档.某种形式:

I am looking for a nice way to generate a nested site structure in ruby. I want something that I can propose to clients instead of msword documents. Something of the form:

Home/
  index.txt
  About.txt
  Services/
    index.txt
    products.txt
    blahblah.txt

.txt 文件被降价,或者其他什么.

with the .txt files being markdown, or whatever.

我实际上想将它导入一个 cms 系统,并且只想连接到我可以使用的任何静态站点生成器.

I actually want to import this into a cms system, and just want to hook into whichever static-site generator that I can use.

否则我会自己做,但使用其他东西与 html 预处理器等集成会很好.

Otherwise I will do it myself, but it would be nice to use something else for integration with html preprocessors etc.

推荐答案

看看 Jekyll

这篇关于基于目录的静态站点生成器档案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆