2 Star 0 Fork 0

mirrors_jonschlinkert/assemble-gist-blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

assemble-gist-blog

Assemble a blog from gists.

It's hard to believe when you see how fast the pages render, but all of the content in the example pages is from Gists.

Getting Started

Download this project:

git clone https://github.com/assemble/boilerplate-gist-blog.git

Install the necessary dependencies to run the build:

npm i

Once dependencies are installed, you may build the project by running grunt or grunt assemble.

Styles

Currently the assemble.css stylesheet is used in the examples, but the project is already setup to use Bootstrap if you want to edit the styles.

To do so, from the root of the project git clone Bootstrap:

git clone -b master https://github.com/twbs/bootstrap.git "vendor/bootstrap"

(the "less" task is currently configured to use the vendor directory)

In ./src/layouts/default.hbs, change this:

<link rel="stylesheet" href="{{assets}}/assemble.css">

to this:

<link rel="stylesheet" href="{{assets}}/bootstrap.css">

Then run grunt less to compile.

Related Projects

Assemble's documentation

assemble-boilerplates

grunt-init-assemble

grunt-init-assemble-helper

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Authors

Jon Schlinkert

Brian Woodward

Copyright and license

Copyright 2013 Assemble

MIT License

空文件

简介

Use Assemble to create a blog from GitHub Gists! Consider this an example of how to get started with Assemble. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jonschlinkert/assemble-gist-blog.git
git@gitee.com:mirrors_jonschlinkert/assemble-gist-blog.git
mirrors_jonschlinkert
assemble-gist-blog
assemble-gist-blog
master

搜索帮助