jekyll-theme-ascii 0.2.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- 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 +4 -6
- 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: a0ff9a14bba4676f97fc700bd8b93626556db29308fd47889c0f2b636e233c0b
|
4
|
+
data.tar.gz: 2af216092c15fc0b5cf6d14ac07e1d4a2593a4b2aeccede240236656dbc57a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec6758cf1a0b093f4f6e3e009362361c424ecc7d30da6d726be1bb485aaa71246a4a7910741ec9969f8f43fdd4ca4338e129ed9863b55a0e6717675512ff5235
|
7
|
+
data.tar.gz: 4ae97f1a150c36eb330b699a4b4c3c9f87ba0ce3c67d63f4fbedfc02f82d20005dcf02156d779eefcfa3ab4bc81c830f4a2d51bde3ff5815991b635b92f73a9b
|
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,13 +1,11 @@
|
|
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
|
-
{
|
10
|
-
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
|
6
|
+
{%- for entry in nav_pages -%}
|
7
|
+
{%- if entry.title -%}
|
8
|
+
<li><a href="{{ entry.url | relative_url }}">{{ entry.title | escape }}</a></li>
|
11
9
|
{%- endif -%}
|
12
10
|
{%- endfor -%}
|
13
11
|
</ul>
|
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.1
|
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-29 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
|