elixir-toolkit-theme 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/head.html +3 -3
- data/_layouts/page.html +9 -0
- data/assets/img/site.webmanifest +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 835140721cbcda81fe83a1ae4a85a1b049c459aebd069b3143fdbdb46673c0b6
|
4
|
+
data.tar.gz: eb472bbf8edc2ddb7926b70c6867484ee19c935dc3285c15c673be7b09201b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0796770b120d052558c0cd2130c5d01de009a8ab5c6886b6562f46a4b430c7c7d8d9ed9a22c741151c90d503b3292b3af8463c7c1e195c5b2c6b3a50b0fefe84'
|
7
|
+
data.tar.gz: 774dd67da3fc8be7a5ddd7af6c6463aeae7e14077256df8891b34242880909b9b72e26685446618ac5283925c4429583e4ff6259725a69e00d832739b7161a7c
|
data/_includes/head.html
CHANGED
@@ -16,8 +16,8 @@
|
|
16
16
|
<meta property="og:description" content="{{ site.description }}" />
|
17
17
|
<meta property="og:image" content="//{{site.github.url | remove: 'https://' | remove: 'http://'}}/assets/img/apple-touch-icon.png" />
|
18
18
|
<meta name="apple-mobile-web-app-title" content="{{site.title}}">
|
19
|
-
<meta name="msapplication-TileColor" content="#{{site.theme_variables.theme_color}}">
|
20
|
-
<meta name="theme-color" content="#{{site.theme_variables.theme_color}}">
|
19
|
+
<meta name="msapplication-TileColor" content="#{{site.theme_variables.theme_color | default: 0d6efd }}">
|
20
|
+
<meta name="theme-color" content="#{{site.theme_variables.theme_color | default: 0d6efd }}">
|
21
21
|
{%- if page.search_exclude == true and page.url != "/index.html" %}
|
22
22
|
<meta name="robots" content="noindex" />
|
23
23
|
{%- endif %}
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ 'assets/img/favicon-32x32.png' | relative_url }}">
|
75
75
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ 'assets/img/favicon-16x16.png' | relative_url }}">
|
76
76
|
<link rel="manifest" href="{{ 'assets/img/site.webmanifest' | relative_url }}">
|
77
|
-
<link rel="mask-icon" href="{{ 'assets/img/safari-pinned-tab.svg' | relative_url }}" color="#{{site.theme_variables.theme_color}}">
|
77
|
+
<link rel="mask-icon" href="{{ 'assets/img/safari-pinned-tab.svg' | relative_url }}" color="#{{site.theme_variables.theme_color | default: 0d6efd }}">
|
78
78
|
<link rel="shortcut icon" href="{{ 'assets/img/favicon.ico' | relative_url }}">
|
79
79
|
<!-- Schema.org metadata -->
|
80
80
|
{% include schemasorg.html %}
|
data/_layouts/page.html
CHANGED
@@ -9,14 +9,23 @@ layout: default
|
|
9
9
|
{%- else %}
|
10
10
|
<h1>{{ page.title }}
|
11
11
|
{%- endif %}
|
12
|
+
{%- if site.theme_variables.github_buttons.edit_me or site.theme_variables.github_buttons.open_issue or site.theme_variables.github_buttons.history or site.theme_variables.github_buttons.edit_me == nil or site.theme_variables.github_buttons.open_issue == nil or site.theme_variables.github_buttons.history == nil %}
|
12
13
|
<div class="btn-group">
|
14
|
+
{%- if site.theme_variables.github_buttons.edit_me or site.theme_variables.github_buttons.edit_me == nil %}
|
13
15
|
{%- if page.custom-editme %}
|
14
16
|
<a role="button" data-bs-toggle="tooltip" title="Propose changes to the content of this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.custom-editme}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
|
15
17
|
{%- else %}
|
16
18
|
<a role="button" data-bs-toggle="tooltip" title="Propose changes to this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
|
17
19
|
{%- endif %}
|
20
|
+
{%- endif %}
|
21
|
+
{%- if site.theme_variables.github_buttons.open_issue or site.theme_variables.github_buttons.open_issue == nil %}
|
22
|
+
<a role="button" data-bs-toggle="tooltip" title="Report an issue" href="{{site.github.repository_url}}/issues/new?title={{'Issue on page: ' | url_encode }}{{page.title | url_encode }}&body={{'I would like to report an issue on the ' | url_encode }}{{page.title | url_encode }}{{' page at `'| url_encode }}{{page.url | url_encode }}{{'`. Description of the issue:' | url_encode }}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-exclamation"></i></a>
|
23
|
+
{%- endif %}
|
24
|
+
{%- if site.theme_variables.github_buttons.history or site.theme_variables.github_buttons.history == nil %}
|
18
25
|
<a role="button" data-bs-toggle="tooltip" title="Check out the history of this page" href="{{site.github.repository_url}}/commits/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-history"></i></a>
|
26
|
+
{%- endif %}
|
19
27
|
</div>
|
28
|
+
{%- endif %}
|
20
29
|
</h1>
|
21
30
|
{%- endif %}
|
22
31
|
{%- if page.summary %}
|
data/assets/img/site.webmanifest
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
---
|
2
|
+
layout: none
|
3
|
+
permalink: assets/img/site.webmanifest
|
4
|
+
---
|
1
5
|
{
|
2
6
|
"name": "",
|
3
7
|
"short_name": "",
|
@@ -13,7 +17,7 @@
|
|
13
17
|
"type": "image/png"
|
14
18
|
}
|
15
19
|
],
|
16
|
-
"theme_color": "#
|
20
|
+
"theme_color": "#{{ site.theme_variables.theme_color | default: '0d6efd' }}",
|
17
21
|
"background_color": "#ffffff",
|
18
22
|
"display": "standalone"
|
19
23
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elixir-toolkit-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bedroesb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|