Git Product home page Git Product logo

jekyll-theme-octopress's Introduction

jekyll-theme-octopress

jekyll-theme-octopress 是一个 Jekyll 的主题。 我以前使用了很长时间 Octopress 作为我的博客程序。但是 Octopress 已经很久不再维护了,所以现在她有很多的缺点了比如使用起来生成网页效率也太低、不支持 Jekyll 的一些新特性等等。可以我又非常习惯和喜欢 Octopress 的 classic 主题。所以我就创建了这个主题。 该主题继承自 Octopress 的 classic 主题,我只是在上面做了一些让她适合我使用的修改。详细的修改内容请参见 修改记录 与 git 的提交历史。

运行环境

  • ruby:
  • Jekyll:
  • jekyll-plugin:

安装

添加这行内容到你的 Jekyll 站点的 Gemfile 文件中:

gem "jekyll-theme-octopress"

然后添加这行内容到你的 Jekyll 站点的 _config.yml 文件中:

theme: jekyll-theme-octopress

然后执行:

$ bundle

或者自己安装:

$ gem install jekyll-theme-octopress

使用

TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.

layouts

includes

assets

使用进阶

自定义导航栏

贡献

Bug reports and pull requests are welcome on GitHub at https://github.com/myrsoft/jekyll-theme-octopress. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

开发

To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _layouts, _includes, _sass and assets tracked with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in jekyll-theme-octopress.gemspec accordingly.

See the Develop file.

Release (Change log)

See the ChangeLog file.

致谢

Brandon Mathis

参考资料

开源许可

该主题使用 MIT License 许可证开放源代码。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.