You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-1Lines changed: 40 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,29 @@ This Jekyll theme was crafted with <3 by [John Otander](http://johnotander.com)
18
18
If you're completely new to Jekyll, I recommend checking out the documentation at <http://jekyllrb.com> or there's a tutorial by [Smashing Magazine](http://www.smashingmagazine.com/2014/08/01/build-blog-jekyll-github-pages/).
$ gem install bundler # If you don't have bundler installed
24
24
$ bundle install
25
25
```
26
26
27
+
Alternatively, if want to install the theme as a Gem, you can add this
28
+
line to your Gemfile:
29
+
30
+
```ruby
31
+
gem "pixyll"
32
+
```
33
+
34
+
Then, add this line to your Jekyll site:
35
+
36
+
```yaml
37
+
theme: pixyll
38
+
```
39
+
40
+
And then execute:
41
+
42
+
$ bundle install
43
+
27
44
#### Verify your Jekyll version
28
45
29
46
It's important to also check your version of Jekyll since this project uses new `baseurl` features that are [only supported in 3.3+](https://jekyllrb.com/news/2016/10/06/jekyll-3-3-is-here/).
@@ -32,6 +49,13 @@ It's important to also check your version of Jekyll since this project uses new
32
49
33
50
Fork the repo, and then clone it so you've got the code locally.
34
51
52
+
If `git remote -v` doesn't have your fork listed, you can do the following to add it:
@@ -67,6 +91,21 @@ Now you can navigate to `localhost:4000` in your browser to see the site.
67
91
68
92
You can host your Jekyll site for free with Github Pages. [Click here](https://pages.github.com/) for more information.
69
93
94
+
If you are using the gem (see above), then you need to add the the
95
+
github-pages gem to your Gemfile:
96
+
97
+
```ruby
98
+
gem 'github-pages'
99
+
```
100
+
101
+
Alternatively, you can enable Pixyll on Githug Pages using the `remote_theme` feature, by adding this line to your `_config.yml`:
102
+
103
+
```yml
104
+
remote_theme: johno/pixyll
105
+
```
106
+
107
+
See [Adding a Jekyll theme to your GitHub pages](https://help.github.com/articles/adding-a-jekyll-theme-to-your-github-pages-site).
108
+
70
109
#### A configuration tweak if you're using a gh-pages sub-folder
71
110
72
111
In addition to your github-username.github.io repo that maps to the root url, you can serve up sites by using a gh-pages branch for other repos so they're available at github-username.github.io/repo-name.
0 commit comments