govuk-jekyll-theme 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -2
  3. data/_sass/_image_url.scss +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f980a14653d6f18b2bf21afac70a580ae634192
4
- data.tar.gz: 720e08ffd41b2a530fa8cff015d54bc900fb68ba
3
+ metadata.gz: d6ef5570e082152f753b5c9a43610563d057c93a
4
+ data.tar.gz: df788b8859155f736e8a9d1d3eab30e798c8b113
5
5
  SHA512:
6
- metadata.gz: 3e286e65acf2b25a31607ebdccaec0c90b56de0c90cf95e6b41976c45417e1e22e504224348a7492510101b6632967f312cf34b8f40cb9292e05dc124ec84baa
7
- data.tar.gz: 6463462272d3b38fde9bbee9c2a1b9dc1c12d91881bfb96d85928d09adfa83010ba0c9544f4bc01eac2f9adc1cd172831932633aa2ce876277ec6081709d0753
6
+ metadata.gz: a260c604179327e8b90fc3a53f16d5670e45c12ad31e95e5fe77d145a92fea232bb1f9a70c97b5c80079e2d876b1769facb3612ecbbde4b5b5b9928a093b6325
7
+ data.tar.gz: b5e9bbdc12a4e51b68d2ade33ff3f7ce04dcb560fab1afc98b8da84df419ce79b5c83cef8e8dfc853f8280bebe8dd2a898ec8cec396fe54b119f15637a92c2ed
data/README.md CHANGED
@@ -22,6 +22,15 @@ And then install the theme using:
22
22
 
23
23
  $ bundle
24
24
 
25
+ Note: to [use this theme with GitHub Pages](https://help.github.com/articles/adding-a-jekyll-theme-to-your-github-pages-site/) you will also need to add the following to the `_config.yml` file:
26
+
27
+ ```yaml
28
+ remote_theme: frankieroberto/govuk-jekyll-theme
29
+ ```
30
+
31
+ (This is because GitHub installs the theme directly from a GitHub repository rather than from RubyGems.)
32
+
33
+
25
34
  ## Usage
26
35
 
27
36
  The theme contains all of the CSS styles and assets from [GOV.UK Elements](https://govuk-elements.herokuapp.com) and from the [GOV.UK Frontend Toolkit](https://github.com/alphagov/govuk_frontend_toolkit).
@@ -33,7 +42,7 @@ This means that there’s a basic layout, including the GOV.UK global header and
33
42
  If you’d like to propose a change to some of the underlying styles or assets, it’s best to do that 'upstream' on the original source. Confusingly, there are three separate Git repositories whose contents are combined to make this theme, so you’ll need to figure out which one contains the code you’d like to suggest a change for. These are:
34
43
 
35
44
  * [govuk_elements](https://github.com/alphagov/govuk_elements)
36
- * [govuk_template(https://github.com/alphagov/govuk_template)
45
+ * [govuk_template](https://github.com/alphagov/govuk_template)
37
46
  * [govuk_frontend_toolkit](https://github.com/alphagov/govuk_frontend_toolkit)
38
47
 
39
48
  If you have any suggestions about how the packaging-these-up-as-Jekyll-theme process could be improved, though, they would be very welcome. You can do that by adding an [issue](https://github.com/frankieroberto/govuk-jekyll-theme/issues) or submitting a [pull request](https://github.com/frankieroberto/govuk-jekyll-theme/pulls) to the GitHub repository for this theme.
@@ -42,7 +51,7 @@ If you have any suggestions about how the packaging-these-up-as-Jekyll-theme pro
42
51
 
43
52
  To set up your environment to develop this theme, you’ll need both [npm](https://www.npmjs.com) and [Bundler](http://bundler.io).
44
53
 
45
- Then run `npm install` to install the source requirements for this theme specified in [package.json](package.json). After this the [package.sh](package.sh) script will be run to manually copy the relevant `.scss` files into the [`_sass`](_sass) folder, and the images into [`assets`](assets).
54
+ Then run `npm install` to install the source requirements for this theme specified in [`package.json`](package.json). After this the [`package.sh`](package.sh) script will be run to manually copy the relevant `.scss` files into the [`_sass`](_sass) folder, and the images into [`assets`](assets).
46
55
 
47
56
  The theme can then be packaged up as a Rubygem locally by running:
48
57
 
@@ -1,6 +1,6 @@
1
1
  @function image-url($file) {
2
2
  $url: '';
3
3
  $path: '/';
4
- $url: url($baseurl + $file);
4
+ $url: url($baseurl + '/assets/' + $file);
5
5
  @return $url;
6
6
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frankie Roberto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-03 00:00:00.000000000 Z
11
+ date: 2018-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler