govuk_tech_docs 4.3.0 → 4.3.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/CHANGELOG.md +4 -2
- data/lib/govuk_tech_docs/version.rb +1 -1
- data/lib/source/layouts/core.erb +5 -16
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41679b50cd70bbb1381ec931e5b0beab038f6c5d31e6013a74e587ae0892e8b2
|
4
|
+
data.tar.gz: f7c9f4e9d1c0642be081c5a7dd58db1516e522808d33120f9694e502cb078884
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2e8853fa947b54d2c098d068909e0bda19b57b2c8751b46fe4804a30de4de75a96485cef0d65096f581ba841ad90ede46fed33c1f8c0095753c188bde910ad2
|
7
|
+
data.tar.gz: 3f8e081713276dcd3ed59178bedd330cc7db344c6ca7d8d8caa48ca2205a1c59224557b8a2999e37c4260da948c81534ab2677c6eafdacb996d43e1ef69c69e8
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,13 @@
|
|
1
|
+
## 4.3.1
|
2
|
+
|
3
|
+
- Revert [Fix: Use the service link as the start of the path to the favicon images](https://github.com/alphagov/tech-docs-gem/pull/391)
|
4
|
+
|
1
5
|
## 4.3.0
|
2
6
|
|
3
7
|
- [Bump govuk-frontend to v5.9.0 and pin middleman to v4.5.1](https://github.com/alphagov/tech-docs-gem/pull/390)
|
4
8
|
|
5
9
|
- [Fix: Update Rack::File to Rack::Files in test specs](https://github.com/alphagov/tech-docs-gem/pull/394)
|
6
10
|
|
7
|
-
- [Fix: Use the service link as the start of the path to the favicon images](https://github.com/alphagov/tech-docs-gem/pull/391)
|
8
|
-
|
9
11
|
## 4.2.0
|
10
12
|
|
11
13
|
## New features
|
data/lib/source/layouts/core.erb
CHANGED
@@ -11,22 +11,11 @@
|
|
11
11
|
|
12
12
|
<link rel="canonical" href="<%= meta_tags.canonical_url %>">
|
13
13
|
<% if config[:tech_docs][:show_govuk_logo] %>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
# ensure service_link ends with a trailing '/'
|
20
|
-
if path_prefix[-1, 1] != '/'
|
21
|
-
path_prefix += '/'
|
22
|
-
end
|
23
|
-
end
|
24
|
-
%>
|
25
|
-
<link rel="icon" sizes="48x48" href="<%= path_prefix %>assets/govuk/assets/images/favicon.ico">
|
26
|
-
<link rel="icon" sizes="any" href="<%= path_prefix %>assets/govuk/assets/images/favicon.svg" type="image/svg+xml">
|
27
|
-
<link rel="mask-icon" href="<%= path_prefix %>assets/govuk/assets/images/govuk-icon-mask.svg" color="#0b0c0c">
|
28
|
-
<link rel="apple-touch-icon" href="<%= path_prefix %>assets/govuk/assets/images/govuk-icon-180.png">
|
29
|
-
<link rel="manifest" href="<%= path_prefix %>assets/govuk/assets/manifest.json">
|
14
|
+
<link rel="icon" sizes="48x48" href="/assets/govuk/assets/images/favicon.ico">
|
15
|
+
<link rel="icon" sizes="any" href="/assets/govuk/assets/images/favicon.svg" type="image/svg+xml">
|
16
|
+
<link rel="mask-icon" href="/assets/govuk/assets/images/govuk-icon-mask.svg" color="#0b0c0c">
|
17
|
+
<link rel="apple-touch-icon" href="/assets/govuk/assets/images/govuk-icon-180.png">
|
18
|
+
<link rel="manifest" href="/assets/govuk/assets/manifest.json">
|
30
19
|
<% else %>
|
31
20
|
<link rel="icon" sizes="48x48" href="/images/favicon.ico">
|
32
21
|
<link rel="icon" sizes="any" href="/images/favicon.svg" type="image/svg+xml">
|