guides_style_18f 0.0.0 → 0.0.1
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 +4 -4
- data/README.md +9 -0
- data/lib/guides_style_18f/includes/analytics.html +4 -4
- data/lib/guides_style_18f/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33166601f73e4e3de2c486510d864ba4a0287ddc
|
|
4
|
+
data.tar.gz: 59c1b03d44b1bc245abec3fcd3e2cdd6e185db95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b2b60050dc12ada4d745a798b9a5f46d888513598f6bcc92062e6a3fa5dab617ca88e3fa254477fef21041aba1690ff0521cc77861272d68d2ce2ddb0971e53
|
|
7
|
+
data.tar.gz: e09a3773e817951991a3f5e64c73c0a4bddd962f1f93b59addd076168148c3ac46574bf0895ca59455800eedba43b657b4f7b7f50023312913b288e0f87b8569
|
data/README.md
CHANGED
|
@@ -16,6 +16,15 @@ group :jekyll_plugins do
|
|
|
16
16
|
end
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
Add an `assets/css/styles.scss` file that contains at least the following:
|
|
20
|
+
|
|
21
|
+
```scss
|
|
22
|
+
---
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
@import "guides_style_18f";
|
|
26
|
+
```
|
|
27
|
+
|
|
19
28
|
Then in your [`_config.yml` file](https://jekyllrb.com/docs/configuration/),
|
|
20
29
|
add the following (you may need to remove any `layout:`
|
|
21
30
|
[front matter](https://jekyllrb.com/docs/frontmatter/) from existing pages for
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
4
4
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
5
5
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
6
|
-
})(window,document,'script','
|
|
7
|
-
ga('create', '{{ site.google_analytics_ua }}', '
|
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
7
|
+
ga('create', '{{ site.google_analytics_ua }}', 'auto');
|
|
8
8
|
|
|
9
9
|
// anonymize user IPs (chops off the last IP triplet)
|
|
10
10
|
ga('set', 'anonymizeIp', true);
|
|
11
|
-
|
|
11
|
+
ga('set', 'forceSSL', true);
|
|
12
12
|
ga('send', 'pageview');
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<!-- Digital Analytics Program roll-up, see https://analytics.usa.gov for data -->
|
|
16
|
-
<script id="_fed_an_ua_tag" src="https://
|
|
16
|
+
<script id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA"></script>{% endif %}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: guides_style_18f
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Bland
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -80,7 +80,9 @@ dependencies:
|
|
|
80
80
|
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
|
-
description:
|
|
83
|
+
description: Provides consistent style elements for documents based on the 18F Guides
|
|
84
|
+
Template (https://pages.18f.gov/guides-template/). The 18F Guides theme is based
|
|
85
|
+
on DOCter (https://github.com/cfpb/docter/) from CFPB (http://cfpb.github.io/).
|
|
84
86
|
email:
|
|
85
87
|
- michael.bland@gsa.gov
|
|
86
88
|
executables: []
|
|
@@ -141,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
141
143
|
version: '0'
|
|
142
144
|
requirements: []
|
|
143
145
|
rubyforge_project:
|
|
144
|
-
rubygems_version: 2.4.5
|
|
146
|
+
rubygems_version: 2.4.5.1
|
|
145
147
|
signing_key:
|
|
146
148
|
specification_version: 4
|
|
147
149
|
summary: 18F Guides Template style elements
|