elixir-toolkit-theme 1.23.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/contributor-minitiles-page.html +1 -1
- data/_includes/github-buttons.html +6 -2
- data/_includes/head.html +16 -0
- data/_includes/resource-table-all.html +2 -2
- data/_includes/resource-table-page.html +2 -2
- data/_includes/sidebar.html +1 -1
- data/_layouts/default.html +2 -2
- data/assets/js/search-data.json +1 -1
- data/assets/js/search.js +2 -7
- 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: a23efc58692538db35c4e6a665a6c9eb81bdcedd62761605c50c3135c999ea48
|
4
|
+
data.tar.gz: 6369c07353e52e09bf3bbb61eb0ea66344a7f2360e873ca068510f03f1f6b988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25476b4f5245d68ff2b13fe77f6bb477ce8073d956f93a56fea525639f62b81f3b87ce40d9877205ff324c20767026e9fe5760be98aa65a02f42c04900c662f4
|
7
|
+
data.tar.gz: eb5944680a590f2aaffe7ab4de48d2280684af541b68cf868744d91631ac06727e60cc43479abf24359a2b2299934f3dd4617818e1a27e378c078634e0150684
|
@@ -6,7 +6,7 @@
|
|
6
6
|
{%- for contributor in page_contributors %}
|
7
7
|
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
8
8
|
<div class="dropup-center dropup d-inline-block">
|
9
|
-
<button class="btn btn-sm dropdown-toggle contributor-link d-flex hover-primary m-1 position-relative" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
9
|
+
<button class="btn btn-sm dropdown-toggle contributor-link d-flex hover-primary m-1 position-relative" type="button" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside" data-bs-offset="0,10">
|
10
10
|
<div class="d-flex align-items-center">
|
11
11
|
<div class="flex-shrink-0">
|
12
12
|
{%- if contributors[contributor].image_url %}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
{%- 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 %}
|
2
2
|
<div id="edit-me" class="btn-group">
|
3
3
|
{%- if site.theme_variables.github_buttons.edit_me or site.theme_variables.github_buttons.edit_me == nil %}
|
4
|
-
{%- if page.
|
5
|
-
<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.
|
4
|
+
{%- if page.custom_editme %}
|
5
|
+
<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="fa-solid fa-pencil-alt"></i></a>
|
6
6
|
{%- else %}
|
7
7
|
<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="fa-solid fa-pencil-alt"></i></a>
|
8
8
|
{%- endif %}
|
@@ -11,7 +11,11 @@
|
|
11
11
|
<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="fa-solid fa-exclamation"></i></a>
|
12
12
|
{%- endif %}
|
13
13
|
{%- if site.theme_variables.github_buttons.history or site.theme_variables.github_buttons.history == nil %}
|
14
|
+
{%- if page.custom_editme %}
|
15
|
+
<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.custom_editme}}" class="btn btn-sm hover-primary text-primary"><i class="fa-solid fa-history"></i></a>
|
16
|
+
{%- else %}
|
14
17
|
<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="fa-solid fa-history"></i></a>
|
15
18
|
{%- endif %}
|
19
|
+
{%- endif %}
|
16
20
|
</div>
|
17
21
|
{%- endif %}
|
data/_includes/head.html
CHANGED
@@ -94,4 +94,20 @@
|
|
94
94
|
<!-- Plausible -->
|
95
95
|
<script defer data-domain="{{site.plausible}}" src="{{site.plausible_src | default: 'https://plausible.io/js/plausible.js'}}"></script>
|
96
96
|
{%- endif %}
|
97
|
+
{%- if site.matomo and jekyll.environment == "production"%}
|
98
|
+
<!-- Matomo -->
|
99
|
+
<script>
|
100
|
+
var _paq = window._paq = window._paq || [];
|
101
|
+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
102
|
+
_paq.push(['trackPageView']);
|
103
|
+
_paq.push(['enableLinkTracking']);
|
104
|
+
(function() {
|
105
|
+
var u="{{site.matomo}}";
|
106
|
+
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
107
|
+
_paq.push(['setSiteId', '2']);
|
108
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
109
|
+
g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
110
|
+
})();
|
111
|
+
</script>
|
112
|
+
{%- endif %}
|
97
113
|
</head>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
{%- for tag in tool.related_pages %}
|
66
66
|
{%- unless tag == page.page_id %}
|
67
67
|
{%- assign related_page = site.pages | where:"page_id",tag | first %}
|
68
|
-
<a href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
68
|
+
<a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
69
69
|
{%- endunless %}
|
70
70
|
{%- endfor %}
|
71
71
|
{%- endcapture %}
|
@@ -124,7 +124,7 @@
|
|
124
124
|
{%- for tag in section[1] %}
|
125
125
|
{%- unless tag == page.page_id %}
|
126
126
|
{%- assign related_page = site.pages | where:"page_id",tag | first %}
|
127
|
-
<a class="nohover" href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
127
|
+
<a class="nohover" href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
128
128
|
{%- endunless %}
|
129
129
|
{%- endfor %}
|
130
130
|
{%- endunless %}
|
@@ -44,7 +44,7 @@
|
|
44
44
|
{%- for tag in section[1] %}
|
45
45
|
{%- unless tag == page.page_id %}
|
46
46
|
{%- assign related_page = site.pages | where:"page_id",tag | first %}
|
47
|
-
<a class="nohover" href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
47
|
+
<a class="nohover" href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
48
48
|
{%- endunless %}
|
49
49
|
{%- endfor %}
|
50
50
|
{%- endunless %}
|
@@ -118,7 +118,7 @@
|
|
118
118
|
{%- for tag in tool.related_pages %}
|
119
119
|
{%- unless tag == page.page_id %}
|
120
120
|
{%- assign related_page = site.pages | where:"page_id",tag | first %}
|
121
|
-
<a href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
121
|
+
<a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
122
122
|
{%- endunless %}
|
123
123
|
{%- endfor %}
|
124
124
|
{%- endcapture %}
|
data/_includes/sidebar.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
{%- capture planning -%}{%- if page.url == "/planning" -%}st5{%- else -%}st15{%- endif -%}{%- endcapture -%}
|
7
7
|
{%- capture collecting -%}{%- if page.url == "/collecting" -%}st6{%- else -%}st16{%- endif -%}{%- endcapture -%}
|
8
8
|
{%- capture sharing -%}{%- if page.url == "/sharing" -%}st7{%- else -%}st17{%- endif -%}{%- endcapture -%}
|
9
|
-
<button class="btn text-start d-lg-none collapsed sidebar-collapse w-100 mb-3" type="button" data-bs-toggle="collapse" data-bs-target="#side-nav" aria-controls="side-nav" aria-expanded="true" aria-label="Toggle navigation">
|
9
|
+
<button class="btn text-start d-lg-none hover-primary collapsed sidebar-collapse w-100 mb-3" type="button" data-bs-toggle="collapse" data-bs-target="#side-nav" aria-controls="side-nav" aria-expanded="true" aria-label="Toggle navigation">
|
10
10
|
{{ page.sidebar | capitalize | replace: "_", " " }} menu <i title="navbar-toggler" class="fa-solid fa-bars ms-2"></i>
|
11
11
|
</button>
|
12
12
|
<nav class="collapse" id="side-nav" aria-label="Side navigation">
|
data/_layouts/default.html
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
<!doctype html>
|
2
2
|
<html lang="en">
|
3
3
|
{% include head.html %}
|
4
|
-
<body>
|
4
|
+
<body class="d-flex flex-column min-vh-100">
|
5
5
|
{% if jekyll.environment == "development" %}{% include dev-info.html %}{% endif %}
|
6
6
|
{% include topnav.html %}
|
7
7
|
<!-- Page Content -->
|
8
|
-
<div class="container
|
8
|
+
<div class="container flex-grow-1">
|
9
9
|
<!-- Content Row -->
|
10
10
|
<div class="row gx-0 gx-lg-5">
|
11
11
|
{%- assign content_col_size = "col-lg-12" %}{% unless page.hide_sidebar %}
|
data/assets/js/search-data.json
CHANGED
@@ -4,7 +4,7 @@ layout: none
|
|
4
4
|
---
|
5
5
|
{
|
6
6
|
{%- assign i = 0 -%}
|
7
|
-
{%- assign pages_array =
|
7
|
+
{%- assign pages_array = "" | split: "" -%}
|
8
8
|
{%- assign pages_array = pages_array | push: site.html_pages -%}
|
9
9
|
{%- for pages in pages_array -%}
|
10
10
|
{%- for page in pages -%}
|
data/assets/js/search.js
CHANGED
@@ -3,7 +3,7 @@ layout: none
|
|
3
3
|
permalink: assets/js/search.js
|
4
4
|
---
|
5
5
|
/**
|
6
|
-
* Search based on just the docs
|
6
|
+
* Search based on just the docs and contains minor changes
|
7
7
|
*
|
8
8
|
* https://github.com/pmarsceill/just-the-docs
|
9
9
|
* The MIT License (MIT)
|
@@ -382,12 +382,7 @@ permalink: assets/js/search.js
|
|
382
382
|
var active = document.querySelector('.search-results a.active');
|
383
383
|
if (active) {
|
384
384
|
active.click();
|
385
|
-
}
|
386
|
-
var first = document.querySelector('.search-results');
|
387
|
-
if (first) {
|
388
|
-
first.click();
|
389
|
-
}
|
390
|
-
}
|
385
|
+
}
|
391
386
|
return;
|
392
387
|
}
|
393
388
|
});
|
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.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bedroesb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|