jekyll-zeta 0.2.1

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.
@@ -0,0 +1,23 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: "en" }}">
3
+ {%- include head.html -%}
4
+ <body a="{{ site.theme_config.appearance | default: "auto" }}">
5
+ <main class="page-content" aria-label="Content">
6
+
7
+ <div class="w">
8
+ {%- include navbar.html -%}
9
+ {{ content }}
10
+ </div>
11
+ </main>
12
+
13
+ {%-if site.goat_counter and jekyll.environment == "production"-%}
14
+ {%-include goat_counter.html-%}
15
+ {%-endif-%}
16
+
17
+ {% if page.custom_js %}
18
+ {% for js_file in page.custom_js %}
19
+ <script type="text/javascript" src="{{ site.baseurl }}/assets/js/{{ js_file }}.js"></script>
20
+ {% endfor %}
21
+ {% endif %}
22
+ </body>
23
+ </html>
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <h1>{{ page.title }}</h1>
6
+
7
+ {%
8
+ include post_list.html
9
+ limit=10
10
+ show_more=true
11
+ show_more_text="MORE"
12
+ show_more_url="archive.html"
13
+ -%}
14
+
15
+ {{ content }}
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {%-include back_link.html-%}
6
+
7
+ <h1>{{ page.title }}</h1>
8
+
9
+ {{ content }}
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+
6
+ <article>
7
+
8
+
9
+ <h1>{{ page.title }}</h1>
10
+ <time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.post_date_format }}</time> &nbsp; &nbsp;
11
+ {% for tag in page.tags %}
12
+ {% capture tag_name %}{{ tag }}{% endcapture %}
13
+ <a href="{{ site.baseurl }}/tags/{{ tag_name }}.html"><text><nobr>#{{ tag_name }}</nobr></text>&nbsp;</a>
14
+ {% endfor %}</span>
15
+
16
+ {%- capture encid %}{{ "" | get_encrypt_id:page}}{% endcapture -%}
17
+ {%- if encid == '' -%}
18
+ {{ content }}
19
+ {% else %}
20
+ {%-include encrypted.html-%}
21
+ {% endif %}
22
+
23
+
24
+ </article>
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <ariticle>
5
+ <h1>Tag: {{ page.tag }}</h1>
6
+
7
+ <ul class="postlistul">
8
+ {% for post in site.tags[page.tag] %}
9
+ <li class="postlistli">
10
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
11
+ <date>{{- post.date | date: site.theme_config.date_format -}}</date>
12
+ </li>
13
+ {% endfor %}
14
+
15
+ {% if site.theme_config.tag_showall %}
16
+ <li class="postlistli"><a href="{{ site.baseurl }}/{{site.theme_config.all_tags_path | default:'tags' }}"> {{site.theme_config.all_tags_title | default:'All Tags' }}</a>
17
+ </li>
18
+ {% endif %}
19
+ </ul>
20
+ </ariticle>
21
+
@@ -0,0 +1,50 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {%-include back_link.html -%}
5
+ <div class="post">
6
+ <h1>{{page.title}}</h1>
7
+ <article>
8
+
9
+ {% assign layouttype = site.theme_config.tags_layout_style | default: "auto" %}
10
+
11
+ {% if layouttype == 'auto' %}
12
+ {% if site.tags.size > 20 %}
13
+ {% assign layouttype = 'flat' %}
14
+ {% else %}
15
+ {% assign layouttype = 'list' %}
16
+ {% endif %}
17
+ {% endif %}
18
+ {% if layouttype == 'flat' %}
19
+ {% assign counter = 0 %}
20
+ {% for item in site.tags %}
21
+
22
+ {% assign counter2 = counter | modulo: 4 %}
23
+ {% if counter2 == 3 %}
24
+ <p>
25
+ {% endif %}
26
+ {% capture counter %}{% increment counter %} {% endcapture %}
27
+
28
+
29
+ <text><a href ="{{'/tags'|relative_url}}/{{ item[0]}}.html" >{{ item[0]}}</a></text> &nbsp; &nbsp;
30
+
31
+ {% endfor %}
32
+ {% else %}
33
+ <ul class="postlistul" >
34
+ {% for item in site.tags %}
35
+ {% assign tagname = item[0] %}
36
+ <li class="postlistli">
37
+ <text>
38
+ <a href ="{{ site['baseurl']}}/tags/{{ item[0]}}.html" >{{ tagname}}</a>
39
+ <sup> {{ site.tags[tagname].size }} </sup>
40
+ </text> &nbsp;
41
+ </li>
42
+ {% endfor %}
43
+ </ul>
44
+
45
+ {% endif %}
46
+
47
+ </article>
48
+ </div>
49
+
50
+
@@ -0,0 +1,104 @@
1
+
2
+ li{
3
+ padding: 0.2rem;
4
+ }
5
+ .w {
6
+ margin: auto;
7
+ max-width: 640px;
8
+ padding: 4rem 2rem;
9
+ }
10
+
11
+ code.highlighter-rouge{
12
+ color: #fff;
13
+ background: #000;
14
+ border-radius: 2px;
15
+ padding: 2px;
16
+ margin: 5px;
17
+ }
18
+
19
+ code{
20
+ color: #333;
21
+ background: #F0f2f4; }
22
+
23
+ div.highlighter-rouge code {
24
+ border-radius: 4px;
25
+ display: block;
26
+ overflow-x: auto;
27
+ white-space: pre-wrap;
28
+ padding: 1rem;
29
+ }
30
+
31
+ img {
32
+ width: 60%;
33
+ display: block;
34
+ margin: 0 auto;
35
+ }
36
+
37
+ blockquote {
38
+ font-style: italic;
39
+ border-left:.2rem solid #dfe2e5;
40
+ color: #999;
41
+ padding: 0.25rem 0 .25rem 0.5rem;
42
+ margin: 1rem;
43
+ }
44
+ blockquote p {
45
+ margin:0
46
+ }
47
+
48
+ table {
49
+ width: 100%; }
50
+
51
+ table, th, td {
52
+ border: thin solid black;
53
+ border-collapse: collapse;
54
+ padding: 0.4rem;
55
+ }
56
+
57
+ hr {
58
+ margin-top: 2rem;
59
+ margin-bottom: 2rem;
60
+ border-color: lightgray
61
+ }
62
+
63
+
64
+
65
+ a:hover{
66
+ text-decoration: underline;
67
+ }
68
+ a {
69
+ text-decoration: none;
70
+ color: #0064c1;
71
+ }
72
+ h1 > a {
73
+ color: #333;
74
+ }
75
+
76
+
77
+ .navul {
78
+ padding: 0;
79
+ display: flex;
80
+ }
81
+ .navli{
82
+ list-style-type:none;
83
+ margin-right: 1rem;
84
+ }
85
+ .postlistul{
86
+ padding: 0
87
+
88
+ }
89
+ .postlistli{
90
+ list-style-type:none;
91
+ display: flex;
92
+ justify-content:space-between;
93
+ align-items: center;
94
+
95
+ }
96
+
97
+ .curNav{
98
+ color: #333;
99
+ font-weight: 700;
100
+ }
101
+
102
+ date {
103
+ color: #333;
104
+ }
@@ -0,0 +1,9 @@
1
+ const p = document.createElement("p");
2
+ p.style.textAlign = "center";
3
+ p.style.fontSize = "18pt";
4
+ p.innerHTML = "C'mon, move your mouse!"
5
+ document.body.append(p);
6
+
7
+ document.addEventListener("mousemove", e => {
8
+ p.innerHTML = `mouseX: ${e.clientX}, mouseY: ${e.clientY}`;
9
+ });
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-zeta
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
+ platform: ruby
6
+ authors:
7
+ - vitock
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: no-style-please2-plugins
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.5.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.5.0
41
+ description:
42
+ email:
43
+ - r
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - LICENSE.txt
49
+ - README.md
50
+ - _config.yml
51
+ - _includes/back_link.html
52
+ - _includes/collecttags.html
53
+ - _includes/encrypted.html
54
+ - _includes/goat_counter.html
55
+ - _includes/head.html
56
+ - _includes/main.css
57
+ - _includes/menu_item.html
58
+ - _includes/navbar.html
59
+ - _includes/post_list.html
60
+ - _layouts/archive.html
61
+ - _layouts/default.html
62
+ - _layouts/home.html
63
+ - _layouts/page.html
64
+ - _layouts/post.html
65
+ - _layouts/tagpage.html
66
+ - _layouts/tags.html
67
+ - assets/css/main.css
68
+ - assets/js/mouse_coords.js
69
+ homepage: https://github.com/vitock/jekyll-zeta
70
+ licenses:
71
+ - GPL
72
+ metadata: {}
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubygems_version: 3.2.15
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: A clean fast, minimalist Jekyll theme.
92
+ test_files: []