elixir-toolkit-theme 1.6.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/events.html +1 -1
- data/_includes/head.html +3 -3
- data/_includes/sidebar.html +12 -14
- data/_layouts/page.html +9 -0
- data/assets/css/main.scss +1 -1
- data/assets/img/site.webmanifest +5 -1
- data/assets/js/main.js +1 -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: 0443c3da3491280579984c47b3d3fe956b63fc8553f9741a88c1fdc7db2e9be0
|
4
|
+
data.tar.gz: 282c28e0ceda276afe5af37036204deca4c69a38239ff294b962fdeddc2b9a34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a238b0de46e0c5a701ee66cb8550d138fb1ee4098edf22a70c31c3e5c872a4bd7a98c5f7d3e18d74e55a83a2fc512adea191e725e64626ca0fbcb5b74dbe7a98
|
7
|
+
data.tar.gz: 619bcf9d9df1fcf08f647d10d4847c815a35c9ded6c08f9456c62816880d00eb0a3647ccaa4d8d91e3960eca0438e6f163c6492e923865200177f02ecc7026bd
|
data/_includes/events.html
CHANGED
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/_includes/sidebar.html
CHANGED
@@ -10,20 +10,18 @@
|
|
10
10
|
{{ page.sidebar | capitalize | replace: "_", " " }} menu <i title="navbar-toggler" class="fa fa-bars ms-2"></i>
|
11
11
|
</button>
|
12
12
|
<nav class="collapse" id="side-nav" aria-label="Side navigation">
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
</li>
|
26
|
-
{%- endif %}
|
13
|
+
{%- if sidebar.title or sidebar.version %}
|
14
|
+
{%- if sidebar.title_url %}
|
15
|
+
{%- if page.url == sidebar.title_url %}
|
16
|
+
<a class="btn hover-primary text-start d-block mb-1 sidebar-title active" href="{{ sidebar.title_url | relative_url }}">{{sidebar.title}} {{sidebar.version}}</a>
|
17
|
+
{%- else %}
|
18
|
+
<a class="btn hover-primary text-start d-block mb-1 sidebar-title" href="{{ sidebar.title_url | relative_url }}">{{sidebar.title}} {{sidebar.version}}</a>
|
19
|
+
{%- endif %}
|
20
|
+
{%- else %}
|
21
|
+
<a class="btn text-start d-block mb-1 sidebar-title disabled" aria-disabled="true">{{sidebar.title}} {{sidebar.version}}</a>
|
22
|
+
{%- endif %}
|
23
|
+
{%- endif %}
|
24
|
+
<ul class="list-unstyled mb-4 mb-lg-0">
|
27
25
|
{%- for folder in sidebar.subitems %}
|
28
26
|
{%- if page.url == folder.url %}
|
29
27
|
<li class="active{%- if folder.hr %} mt-3{% endif %}">
|
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/css/main.scss
CHANGED
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
|
}
|
data/assets/js/main.js
CHANGED
@@ -31,7 +31,7 @@ $(document).ready(function external_new_window() {
|
|
31
31
|
*/
|
32
32
|
$(document).ready(function () {
|
33
33
|
// Initialize navgoco with default options
|
34
|
-
$("#
|
34
|
+
$("#side-nav>ul").navgoco({
|
35
35
|
caretHtml: '',
|
36
36
|
accordion: true,
|
37
37
|
openClass: 'active', // open
|
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.1
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|