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 +4 -4
- data/README.md +3 -3
- data/_config.yml +0 -1
- data/_includes/head.html +5 -5
- data/_includes/header.html +2 -7
- data/_layouts/404.html +1 -1
- data/_layouts/default.html +3 -3
- 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: 6b3513e60bfb42edef641f1d1c661ef166af40ccc166c286906c2ae9acdf003d
|
4
|
+
data.tar.gz: edb1fe943b8c940a9711f7aa3611c7b8b32833255ef5d436c49b2a22a77f1bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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="
|
68
|
+
<meta name="robots" content="none">
|
69
69
|
```
|
70
70
|
|
71
|
-
If you set `
|
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
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="
|
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' |
|
15
|
-
<link rel="stylesheet" href="{{ '/assets/css/leaflet.css' |
|
16
|
-
<link rel="stylesheet" href="{{ '/assets/css/open-color.css' |
|
17
|
-
<link rel="stylesheet" href="{{ '/assets/css/styles.css' |
|
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>
|
data/_includes/header.html
CHANGED
@@ -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
|
-
{
|
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 |
|
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="{{
|
14
|
+
<p class="fs-5"><a href="{{ site.url }}">Return to the homepage</a></p>
|
15
15
|
</div>
|
16
16
|
</main>
|
data/_layouts/default.html
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
|
6
6
|
<body>
|
7
7
|
{{ content }}
|
8
|
-
<script src="{{ '/assets/js/bootstrap.js' |
|
9
|
-
<script src="{{ '/assets/js/leaflet.js' |
|
10
|
-
<script src="{{ '/assets/js/main.js' |
|
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.
|
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:
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|