静态网站生成器 Cryogen

码农软件 · 软件分类 · 建站系统CMS · 2020-01-24 23:27:26

软件介绍

Cryogen 是一个用来生成静态网站的工具,简单而且自动化。Cryogen 使用用 Clojure 语言开发。

使用非常简单:

  1. 安装 Leiningen

  2. 创建新项目

  3. 启动服务器并在浏览器打开localhost:3000

命令:

~ $ lein new cryogen my-blog
~ $ cd my-blog
~/my-blog $ lein ring server
Started server on port 3000

目录结构:

my-blog
 |---resources
 |   |---public
 |   |---templates
 |   |   |---css
 |   |   |   |---screen.css
 |   |   |---html
 |   |   |   |---layouts
 |   |   |       |---archives.html
 |   |   |       |---base.html
 |   |   |       |---home.html
 |   |   |       |---page.html
 |   |   |       |---post.html
 |   |   |       |---tag.html
 |   |   |---js
 |   |   |   |---highlight.pack.js
 |   |   |---md
 |   |   |   |---pages
 |   |   |   |   |---about.md
 |   |   |   |   |---another-page.md
 |   |   |   |---posts
 |   |   |       |---10-03-2014-first-post.md
 |   |   |       |---11-04-2014-second-post.md
 |   |   |       |---13-11-2014-docs.md
 |   |   |---404.html
 |   |   |---config.edn
 |---src
 |   |---cryogen
 |   |   |---server.clj
 |---project.clj

本文地址:https://codercto.com/soft/d/24122.html

Web Caching

Web Caching

Duane Wessels / O'Reilly Media, Inc. / 2001-6 / 39.95美元

On the World Wide Web, speed and efficiency are vital. Users have little patience for slow web pages, while network administrators want to make the most of their available bandwidth. A properly design......一起来看看 《Web Caching》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具