dimples:静态站点生成器

时间:2021-05-09 23:11:49
【文件属性】:
文件名称:dimples:静态站点生成器
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-09 23:11:49
ruby static-site-generator ruby-gem tilt-gem Ruby 酒窝 一个简单,自以为是的静态网站生成器。 要求 -用于模板。 Tilt用来做模板的宝石之一,取决于您的需要。 安装 gem install dimples 用法 Dimples是一个非常简单的命令行工具,以假想的方式命名为dimples ,通过运行dimples build ,您可以在当前目录中生成站点。 假设您的目录结构如下所示: config.json pages/ posts/ static/ templates/ feeds/ “页面”目录 这里的所有文件都将变成静态页面,并保留您使用的任何目录结构。 “职位”目录 Dimples假设您在此处的帖子将被命名为{year}-{month}-{day}-{slug}.{extension} 。 “静态”目录 此处的所有文件均原样复制到目标目录中。 '模板'目录 模板包装页面和帖子的内容。 feeds子目录中存储的任何模
【文件预览】:
dimples-master
----bin()
--------dimples(2KB)
----dimples.gemspec(1KB)
----Rakefile(401B)
----.github()
--------FUNDING.yml(20B)
--------workflows()
----.rubocop.yml(278B)
----LICENSE(1KB)
----Gemfile(83B)
----.rspec(22B)
----spec()
--------post_spec.rb(1KB)
--------frontmatter_spec.rb(911B)
--------renderer_spec.rb(2KB)
--------archive_spec.rb(2KB)
--------page_spec.rb(4KB)
--------configuration_spec.rb(2KB)
--------site_spec.rb(6KB)
--------template_spec.rb(792B)
--------feed_spec.rb(357B)
--------pager_spec.rb(6KB)
--------category_spec.rb(752B)
--------sources()
--------spec_helper.rb(570B)
----.ruby-version(6B)
----.gitignore(53B)
----lib()
--------dimples.rb(440B)
--------dimples()
----.codeclimate.yml(78B)
----README.md(9KB)
----CODEOWNERS(13B)

网友评论