jekyll-theme-dashui 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dac9d14c4438a12af6531761992fb9cb6b650a27826628416ff820fab5f01c9e
4
- data.tar.gz: 7f9b09a9337af5332568525446fff7576b2bfebf54affa2be9446f7133eb360d
3
+ metadata.gz: f7df4edaf9ef4eec46c0ef7d7d6808f7408d05af1f689e94b385734cf0269daa
4
+ data.tar.gz: 4104667ab2eecbad25d54f523b8ee90882752821e407e64b9c1d5060aa5bc091
5
5
  SHA512:
6
- metadata.gz: 7fba32afef6ba190e2c339e407442914cdb0a6cae24a2a010128cc3a747898765ff5244890d5436d09089b1a0be6adeb52310ff7c06984cd3c180ffcd6b4d538
7
- data.tar.gz: 339d0328f8ac8843627e0b0bf953f210fb298aa8dc8e2136e9cc444cb65a2934c1c9737b79bd3611df71926def3b3f26c303bd6e14e740631626c521c4e073b3
6
+ metadata.gz: a844ee86f01e3e3527e151f0576f918b3d2b503029d32635b70619c3c7d9b55e1a14ceafff76682cb79e306dcc5a6857c6b3135c116aa0b005c8b6aa7d513bb1
7
+ data.tar.gz: 7d8b23c225b607cc0fc2de48adb863f9102adee890cb26f8b5869783c1ce66c78bd0f1fd067b2122cf889dc1b4b2b51dc14618e26fa44582e606f4b3b37bc16c
@@ -0,0 +1,37 @@
1
+ ---
2
+ layout: empty
3
+ title: "404: Page not found"
4
+ permalink: /404.html
5
+
6
+ redirect_from:
7
+ - /norobots/
8
+ - /assets/
9
+ - /posts/
10
+
11
+ dynamic_title: true
12
+ ---
13
+
14
+ <!-- Error page -->
15
+ <div class="container min-vh-100 d-flex justify-content-center
16
+ align-items-center">
17
+ <!-- row -->
18
+ <div class="row">
19
+ <!-- col -->
20
+ <div class="col-12">
21
+ <!-- content -->
22
+ <div class="text-center">
23
+ <div class="mb-3">
24
+ <!-- img -->
25
+ <img src="../assets/images/error/404-error-img.png" alt=""
26
+ class="img-fluid">
27
+ </div>
28
+ <!-- text -->
29
+ <h1 class="display-4 fw-bold">Oops! the page not found.</h1>
30
+ <p class="mb-4">Or simply leverage the expertise of our consultation
31
+ team.</p>
32
+ <!-- button -->
33
+ <a href="../index.html" class="btn btn-primary">Go Home</a>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
@@ -1,3 +1,6 @@
1
+ {% assign this_url = page.url | relative_url %}
2
+ {% assign home_url = '/' | relative_url %}
3
+
1
4
  <div class="header">
2
5
  <!-- navbar -->
3
6
  <nav class="navbar-classic navbar navbar-expand-lg">
@@ -8,14 +11,15 @@
8
11
  {% endif %}
9
12
  <ul class="navbar-nav navbar-right-wrap d-flex nav-top-wrap">
10
13
  <li class="nav-item mx-2">
11
- <a href="{{ site.baseurl }}" class="btn btn-outline-primary{% if site.baseurl == page.url %}{{ " active" }}{% endif %}">
14
+ <a href="{{ '/' | relative_url }}" class="btn btn-outline-primary{% if home_url == this_url %}{{ " active" }}{% endif %}">
12
15
  <i class="nav-icon icon-xs" data-feather="home"></i>
13
16
  <span>Home</span>
14
17
  </a>
15
18
  </li> <!-- .nav-item -->
16
19
  {% for tab in site.tabs %}
20
+ {% assign tab_url = tab.url | relative_url %}
17
21
  <li class="nav-item mx-2">
18
- <a href="{{ tab.url | relative_url }}" class="btn btn-outline-primary{% if tab.url == page.url %}{{ " active" }}{% endif %}">
22
+ <a href="{{ tab.url | relative_url }}" class="btn btn-outline-primary{% if tab_url == this_url %}{{ " active" }}{% endif %}">
19
23
  {% if tab.icon %}
20
24
  <i class="nav-icon icon-xs me-2" data-feather="{{ tab.icon }}"></i>
21
25
  {% endif %}
@@ -0,0 +1,9 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+ {% include head.html %}
4
+
5
+ <body>
6
+ {{ content }}
7
+ {% include scripts.html %}
8
+ </body>
9
+ </html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-dashui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fede Raimondo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-04 00:00:00.000000000 Z
11
+ date: 2021-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -117,10 +117,12 @@ extra_rdoc_files: []
117
117
  files:
118
118
  - LICENSE.txt
119
119
  - README.md
120
+ - _includes/404.html
120
121
  - _includes/head.html
121
122
  - _includes/navbar-top.html
122
123
  - _includes/scripts.html
123
124
  - _layouts/default.html
125
+ - _layouts/empty.html
124
126
  - _layouts/page.html
125
127
  - _layouts/post.html
126
128
  - assets/css/theme.min.css