jekyll-nagymaros 1.0.0 → 1.1.0

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: 143fe5368b1aa6a48989390d78cdb0760ae46eb3f2c57497efef271188a7f217
4
- data.tar.gz: e6b5fc6447df3d621888abf1db389bedb386e2a48177cd9b2d2825996f959ad1
3
+ metadata.gz: 6b3513e60bfb42edef641f1d1c661ef166af40ccc166c286906c2ae9acdf003d
4
+ data.tar.gz: edb1fe943b8c940a9711f7aa3611c7b8b32833255ef5d436c49b2a22a77f1bd9
5
5
  SHA512:
6
- metadata.gz: bd4172b1713a9b1049cf57d4b1f79ba3e174b3d1efd95a267dc080598a248c1712edbb002aa904f75cd6aee6e80e090438e03afdafec7cc11cff93a782dce09c
7
- data.tar.gz: 6c02ab99aa0c33ce02f9a67cc2e946dbcb24bc5c7be37b899ec4576f713b9b6a5765f8f892a12e8446b82f2bb9468c2acbc9486b15576610e72a6ae7de0c20fb
6
+ metadata.gz: 81069f57cf157b1992d40db65224a8b49fa89f5960355aa1dcf43ace966edf9fa9b38b331c3df9718e7f727678eb405259a0861cbbacf8338d37e32bdf1dadf6
7
+ data.tar.gz: 791eac3615a282132abf3cba6ca872446ba47560b44e770c80dde554e27fa2c076a871fcc82b76ddc9468905fcc595a178dce5946e3606d4571b3fc5b38f5620
data/README.md CHANGED
@@ -62,13 +62,13 @@ To customize hidden files, you can create new files with the same names and path
62
62
 
63
63
  ## Usage
64
64
 
65
- Core customization occurs in `_config.yml`. Aside from the usual configuration variables, you can set a value for the variable `home`, which specifies the page of your site to which you want the home button in the navigation bar to redirect. By default, this is set to the index. In addition, you can set a value for `copyright`, which corresponds to the name of the copyright holder in the notice within the theme's footer. By default, no value is provided for this variable, in which case the whole copyright notice is suppressed. Finally, you can set a value for `indexing`, which tells search engine crawlers whether to index your site. By default, the value is `false`, in which case the following code is placed in the head of every page:
65
+ Core customization occurs in `_config.yml`. Aside from the usual configuration variables, you can set a value for `copyright`, which corresponds to the name of the copyright holder in the notice within the theme's footer. If no value is provided for this variable, the whole copyright notice is suppressed (this is the default). Finally, you can set a value for `indexing`, which tells search engine crawlers whether to index your site. The default value is `false`, and in this case the following code is included in the head of every page:
66
66
 
67
67
  ```html
68
- <meta name="robots" content="noindex, nofollow">
68
+ <meta name="robots" content="none">
69
69
  ```
70
70
 
71
- If you set `indexing: true`, however, crawlers will be allowed to index your site and Jekyll will populate the head of every page with SEO tags through the `jekyll-seo-tag` plugin.
71
+ If you set the value to `true`, however, the above code will not be included, so that crawlers will be allowed to index your site, and Jekyll will populate the head of every page with SEO tags through the `jekyll-seo-tag` plugin.
72
72
 
73
73
  Data that appears in the theme's four default pages must be configured via YAML files located in the `_data` folder. See the corresponding files in `demo/_data` to understand how to write your own YAML, or better yet, clone these files and edit them.
74
74
 
data/_config.yml CHANGED
@@ -3,7 +3,6 @@ description: ""
3
3
  baseurl: ""
4
4
  url: ""
5
5
 
6
- home: false
7
6
  copyright: false
8
7
  indexing: false
9
8
 
data/_includes/head.html CHANGED
@@ -4,15 +4,15 @@
4
4
  {% if site.indexing and page.layout != 404 %}
5
5
  {% seo %}
6
6
  {% else %}
7
- <meta name="robots" content="noindex, nofollow">
7
+ <meta name="robots" content="none">
8
8
  {% if page.title %}
9
9
  <title>{{ site.title | prepend: ' | ' | prepend: page.title }}</title>
10
10
  {% else %}
11
11
  <title>{{ site.title | append: ' | ' | append: site.description }}</title>
12
12
  {% endif %}
13
13
  {% endif %}
14
- <link rel="stylesheet" href="{{ '/assets/css/bootstrap.css' | relative_url }}">
15
- <link rel="stylesheet" href="{{ '/assets/css/leaflet.css' | relative_url }}">
16
- <link rel="stylesheet" href="{{ '/assets/css/open-color.css' | relative_url }}">
17
- <link rel="stylesheet" href="{{ '/assets/css/styles.css' | relative_url }}">
14
+ <link rel="stylesheet" href="{{ '/assets/css/bootstrap.css' | prepend: site.url }}">
15
+ <link rel="stylesheet" href="{{ '/assets/css/leaflet.css' | prepend: site.url }}">
16
+ <link rel="stylesheet" href="{{ '/assets/css/open-color.css' | prepend: site.url }}">
17
+ <link rel="stylesheet" href="{{ '/assets/css/styles.css' | prepend: site.url }}">
18
18
  </head>
@@ -1,12 +1,7 @@
1
1
  <header class="bg-gray-4">
2
2
  <div class="container">
3
3
  <nav class="navbar navbar-expand-sm">
4
- {% if site.home %}
5
- {% assign home = site.home | relative_url %}
6
- {% else %}
7
- {% assign home = '/' | relative_url %}
8
- {% endif %}
9
- <a class="navbar-brand" href="{{ home }}">{{ site.title }}</a>
4
+ <a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
10
5
  <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navigation" aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
11
6
  <span class="navbar-toggler-icon"></span>
12
7
  </button>
@@ -16,7 +11,7 @@
16
11
  {% for link in links %}
17
12
  {% if link.navorder %}
18
13
  {% assign current = link.name | split: '.' | first %}
19
- {% assign href = link.url | relative_url %}
14
+ {% assign href = link.url | prepend: site.url %}
20
15
  {% if page.layout == current %}
21
16
  <a class="nav-link active" aria-current="page" href="{{ href }}">{{ link.title }}</a>
22
17
  {% else %}
data/_layouts/404.html CHANGED
@@ -11,6 +11,6 @@ layout: default
11
11
  <span {{ span }}>0</span>
12
12
  <span {{ span }}>4</span>
13
13
  <h1 class="display-5">{{ title }}</h1>
14
- <p class="fs-5"><a href="{{ '/' | relative_url }}">Return to the homepage</a></p>
14
+ <p class="fs-5"><a href="{{ site.url }}">Return to the homepage</a></p>
15
15
  </div>
16
16
  </main>
@@ -5,9 +5,9 @@
5
5
 
6
6
  <body>
7
7
  {{ content }}
8
- <script src="{{ '/assets/js/bootstrap.js' | relative_url }}"></script>
9
- <script src="{{ '/assets/js/leaflet.js' | relative_url }}"></script>
10
- <script src="{{ '/assets/js/main.js' | relative_url }}"></script>
8
+ <script src="{{ '/assets/js/bootstrap.js' | prepend: site.url }}"></script>
9
+ <script src="{{ '/assets/js/leaflet.js' | prepend: site.url }}"></script>
10
+ <script src="{{ '/assets/js/main.js' | prepend: site.url }}"></script>
11
11
  </body>
12
12
 
13
13
  </html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-nagymaros
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - piazzai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-11 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll