Some useful gems for building menus in jekyll, plus a basic working configuration
Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/6cd82aad Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/6cd82aad Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/6cd82aad Branch: refs/heads/master Commit: 6cd82aad6311a1c68559b9881a87240baa9e08da Parents: 502c976 Author: Aristedes Maniatis <a...@ish.com.au> Authored: Mon May 29 11:56:51 2017 +1000 Committer: Aristedes Maniatis <a...@ish.com.au> Committed: Mon May 29 11:56:51 2017 +1000 ---------------------------------------------------------------------- Gemfile | 13 ++++++------ _config.yml | 61 ++++++++++++++++++++++++++++++++------------------------ 2 files changed, 41 insertions(+), 33 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/6cd82aad/Gemfile ---------------------------------------------------------------------- diff --git a/Gemfile b/Gemfile index 8af2673..654fd84 100644 --- a/Gemfile +++ b/Gemfile @@ -14,15 +14,14 @@ gem "jekyll", "3.4.3" # This is the default theme for new Jekyll sites. You may change this to anything you like. gem "minima", "~> 2.0" -# If you want to use GitHub Pages, remove the "gem "jekyll"" above and -# uncomment the line below. To upgrade, run `bundle update github-pages`. -# gem "github-pages", group: :jekyll_plugins -# If you have any plugins, put them here! group :jekyll_plugins do - gem "jekyll-feed", "~> 0.6" + gem "jekyll-feed", "~> 0.6" + gem 'jekyll-sass-converter' + gem 'jekyll-sitemap' + gem 'jekyll-redirect-from' + gem 'wdm', '~> 0.1.0' if Gem.win_platform? end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] - +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/6cd82aad/_config.yml ---------------------------------------------------------------------- diff --git a/_config.yml b/_config.yml index f5df983..564f9a0 100644 --- a/_config.yml +++ b/_config.yml @@ -1,34 +1,43 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. -title: Your awesome title -email: your-em...@domain.com -description: > # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. -baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll +title: Apache Cayenne +email: amania...@apache.org +description: > + Apache Cayenne(tm) is an open source persistence framework licensed + under the Apache License, providing object-relational mapping (ORM) and + remoting services. With a wealth of unique and powerful features, + Cayenne can address a wide range of persistence needs. Cayenne seamlessly + binds one or more database schemas directly to Java objects, managing atomic + commit and rollbacks, SQL generation, joins, sequences, and more. With Cayenne's + Remote Object Persistence, those Java objects can even be persisted out to + clients via Web Services. +baseurl: "" +url: "http://cayenne.apache.org" +encoding: utf-8 # Build settings -markdown: kramdown + theme: minima gems: - jekyll-feed exclude: - Gemfile - Gemfile.lock + +markdown: kramdown +kramdown: + auto_ids: true # Auto-generate ID's for headings + +sass: + style: compressed + sass_dir: assets/css/_sass + +defaults: + - + scope: + path: "assets" # an empty string here means all files in the project + values: + layout: + - + scope: + path: "" # an empty string here means all files in the project + values: + layout: "default" \ No newline at end of file