百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
O

octopress

> 编程语言
开源

Octopress 3.0 – Jekyll 的法拉利

1.7K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Octopress 3.0 – Jekyll 的法拉利

Octopress

Octopress 是一个专注于设计的工具包,用于编写和部署 Jekyll 博客。不错吧?

安装

手动安装 Octopress: $ gem install octopress 或者,如果您使用 Bundler,请在 Gemfile 中添加以下一行: gem 'octopress', '~> 3.0' 然后运行: $ bundle 如果是新用户,请运行 gem install bundler,然后在站点根目录中创建名为 Gemfile 的文件,内容如下:

source 'https://rubygems.org'

gem 'octopress', '~> 3.0'

运行 bundle 来安装 Gemfile 中指定的宝石。

配置

Octopress 从 _config.yml 中读取配置。以下是默认配置的样子。

yaml
# Default extension for new posts and pages
post_ext: markdown
page_ext: html

# Default templates for posts and pages
# Found in _templates/
post_layout: post
page_layout: page

# Format titles with titlecase?
titlecase: true

# Change default template file (in _templates/)
post_template: post
page_template: page
draft_template: draft

Octopress CLI 命令

以下是 Octopress 的子命令。

选项 描述
--template PATH 使用来自 的模板
--date DATE 文章的日期。应可由 [Time#parse](http://ruby-doc.org/stdlib-2.1.0/libdoc/time/rdoc/Time.ht

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言