no-style-please2 0.7.2 → 0.7.4.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.
- checksums.yaml +4 -4
- data/README.md +29 -8
- data/_config.yml +2 -1
- data/_includes/head.html +8 -10
- data/_includes/main.css +90 -0
- data/_layouts/tagpage.html +1 -5
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 923b7562b3cf664601fa73caa46efb907df0dc7b5d9ef688d1cff84058394a31
|
4
|
+
data.tar.gz: 417a633c4b3662b784f23934396268c37ae93c483c373ef96c3cab98c134017a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9dd90d6c6ee46f71c5efdb88ef1b009466f7cd88d41c8c2b962bd0ba84e92a52e59139256bafce401ec86616b51982bbd8fc611978be2c1beca5cd8b0cce6ec
|
7
|
+
data.tar.gz: cebbe586d8ece006c738ce6ff2a3bb4c73c266694848e0eeed5e64e821f246b39c4e8f01f8291ef8adc68e38a6084ef592206b4cdba1b092ec6e4d4059b4b79f
|
data/README.md
CHANGED
@@ -11,8 +11,7 @@ Inspired by [elly's site](http://tilde.town/~elly/) [riggraz](https://riggraz.de
|
|
11
11
|
|
12
12
|
+ ### new
|
13
13
|
+ tags support
|
14
|
-
+ mathjax , inluce_code post_link support, include
|
15
|
-
+ support, link to other post
|
14
|
+
+ mathjax , inluce_code post_link support, include support, link to other post
|
16
15
|
+ encrytion support. Only those who know the password can view the article
|
17
16
|
|
18
17
|
**IMPORTANT NOTE**
|
@@ -20,16 +19,19 @@ Inspired by [elly's site](http://tilde.town/~elly/) [riggraz](https://riggraz.de
|
|
20
19
|
|
21
20
|
|
22
21
|
#### how to encrypt your post
|
23
|
-
|
22
|
+
1. generate your own public & private key to protect your password
|
24
23
|
```
|
25
24
|
ltectool g
|
26
25
|
```
|
27
|
-
|
26
|
+
you will get
|
28
27
|
```
|
29
28
|
publickey: AAA
|
30
29
|
privatekey: BBBBB
|
31
30
|
```
|
32
|
-
|
31
|
+
|
32
|
+
2. encrypt your password
|
33
|
+
|
34
|
+
|
33
35
|
``` bash
|
34
36
|
# ltectool e [your publickey] [your password]
|
35
37
|
# like below
|
@@ -65,9 +67,10 @@ enc_tags:
|
|
65
67
|
* Light, dark and auto modes
|
66
68
|
* Responsive
|
67
69
|
* Content first (typography optimized for maximum readability)
|
68
|
-
* SEO optimized (uses [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag))
|
69
|
-
* RSS feed (uses [Jekyll Feed](https://github.com/jekyll/jekyll-feed))
|
70
|
-
* Fully compatible with [GitHub Pages](https://pages.github.com/) (see [GitHub Pages installation](#github-pages-installation))
|
70
|
+
* ~~SEO optimized (uses [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag))~~
|
71
|
+
* ~~RSS feed (uses [Jekyll Feed](https://github.com/jekyll/jekyll-feed))~~
|
72
|
+
* ~~Fully compatible with [GitHub Pages](https://pages.github.com/) (see [GitHub Pages installation](#github-pages-installation))~~
|
73
|
+
> you should build the _site by yourself , because githubpage do not support all plugins
|
71
74
|
|
72
75
|
|
73
76
|
|
@@ -115,6 +118,24 @@ The `menu.yml` file accepts the following fields:
|
|
115
118
|
- `show_more_url`, which can be a string. It specifies the URL for the show more link. Use only if `show_more` is true. This will usually redirect to a page containing all posts, which you can easily create using an archive page (see [create archive pages](#create-archive-pages) section)
|
116
119
|
- `show_more_text`, which can be a string. It specifies the text for the show more link. Use only if `show_more` is true.
|
117
120
|
- `entries`, yes, you can have entries inside entries. In this way you can create nested sublists!
|
121
|
+
### Show all tags
|
122
|
+
create a `tags.md` with content below
|
123
|
+
``` yml
|
124
|
+
---
|
125
|
+
title: TAGS
|
126
|
+
layout: tags
|
127
|
+
permalink: /tags/index.html
|
128
|
+
---
|
129
|
+
```
|
130
|
+
|
131
|
+
add a entry in the _data/menu.yml
|
132
|
+
``` yml
|
133
|
+
- title: tags
|
134
|
+
url: tags
|
135
|
+
```
|
136
|
+
|
137
|
+
|
138
|
+
|
118
139
|
|
119
140
|
### Create archive pages
|
120
141
|
|
data/_config.yml
CHANGED
@@ -27,6 +27,7 @@ theme_config:
|
|
27
27
|
archive_date_format: "%Y"
|
28
28
|
archive_title_date_format: "%m-%d"
|
29
29
|
tags_layout_style: 'auto' # flat auto list
|
30
|
+
combine_css_html: true
|
30
31
|
|
31
32
|
#
|
32
33
|
# forbid_cache_password: true
|
@@ -34,7 +35,7 @@ theme_config:
|
|
34
35
|
|
35
36
|
|
36
37
|
sass:
|
37
|
-
style: :
|
38
|
+
style: :nested
|
38
39
|
sourcemap: "never"
|
39
40
|
|
40
41
|
plugins:
|
data/_includes/head.html
CHANGED
@@ -6,16 +6,7 @@
|
|
6
6
|
{% if page.mathjax %}
|
7
7
|
<script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>
|
8
8
|
<script type="text/javascript" async src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
|
9
|
-
|
10
|
-
|
11
|
-
<!-- <script type="text/javascript" async src="/static/js/MathJax.js"></script> -->
|
12
|
-
|
13
9
|
{% endif %}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
10
|
<title>
|
20
11
|
{%- if page.title -%}
|
21
12
|
{{ page.title }}
|
@@ -31,7 +22,14 @@
|
|
31
22
|
{% include collecttags.html %}
|
32
23
|
{% endif %}
|
33
24
|
|
34
|
-
|
35
25
|
<link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}" />
|
26
|
+
{% if site.theme_config.combine_css_html %}
|
27
|
+
<style>
|
28
|
+
{%- include main.css -%}
|
29
|
+
</style>
|
30
|
+
{% else %}
|
36
31
|
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
|
37
35
|
</head>
|
data/_includes/main.css
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
body[a="dark"] {
|
2
|
+
filter: invert(1); }
|
3
|
+
body[a="dark"] img {
|
4
|
+
filter: invert(1); }
|
5
|
+
body[a="dark"] img.ioda {
|
6
|
+
filter: invert(0); }
|
7
|
+
|
8
|
+
@media (prefers-color-scheme: dark) {
|
9
|
+
body[a="auto"] {
|
10
|
+
filter: invert(1); }
|
11
|
+
body[a="auto"] img {
|
12
|
+
filter: invert(1); }
|
13
|
+
body[a="auto"] img.ioda {
|
14
|
+
filter: invert(0); } }
|
15
|
+
|
16
|
+
html, body {
|
17
|
+
background: white; }
|
18
|
+
|
19
|
+
html {
|
20
|
+
height: 100%; }
|
21
|
+
|
22
|
+
body {
|
23
|
+
color: black;
|
24
|
+
font-family: monospace;
|
25
|
+
font-size: 16px;
|
26
|
+
line-height: 1.4;
|
27
|
+
margin: 0;
|
28
|
+
min-height: 100%;
|
29
|
+
overflow-wrap: break-word; }
|
30
|
+
|
31
|
+
.post-meta {
|
32
|
+
text-align: right; }
|
33
|
+
|
34
|
+
h2, h3, h4, h5, h6 {
|
35
|
+
margin-top: 3rem; }
|
36
|
+
|
37
|
+
hr {
|
38
|
+
margin: 2rem 0; }
|
39
|
+
|
40
|
+
p {
|
41
|
+
margin: 1rem 0; }
|
42
|
+
|
43
|
+
li {
|
44
|
+
margin: 0.4rem 0; }
|
45
|
+
|
46
|
+
*:target {
|
47
|
+
background: yellow; }
|
48
|
+
|
49
|
+
.w {
|
50
|
+
max-width: 640px;
|
51
|
+
margin: 0 auto;
|
52
|
+
padding: 4rem 2rem; }
|
53
|
+
|
54
|
+
hr {
|
55
|
+
text-align: center;
|
56
|
+
border: 0; }
|
57
|
+
hr:before {
|
58
|
+
content: '/////'; }
|
59
|
+
hr:after {
|
60
|
+
content: attr(data-content) "/////"; }
|
61
|
+
|
62
|
+
table {
|
63
|
+
width: 100%; }
|
64
|
+
|
65
|
+
table, th, td {
|
66
|
+
border: thin solid black;
|
67
|
+
border-collapse: collapse;
|
68
|
+
padding: 0.4rem; }
|
69
|
+
|
70
|
+
code {
|
71
|
+
color: white;
|
72
|
+
background: black; }
|
73
|
+
|
74
|
+
div.highlighter-rouge code {
|
75
|
+
display: block;
|
76
|
+
overflow-x: auto;
|
77
|
+
white-space: pre-wrap;
|
78
|
+
padding: 1rem; }
|
79
|
+
|
80
|
+
blockquote {
|
81
|
+
font-style: italic;
|
82
|
+
border: thin solid black;
|
83
|
+
padding: 1rem; }
|
84
|
+
blockquote p {
|
85
|
+
margin: 0; }
|
86
|
+
|
87
|
+
img {
|
88
|
+
max-width: 100%;
|
89
|
+
display: block;
|
90
|
+
margin: 0 auto; }
|
data/_layouts/tagpage.html
CHANGED
@@ -13,13 +13,9 @@ layout: default
|
|
13
13
|
{% endfor %}
|
14
14
|
|
15
15
|
{% if site.theme_config.tag_showall %}
|
16
|
-
<li><a href="{{ site.baseurl }}/{{site.theme_config.all_tags_path | default:'tags' }}
|
16
|
+
<li><a href="{{ site.baseurl }}/{{site.theme_config.all_tags_path | default:'tags' }}"> {{site.theme_config.all_tags_title | default:'All Tags' }}</a>
|
17
17
|
</li>
|
18
18
|
{% endif %}
|
19
19
|
</ul>
|
20
|
-
|
21
|
-
<hr>
|
22
|
-
|
23
|
-
|
24
20
|
</ariticle>
|
25
21
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: no-style-please2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vitock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- _includes/encrypted.html
|
54
54
|
- _includes/goat_counter.html
|
55
55
|
- _includes/head.html
|
56
|
+
- _includes/main.css
|
56
57
|
- _includes/menu_item.html
|
57
58
|
- _includes/post_list.html
|
58
59
|
- _layouts/archive.html
|