diff --git a/.gitignore b/.gitignore index c08f9ad..5209601 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -_site \ No newline at end of file +_site +.bundle +.sass-cache +Gemfile.lock \ No newline at end of file diff --git a/Gemfile b/Gemfile index 154ff96..ac51079 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ # A sample Gemfile source "https://rubygems.org" +gemspec -# gem "rails" gem 'jekyll' gem 'jekyll-paginate' gem 'kramdown' diff --git a/Gemfile.lock b/Gemfile.lock index 2c216bc..a6ec6b2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/README.md b/README.md index b6a9cce..864fe97 100644 --- a/README.md +++ b/README.md @@ -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/). diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..5e71126 --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,5 @@ +--- +layout: default +--- + +{{ content }} diff --git a/jekyll-architect-theme.gemspec b/jekyll-architect-theme.gemspec new file mode 100644 index 0000000..2ba3fee --- /dev/null +++ b/jekyll-architect-theme.gemspec @@ -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