From e47dae7804d460fbd063ebc0fd4353fd84b056d3 Mon Sep 17 00:00:00 2001 From: Matt Reimer Date: Wed, 27 May 2020 10:55:22 -0700 Subject: [PATCH] tweaking the gemspec #13 #17 #12 --- assets/js/nav.js | 4 ++++ docs/_config.yml | 10 +++++----- riverscapes-jekyll-theme.gemspec | 6 +++--- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/assets/js/nav.js b/assets/js/nav.js index bdcd0e8..38643f2 100644 --- a/assets/js/nav.js +++ b/assets/js/nav.js @@ -28,7 +28,11 @@ var NAVPages = [ {% endfor %} ]; var SiteSettings = {{ site.settings | jsonify }}; + var TopMenu = {{ site.topmenu | jsonify }}; + +var SITE = {{ site | jsonify }}; + var APPREDIRECTS = { {% for redir in site.AppRedirects %} {{redir.key}}: "{{redir.url}}", diff --git a/docs/_config.yml b/docs/_config.yml index 6a51a85..9f39c71 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -58,11 +58,11 @@ settings: # # The url you have to call is: http://siteurl.com/baseurl/?APPKEY=KEY1 # --------------------------------------------------------------- -AppRedirects: - - key: KEY1 - url: ThingsA - - key: KEY2 - url: ThingsB/subpageB.html +# AppRedirects: +# - key: KEY1 +# url: ThingsA +# - key: KEY2 +# url: ThingsB/subpageB.html # Here is how we retrieve the remote theme. Changes to this remote theme will show up after you # push the repo with your /docs folder diff --git a/riverscapes-jekyll-theme.gemspec b/riverscapes-jekyll-theme.gemspec index f0b518a..b1ccaca 100644 --- a/riverscapes-jekyll-theme.gemspec +++ b/riverscapes-jekyll-theme.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "riverscapes-jekyll-theme" - spec.version = "0.1.0" + spec.version = "0.2.0" spec.authors = ["Matt Reimer"] spec.email = ["matt.reimer@gmail.com"] @@ -10,9 +10,9 @@ Gem::Specification.new do |spec| spec.homepage = "http://riverscapes.xyz" spec.license = "MIT" - spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README)!i) } + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(yarn\.lock|test|spec|features|docs|script|node_modules|\.[a-z]+)/!) } - spec.add_runtime_dependency "jekyll", ">= 4.0" + spec.add_runtime_dependency "jekyll", ">= 4.1" spec.add_development_dependency "bundler" end