no-style-please2 0.7.1 → 0.7.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50f2aea9ff2a026b709c224a1efb83777f64c2d9ab6d7fd272ad6eb563b67b31
4
- data.tar.gz: 8dc758da0cf0ba9e21e70730b01d69e0b7e3d2a2b3d0638947e1fd6bd255dff5
3
+ metadata.gz: 9072866762ffcc91af43136857ccc8d91e901fe381b8bc1f3f019f49b8f60722
4
+ data.tar.gz: 7f34df172e71c83c19ebfa13b9551074ee6b75119c8fe888e137d05698614be7
5
5
  SHA512:
6
- metadata.gz: d76b6a0468a7ed61d661830f6244d3ffad413c5a3e85b15b131b13a7eb9bb8b5fb3d1102bf999de442485a66788f625505da547b8ead6ae9f55e9097fed65a14
7
- data.tar.gz: 2bd6204aecde3c4489eaa6b6dbc6dc6ea65d5569dcc4efca54dd34d9a3b0e9351c4318891fb7c032a63b0e462f5ed51b605d7f8c755ac230ef15671580695db7
6
+ metadata.gz: a905128c0acbe129232e4247e05f90cc3b3c7e6665af5ba7943ba9d3447a14f1efb9b42ec2862ad90bc959a61e3fc487849a4fb0afa030ab7b519a8e265762f1
7
+ data.tar.gz: 608ec5dd4ac3d3c082032a533345c8850c9740f7d575ba4673e0d70ed0606f41db7792991a224e663bddc92fd520bd734a27a124188a3dd9792502b4c6868407
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
- 1. generate your own public & private key to protect your password
22
+ 1. generate your own public & private key to protect your password
24
23
  ```
25
24
  ltectool g
26
25
  ```
27
- you will get
26
+ you will get
28
27
  ```
29
28
  publickey: AAA
30
29
  privatekey: BBBBB
31
30
  ```
32
- 2. encrypt your password
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: :compressed
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>
@@ -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; }
@@ -96,7 +96,3 @@ img {
96
96
  margin: 0 auto;
97
97
  }
98
98
 
99
- a{
100
- text-decoration: none;
101
- // color: royalblue;
102
- }
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.1
4
+ version: 0.7.4
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-22 00:00:00.000000000 Z
11
+ date: 2022-05-25 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