swedbank-pay-design-guide-jekyll-theme 2.7.8 → 2.8.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5976ddbe40011ad6bf176efc332d36a3c9e89c6ce3be05d1b882618db391e05
4
- data.tar.gz: 9f35362932e11ead4cb95448320b126acfa0ceba4ed9cec4a2757de83dfeed06
3
+ metadata.gz: a241b41ef780ab4bb540e8ab49ad97265135c62a5d971e0e7f6e1ca78761c495
4
+ data.tar.gz: af77e0e3bae0d8b87728d8f2ac71a4a39fb0b4557e5c62322e0c10a0efe258af
5
5
  SHA512:
6
- metadata.gz: 718b5ed6cef6cb81fada81975ed40728ede1c5be04f3d63316d592502bc95a201a7451e9778582ba863a3c2a65111b85af072cf456e5f6aac83d1addc0d81e30
7
- data.tar.gz: e88cdb14e735f328f0225b353ddbf8e10db9aba6129025179f3aa0ef91f2ff1bde2489dd9c119c8c933123b369ec9eb68105276fd714f226a9bbcb0bb10a61dc
6
+ metadata.gz: 5469b72bac374a6828b7f7caab6324b461a82c6fb8fd8b52fe1d8e8c45af7792862ff57eded9fb4c26f880e9865c6f09b02d6cfa12ef6fec92a04f021e6a04e1
7
+ data.tar.gz: 555caaa47cac1e5f036a9ef9ece4cbd212a8bdbb66da1d5ce2965501e7dff073971ed3a24e0ceeeb4212061ff05f612695e7c3106a2b95799b7411cbd2844dd7
@@ -1,11 +1,11 @@
1
1
  {%- assign lead_title = page.lead_title -%}
2
2
  {%- if lead_title == nil and page.sidebar.navigation == nil -%}
3
- {%- unless page.name contains "index" -%}
4
- {%- assign dirname = page.dir | split: "/" | last | remove: "/" | capitalize -%}
5
- {%- unless dirname == "" -%}
6
- {%- assign lead_title = dirname -%}
7
- {%- endunless -%}
8
- {%- endunless -%}
3
+ {%- unless page.name contains "index" -%}
4
+ {%- assign dirname = page.dir | split: "/" | last | remove: "/" | capitalize -%}
5
+ {%- unless dirname == "" -%}
6
+ {%- assign lead_title = dirname -%}
7
+ {%- endunless -%}
8
+ {%- endunless -%}
9
9
  {%- endif -%}
10
10
  {%- assign main_title = page.main_title | default: page.title | default: "PayEx Design Guide theme for Jekyll" -%}
11
11
  {%- capture title -%}{%- if lead_title != nil -%}{{ lead_title }} – {% endif %}{{ main_title }}{%- endcapture -%}
@@ -15,7 +15,8 @@
15
15
  {%- assign design_guide_version = site.design_guide.version | default: '7.1.0' -%}
16
16
  {%- assign design_guide_url = design_guide_base_url | append: '/v/' | append: design_guide_version -%}
17
17
  <!DOCTYPE html>
18
- <html lang="{{ site.lang | default: "en-US" }}">
18
+ <html lang="{{ site.lang | default: " en-US" }}">
19
+
19
20
  <head>
20
21
  <meta charset="utf-8" />
21
22
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -30,7 +31,8 @@
30
31
  <meta property="og:type" value="website" />
31
32
  {%- if page.url != nil %}
32
33
  <meta property="og:url" value="{{ page.url | absolute_url }}" />
33
- {%- if page.url contains 'old-implementations' %}<meta name="robots" content="noindex">{% endif %}
34
+ {%- if page.url contains 'old-implementations' %}
35
+ <meta name="robots" content="noindex">{% endif %}
34
36
  {% endif %}
35
37
  <meta property="og:title" value="{{ title }}" />
36
38
  <meta name="title" content="{{ title }}" />
@@ -42,19 +44,24 @@
42
44
  <title>{{ title }}</title>
43
45
  <link rel="stylesheet" href="{{ design_guide_url }}/styles/swedbankpay.css" />
44
46
  <link rel="stylesheet" href="{{ design_guide_url }}/styles/documentation-swedbankpay.css" />
45
- <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
46
- <link rel="stylesheet" href="{{ "/assets/css/pygments-autumn.css" | relative_url }}">
47
+ <link rel="stylesheet" href="{{ " /assets/css/style.css" | relative_url }}">
48
+ <link rel="stylesheet" href="{{ " /assets/css/pygments-autumn.css" | relative_url }}">
47
49
  <link rel="shortcut icon" href="{{ design_guide_url }}/icons/favicon.ico">
48
50
  <link rel="icon" type="image/png" sizes="16x16" href="{{ design_guide_url }}/icons/favicon-16x16.png">
49
51
  <link rel="icon" type="image/png" sizes="32x32" href="{{ design_guide_url }}/icons/favicon-32x32.png">
50
52
  <link href="https://fonts.googleapis.com/css?family=Material+Icons+Outlined" rel="stylesheet">
53
+ {% if site.custom_head_scripts %}
54
+ {% for script in site.custom_head_scripts %}
55
+ <script src="{{ script | relative_url }}"></script>
56
+ {% endfor %}
57
+ {% endif %}
51
58
  {%- include apple-mobile-headers.html design_guide_url=design_guide_url -%}
52
59
  <script src="{{ '/assets/js/mermaid.min.js' | relative_url }}"></script>
53
60
  {%- if site.search.enabled == true %}
54
61
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
55
- <script src="{{ "/assets/tipuesearch/tipuesearch_content.js" | relative_url }}"></script>
56
- <script src="{{ "/assets/tipuesearch/tipuesearch_set.js" | relative_url }}"></script>
57
- <script src="{{ "/assets/tipuesearch/tipuesearch.min.js" | relative_url }}"></script>
62
+ <script src="{{ " /assets/tipuesearch/tipuesearch_content.js" | relative_url }}"></script>
63
+ <script src="{{ " /assets/tipuesearch/tipuesearch_set.js" | relative_url }}"></script>
64
+ <script src="{{ " /assets/tipuesearch/tipuesearch.min.js" | relative_url }}"></script>
58
65
  {%- endif %}
59
66
  </head>
60
67
 
@@ -62,60 +69,59 @@
62
69
  <div id="overlay"></div>
63
70
  <div id="designguide">
64
71
  <header id="dg-topbar" class="topbar topbar-max-md-sticky d-md-flex d-lg-none">
65
- <button type="button" class="topbar-btn" aria-label="Open menu" aria-haspopup="menu" aria-expanded="false" aria-controls="topbar-nav">
66
- <i class="material-icons topbar-btn-icon">menu</i>
67
- </button><button type="button" class="topbar-close" aria-label="Close menu">
68
- <i class="material-icons topbar-btn-icon">close</i>
69
- </button>
70
- <a class="topbar-logo" href="/" aria-label="To homepage">
71
- <img src="{{ design_guide_url }}/designguide/assets/swedbankpay-logo-v.svg" alt="swedbankpay logo" class="logotype-vertical logotype-sm" />
72
- </a>
72
+ <button type="button" class="topbar-btn" aria-label="Open menu" aria-haspopup="menu"
73
+ aria-expanded="false" aria-controls="topbar-nav">
74
+ <i class="material-icons topbar-btn-icon">menu</i>
75
+ </button><button type="button" class="topbar-close" aria-label="Close menu">
76
+ <i class="material-icons topbar-btn-icon">close</i>
77
+ </button>
78
+ <a class="topbar-logo" href="/" aria-label="To homepage">
79
+ <img src="{{ design_guide_url }}/designguide/assets/swedbankpay-logo-v.svg" alt="swedbankpay logo"
80
+ class="logotype-vertical logotype-sm" />
81
+ </a>
73
82
  </header>
74
83
  <div class="documentation">
75
84
  <div id="search-box-container" class="form-group search-box search-expander">
76
85
  {% if site.search.enabled == true and page.name != "search.md" %}
77
- <form class="search d-flex"
78
- method="get" action="{{ site.search.url | relative_url }}">
79
- <input name="q" type="text" id="tipue_search_input"
80
- class="form-control search-input"
81
- placeholder="Search in documentation"
82
- onfocus="this.placeholder=''"
83
- onblur="this.placeholder='Search in documentation'"
84
- pattern=".{3,}"
86
+ <form class="search d-flex" method="get" action="{{ site.search.url | relative_url }}">
87
+ <input name="q" type="text" id="tipue_search_input" class="form-control search-input"
88
+ placeholder="Search in documentation" onfocus="this.placeholder=''"
89
+ onblur="this.placeholder='Search in documentation'" pattern=".{3,}"
85
90
  title="At least 3 characters">
86
- <button id="search-btn"class="btn btn-primary btn-icon-lg" type="submit" aria-label="Search button">
91
+ <button id="search-btn" class="btn btn-primary btn-icon-lg" type="submit"
92
+ aria-label="Search button">
87
93
  <i class="material-icons-outlined" aria-hidden="true">search</i>
88
94
  </button>
89
95
  </form>
90
96
  {% endif %}
91
97
  </div>
92
98
  <div class="d-md-flex">
93
- <div id="dg-sidebar" class="sidebar dg-sidebar has-secondary-nav">
94
- <nav class="sidebar-main-nav">
95
- <div class="sidebar-logo">
96
- <a href="/" class="sidebar-header">
97
- <img src="{{ design_guide_url }}/designguide/assets/swedbankpay-logo-v.svg"
98
- alt="Swedbank Pay vertical logo" class="logotype-vertical logotype-lg"/>
99
- </a>
100
- </div>
101
- <ul id="dx-sidebar-main-nav-ul" class="main-nav-ul">
102
- </ul>
103
- </nav>
104
- </div>
105
- <main class="doc-view">
106
- {% if page.layout != 'front-page' %}
99
+ <div id="dg-sidebar" class="sidebar dg-sidebar has-secondary-nav">
100
+ <nav class="sidebar-main-nav">
101
+ <div class="sidebar-logo">
102
+ <a href="/" class="sidebar-header">
103
+ <img src="{{ design_guide_url }}/designguide/assets/swedbankpay-logo-v.svg"
104
+ alt="Swedbank Pay vertical logo" class="logotype-vertical logotype-lg" />
105
+ </a>
106
+ </div>
107
+ <ul id="dx-sidebar-main-nav-ul" class="main-nav-ul">
108
+ </ul>
109
+ </nav>
110
+ </div>
111
+ <main class="doc-view">
112
+ {% if page.layout != 'front-page' %}
107
113
  {% include title-header.html %}
108
- {% endif %}
109
- {% include doc-container.html %}
110
- </main>
114
+ {% endif %}
115
+ {% include doc-container.html %}
116
+ </main>
111
117
  </div>
112
118
  </div>
113
119
  </div>
114
120
  <script src="{{ design_guide_url }}/scripts/dg.js" global="true" autoload="true"></script>
115
121
  <script src="{{ '/assets/js/swedbank-pay-design-guide-theme.js' | relative_url }}"></script>
116
122
  {%- if site.google_analytics.tracking_id %}
117
- {% include google_analytics.html %}
123
+ {% include google_analytics.html %}
118
124
  {%- endif %}
119
125
  </body>
120
126
 
121
- </html>
127
+ </html>
data/lib/gem_version.rb CHANGED
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '2.7.8'
7
+ '2.8.0'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swedbank-pay-design-guide-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.8
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay