Migrating to Jekyll theme

This commit is contained in:
Pietro F. Menna 2016-08-12 14:50:49 -03:00
parent 0a0cb0a0c5
commit 181c39f286
6 changed files with 50 additions and 5 deletions

5
.gitignore vendored
View File

@ -1 +1,4 @@
_site
_site
.bundle
.sass-cache
Gemfile.lock

View File

@ -1,7 +1,7 @@
# A sample Gemfile
source "https://rubygems.org"
gemspec
# gem "rails"
gem 'jekyll'
gem 'jekyll-paginate'
gem 'kramdown'

View File

@ -1,3 +1,8 @@
PATH
remote: .
specs:
jekyll-architect-theme (0.1.0)
GEM
remote: https://rubygems.org/
specs:
@ -28,6 +33,7 @@ GEM
pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rake (10.5.0)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
@ -41,10 +47,13 @@ PLATFORMS
x86-mingw32
DEPENDENCIES
bundler (~> 1.12)
jekyll
jekyll-architect-theme!
jekyll-paginate
kramdown
pygments.rb
rake (~> 10.0)
BUNDLED WITH
1.10.6
1.12.5

View File

@ -41,15 +41,25 @@ Some important configuration can be done in the file `_config.yml`. Please, chec
## baseurl
`baseurl` parameter is required in the case the site doesn't sit on the root of the domain. For example: http://pietromenna.github.io/jekyll-cayman-theme
`baseurl` parameter is required in the case the site doesn't sit on the root of the domain. For example: http://pietromenna.github.io/jekyll-architect-theme
In the case above the baseurl should be set to "/jekyll-cayman-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][1] on its web page.
# Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/pietromenn/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](http://creativecommons.org/licenses/by/4.0/).

5
_layouts/page.html Normal file
View File

@ -0,0 +1,5 @@
---
layout: default
---
{{ content }}

View File

@ -0,0 +1,18 @@
# coding: utf-8
Gem::Specification.new do |spec|
spec.name = "jekyll-architect-theme"
spec.version = "0.1.0"
spec.authors = ["Pietro F. Menna"]
spec.email = ["pietromenna@yahoo.com"]
spec.summary = %q{Open Source version of the GitHub Pages theme, now for Jekyll}
spec.homepage = "https://github.com/pietromenna/jekyll-architect-theme"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(_layouts|_includes|_sass|LICENSE|README)/i}) }
spec.add_development_dependency "jekyll", "~> 3.2"
spec.add_development_dependency "bundler", "~> 1.12"
spec.add_development_dependency "rake", "~> 10.0"
end