mitlibraries-theme 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f71c3d6081f01f45f4cc3364bb9389219723e6df99df2c418b17c5efc6c5b881
4
- data.tar.gz: cfaef0cb2bbff68b3ce7ba16722b12e5951fbccf324faedfc7010718b63144fa
3
+ metadata.gz: d6637a4c25f8f546f753cff291fccbf26c03786a4eb4ee8179eb000530d345e5
4
+ data.tar.gz: 7536e2a71affd41701f8ff4ebb0822d6148fe4e999f7d3bca6616578da7d08c8
5
5
  SHA512:
6
- metadata.gz: ec9c85ad890bc7c9f8f590da9ee052bbfedb22d80edf1624d1d2a58a917107d90548181963304bc47865c4a1abee4d32baea4907f2ca35c5e900fe1b2e7cdcfe
7
- data.tar.gz: bc8142960a8ba2e63d03bd45d7f8954a2517e37e23e60082cffc542e9912e4e2afe58ed014a09902dd4872d13f9fb65778f3cdd6a0d562bc13a73341cb0221a9
6
+ metadata.gz: dc4049adeacb90318c4faa74e5cd87ff775093c212418f4bcbe103cb20c8a0b59419121a3240a02b890c3b22ac8b2880eae0872bf53b9ed34769c7abefcaf31f
7
+ data.tar.gz: bc4e2d103b84bb819f5c2a12081721940a70d738055178a4c1ca1828190a6c43a323293b945c86bfee5ec796d1cd861dba7156fd7dcc99c66e8420dfd2cdf244
data/README.md CHANGED
@@ -57,6 +57,20 @@ called multiple times the results are concatenated. This is intended primarily
57
57
  for adding external support libraries. For JS you are writing, include via
58
58
  `application.scss` as normal.
59
59
 
60
+ ## Adding Additional Meta headers to HTML Head
61
+
62
+ You can load additional meta headers to individual pages using:
63
+
64
+ ```
65
+ <% content_for :additional_meta_tag do %>
66
+ <meta name="description" content="Words and stuff about stuff or something.">
67
+ <meta name="keywords" content="words,stuff,yoyos">
68
+ <% end %>
69
+ ```
70
+
71
+ This can appear as many times as you need on as many templates as you need. If
72
+ called multiple times the results are concatenated.
73
+
60
74
  ## Development
61
75
 
62
76
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -4,6 +4,8 @@
4
4
  <title><%= content_for?(:title) ? yield(:title) : " MIT Libraries" %></title>
5
5
  <%= csrf_meta_tags %>
6
6
 
7
+ <%= yield :additional_meta_tag %>
8
+
7
9
  <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
8
10
  <!--[if lt IE 9]>
9
11
  <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script>
@@ -1,5 +1,5 @@
1
1
  module Mitlibraries
2
2
  module Theme
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.2.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mitlibraries-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Prevost
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-23 00:00:00.000000000 Z
11
+ date: 2018-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler