• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

pietromenna/jekyll-architect-theme: Open Source version of the GitHub Pages them ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

pietromenna/jekyll-architect-theme

开源软件地址:

https://github.com/pietromenna/jekyll-architect-theme

开源编程语言:

CSS 86.4%

开源软件介绍:

Architect theme

This is a Jekyll theme that is an adaptation of @jasonlong's Architect theme on GitHub Pages.

This is the raw HTML and styles that are used for the Architect theme on GitHub Pages.

Getting Started

Prerequisites

To install this theme, jekyll is required to be installed on your system. Head over to the docs and install the four requirements (Ruby, RubyGems, Node.js and Python 2.7). If you're on a Mac system, it's likely the only package you'll need to install is Node.js

Once you've installed the requirements, run this command in your terminal:

$ sudo gem install jekyll

You'll also need to install the bundler package:

$ sudo gem install bundler

Downloading and Installing the theme

Download the theme

https://github.com/pietromenna/jekyll-architect-theme/archive/master.zip

Unzip it and use it as a regular jekyll folder.

$ unzip jekyll-architect-theme-master.zip

Get inside the newly extracted folder

$ cd jekyll-architect-theme-master

Install the dependencies

$ bundle install

Use it!

$ jekyll serve

Setup

Some important configuration can be done in the file _config.yml. Please, check the Setup section in that file.

baseurl

baseurl parameter is required in the case the site doesn't sit on the root of the domain. For example: https://pietromenna.github.io/jekyll-architect-theme

In the case above the baseurl should be set to "/jekyll-architect-theme".

In the case the site sits in the root, you can leave baseurl as empty "".

For more details read about Jekyll on its web page.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/pietromenna/jekyll-architect-theme.

Development

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

You theme is setup just like a normal Jelyll 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.

License

This work is licensed under a Creative Commons Attribution 4.0 International.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Architect Theme by Jason Long发布时间:2022-07-07
下一篇:
macrod68/jekyll-materialize-starter-template: Jekyll Materialize Starter Theme发布时间:2022-07-08
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap