jekyll-theme-ascii 0.2.3 → 0.3.0
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/_config.yml +8 -14
- data/_includes/{google-analytics.html → analytics/google.html} +3 -1
- data/_includes/{disqus.html → comments/disqus.html} +3 -2
- data/_includes/{mastodon_comments.html → comments/mastodon.html} +5 -1
- data/_includes/head.html +2 -4
- data/_includes/header.html +3 -7
- data/_layouts/post.html +2 -9
- data/assets/css/style.scss +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b9893cc503e525b3bf7667603d3b85acaa8c021c5d05cc547fde815c0048814
|
|
4
|
+
data.tar.gz: 282fa6a7aa70b471d1a6e5130402fb176d47f3301d304a9c5a1021fc0aba8203
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74aef6694539f7181927fcd2e0c78ac2844a6f65dabc7f9a3e729f41ff249be1ac3f93eea938f53b90ad74f9c24f5d0ad64127242b4e63fad1e8794ed1210030
|
|
7
|
+
data.tar.gz: ee416c68d8e168f87204d92370427b8c89d178d407a02f2b5aeaac6dc3a3d756cf57cf1b7f51c8ba18fab1936023fa07ce0233c94f34387711756a7d06f16bec
|
data/_config.yml
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
title:
|
|
1
|
+
title: Jekyll theme ASCII
|
|
2
2
|
author:
|
|
3
|
-
name:
|
|
4
|
-
|
|
5
|
-
description: >
|
|
6
|
-
Write an awesome description for your new site here. You can edit this
|
|
7
|
-
line in _config.yml. It will appear in your document head meta (for
|
|
8
|
-
Google search results) and in your feed.xml site description.
|
|
9
|
-
|
|
10
|
-
show_excerpts: false
|
|
11
|
-
|
|
12
|
-
external_theme: antoniovazquezblanco/jekyll-theme-ascii
|
|
3
|
+
name: Antonio Vázquez Blanco
|
|
4
|
+
description: This is a simple Jekyll theme that relies mostly on ASCII characters. And maybe emojis :).
|
|
13
5
|
|
|
14
6
|
plugins:
|
|
15
7
|
- jekyll-feed
|
|
16
8
|
- jekyll-seo-tag
|
|
17
9
|
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
10
|
+
exclude:
|
|
11
|
+
- LICENSE.txt
|
|
12
|
+
- README.md
|
|
13
|
+
- '*.gemspec'
|
|
14
|
+
- '*.gem'
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
|
1
2
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
|
2
3
|
<script>
|
|
3
4
|
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
|
@@ -6,4 +7,5 @@
|
|
|
6
7
|
gtag('js', new Date());
|
|
7
8
|
|
|
8
9
|
gtag('config', '{{ site.google_analytics }}');
|
|
9
|
-
</script>
|
|
10
|
+
</script>
|
|
11
|
+
{%- endif -%}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
{%- if site.disqus.shortname -%}
|
|
1
2
|
{%- if page.comments != false and jekyll.environment == "production" -%}
|
|
2
3
|
<div id="disqus_thread"></div>
|
|
3
4
|
<script>
|
|
@@ -12,6 +13,6 @@
|
|
|
12
13
|
(d.head || d.body).appendChild(s);
|
|
13
14
|
})();
|
|
14
15
|
</script>
|
|
15
|
-
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments
|
|
16
|
-
|
|
16
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
|
17
|
+
{%- endif -%}
|
|
17
18
|
{%- endif -%}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
{%- if page.mastodon_comments.toot_id -%}
|
|
2
|
+
{%- if page.mastodon_comments.host or site.mastodon_comments.host -%}
|
|
1
3
|
{%- assign mastodon_host = page.mastodon_comments.host | default: site.mastodon_comments.host -%}
|
|
2
4
|
<div style="border-top: dashed 1px rgba(219, 219, 219, 0.9)">
|
|
3
5
|
<h2>Comments in Mastodon</h2>
|
|
@@ -7,4 +9,6 @@
|
|
|
7
9
|
<script src="/assets/js/mastodon_comments.js"></script>
|
|
8
10
|
<script>
|
|
9
11
|
window.onload = mastodon_comments_load('{{ mastodon_host }}', '{{ page.mastodon_comments.toot_id }}', 'mastodon_comments_list')
|
|
10
|
-
</script>
|
|
12
|
+
</script>
|
|
13
|
+
{%- endif -%}
|
|
14
|
+
{%- endif -%}
|
data/_includes/head.html
CHANGED
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
5
5
|
{%- seo -%}
|
|
6
|
-
<link rel="stylesheet" href="{{
|
|
6
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
|
7
7
|
{%- feed_meta -%}
|
|
8
|
-
{%-
|
|
9
|
-
{%- include google-analytics.html -%}
|
|
10
|
-
{%- endif -%}
|
|
8
|
+
{%- include analytics/google.html -%}
|
|
11
9
|
{%- include custom-head.html -%}
|
|
12
10
|
</head>
|
data/_includes/header.html
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
+
{%- assign nav_pages = site.pages | where_exp: 'item', 'item.nav_exclude != true' | sort: 'nav_order' -%}
|
|
1
2
|
<header>
|
|
2
|
-
{%- assign default_paths = site.pages | map: "path" | sort -%}
|
|
3
|
-
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
|
4
3
|
<div class="menu">
|
|
5
4
|
<ul>
|
|
6
5
|
<li class="site-title"><a href="/">{{ site.title | escape }}</a></li>
|
|
7
|
-
{%- for
|
|
8
|
-
|
|
9
|
-
{%- if my_page.title -%}
|
|
10
|
-
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
|
|
11
|
-
{%- endif -%}
|
|
6
|
+
{%- for entry in nav_pages -%}
|
|
7
|
+
<li><a href="{{ entry.url | relative_url }}">{{ entry.title | escape }}</a></li>
|
|
12
8
|
{%- endfor -%}
|
|
13
9
|
</ul>
|
|
14
10
|
</div>
|
data/_layouts/post.html
CHANGED
|
@@ -8,12 +8,5 @@ layout: default
|
|
|
8
8
|
|
|
9
9
|
{{ content }}
|
|
10
10
|
|
|
11
|
-
{%-
|
|
12
|
-
{%-
|
|
13
|
-
{%- include mastodon_comments.html -%}
|
|
14
|
-
{%- endif -%}
|
|
15
|
-
{%- endif -%}
|
|
16
|
-
|
|
17
|
-
{%- if site.disqus.shortname -%}
|
|
18
|
-
{%- include disqus.html -%}
|
|
19
|
-
{%- endif -%}
|
|
11
|
+
{%- include comments/mastodon.html -%}
|
|
12
|
+
{%- include comments/disqus.html -%}
|
data/assets/css/style.scss
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-ascii
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Antonio Vázquez Blanco
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -90,13 +90,13 @@ files:
|
|
|
90
90
|
- LICENSE.txt
|
|
91
91
|
- README.md
|
|
92
92
|
- _config.yml
|
|
93
|
+
- _includes/analytics/google.html
|
|
94
|
+
- _includes/comments/disqus.html
|
|
95
|
+
- _includes/comments/mastodon.html
|
|
93
96
|
- _includes/custom-head.html
|
|
94
|
-
- _includes/disqus.html
|
|
95
97
|
- _includes/footer.html
|
|
96
|
-
- _includes/google-analytics.html
|
|
97
98
|
- _includes/head.html
|
|
98
99
|
- _includes/header.html
|
|
99
|
-
- _includes/mastodon_comments.html
|
|
100
100
|
- _layouts/default.html
|
|
101
101
|
- _layouts/home.html
|
|
102
102
|
- _layouts/page.html
|