jekyll-theme-twenty 0.1.12 → 0.1.14
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 +4 -4
- data/_includes/header.html +1 -1
- data/_includes/navigation.html +4 -0
- data/_layouts/sitemap.html +4 -5
- data/_sass/layout/_footer.scss +1 -1
- 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: abf19c9466cd8df0efcec67411df1693dc7460142d91fa3cbe98ea1624b5c881
|
|
4
|
+
data.tar.gz: c560b42ae7fc282850586756f2a7878d1cf80769c8d68640b239d1d2d846fc67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14c75f77dbee24d8d9926e462bb899f5c3f1894028ccfebe99588816c75d9a12d4d8a50daa8eb78627c313cc57ba8b872dd47ba0d0710c7f5fefc8383994be82
|
|
7
|
+
data.tar.gz: 8db194c1ab6345333d32a2ea08765cd99bdc01bef9d4a6e780c3ced3c1c0de75ec9f168ca8f59e87515b53014b6fd4095c45075538fb18d35faca7a36d198046
|
data/_includes/header.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- Header -->
|
|
2
2
|
<header id="header" {% if layout.name=="home" %}class="alt"{% endif %}>
|
|
3
3
|
<h1 id="logo">
|
|
4
|
-
<a href="index.html">
|
|
4
|
+
<a href="{{ index.html | absolute_url }}">
|
|
5
5
|
{%- if site.logo -%}
|
|
6
6
|
<img src="{{ site.logo | absolute_url }}" width="32" height="32">
|
|
7
7
|
|
data/_includes/navigation.html
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
{%- for item in include.menu -%}
|
|
4
4
|
{%- if item.menu[0] -%}
|
|
5
5
|
<li class="submenu {% if item.url == page.url %} current {% endif %}">
|
|
6
|
+
{%- if item.url -%}
|
|
6
7
|
<a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
|
|
8
|
+
{%- else -%}
|
|
9
|
+
<a href="#">{{ item.title }}</a>
|
|
10
|
+
{%- endif -%}
|
|
7
11
|
<ul>
|
|
8
12
|
{%- for subitem in item.menu -%}
|
|
9
13
|
<li {% if subitem.url == page.url %} class="current" {% endif %}>
|
data/_layouts/sitemap.html
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
---
|
|
2
|
-
layout: sitemap
|
|
3
2
|
permalink: /sitemap.xml
|
|
4
3
|
---
|
|
5
|
-
{%- assign posts=site.posts | sort: 'lang' -%}
|
|
6
|
-
{%- assign pages=site.html_pages | sort: 'lang' | concat: posts -%}
|
|
7
4
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
8
5
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
|
9
|
-
|
|
6
|
+
{%- assign posts=site.posts | sort: 'lang' -%}
|
|
7
|
+
{%- assign pages=site.html_pages | sort: 'lang' | concat: posts -%}
|
|
8
|
+
{%- for page in pages -%}
|
|
10
9
|
{%- assign versions=pages | where:"lang-ref", page.lang-ref -%}
|
|
11
10
|
{%- unless page.url contains "404" -%}
|
|
12
11
|
<url>
|
|
@@ -17,5 +16,5 @@ permalink: /sitemap.xml
|
|
|
17
16
|
<changefreq>weekly</changefreq>
|
|
18
17
|
</url>
|
|
19
18
|
{%- endunless -%}
|
|
20
|
-
|
|
19
|
+
{%- endfor -%}
|
|
21
20
|
</urlset>
|
data/_sass/layout/_footer.scss
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-twenty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- apehex
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-01-
|
|
11
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|