for05.github.io/README.md

93 lines
2.6 KiB
Markdown
Raw Permalink Normal View History

2013-12-10 17:06:32 +01:00
# Architect theme
2014-04-07 00:07:26 +02:00
This is a [Jekyll][1] theme that is an adaptation of [@jasonlong][2]'s [Architect theme][4] on [GitHub Pages][3].
2018-01-12 11:33:41 +01:00
This is the raw HTML and styles that are used for the *Architect* theme on [GitHub Pages](https://pages.github.com/).
2013-12-10 17:06:32 +01:00
2018-01-12 11:33:41 +01:00
![](https://cl.ly/image/1x0Q3213330G/content)
2013-12-10 17:06:32 +01:00
# Getting Started
## Prerequisites
To install this theme, jekyll is required to be installed on your system. Head over to the [docs](https://jekyllrb.com/docs/installation/) 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:
```
2016-08-21 11:17:43 +02:00
$ sudo gem install jekyll
```
You'll also need to install the bundler package:
```
2016-08-21 11:17:43 +02:00
$ sudo gem install bundler
```
## Downloading and Installing the theme
Download the theme
```
2018-01-12 11:33:41 +01:00
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
2016-04-03 06:15:45 +02:00
Some important configuration can be done in the file `_config.yml`. Please, check the Setup section in that file.
## baseurl
2018-01-12 11:33:41 +01:00
`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
2016-08-12 19:50:49 +02:00
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][1] on its web page.
2016-08-12 19:50:49 +02:00
# Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/pietromenna/jekyll-architect-theme.
2016-08-12 19:50:49 +02:00
# 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.
2013-12-10 17:06:32 +01:00
# License
This work is licensed under a [Creative Commons Attribution 4.0 International](http://creativecommons.org/licenses/by/4.0/).
2013-12-10 17:06:32 +01:00
2018-01-12 11:33:41 +01:00
[1]: https://jekyllrb.com
[2]: https://github.com/jasonlong
2014-04-07 00:07:26 +02:00
[3]: http://pages.github.com/
2018-01-12 11:33:41 +01:00
[4]: https://github.com/jasonlong/architect-theme