coppermind 0.2.0 → 2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd5e0c276822c43b514f3ac32efe6937f9c98e121371790bd037ec6f6f2b21e2
4
- data.tar.gz: 4f3cfc099d3b641b5cb07eb45229b836c33521671d2325a68dc070ec3dbdbf1b
3
+ metadata.gz: d85311b5f847dd20ebc63db72f8efc2525074715d54ebf76d1d9b1732af17303
4
+ data.tar.gz: 1f0b0cc4e492500878c5bafff2146ea220719c3ebd2753e78117e63fba0cc546
5
5
  SHA512:
6
- metadata.gz: 69676a7e065f7cd1cd0804fb347b7eb77914eb5429ce18cc47926ec7c730438fd4a3f323e1f87e5adbb526ae002ba2fea9ee981c81f1609cbd99020e5f2352c4
7
- data.tar.gz: 90f7a5c30bc276111b19f0b63ba616e5356d621126a1aac5a36d5d10bf1733bef699095883dbb483855750e3f2186a7572b87bb3efaede51abfe59b1b790d5c4
6
+ metadata.gz: 6223994aba02357d888488e8152040b796c5d2e819b5633a66013bcb8410415b965724f6fe9df87ca972b943200e6e3ff1726ea0a2d064e2eb7ea03d38c12545
7
+ data.tar.gz: da4614c409421179969f7e37a360b1c698e620038aae0100280eaf40882ebe04c846ca558ed266141913e803577101d3a3bf6decf9f66426e7d189dc5a9f2331
data/LICENSE.txt CHANGED
@@ -1,5 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
+ Copyright (c) 2021 Jesse Williamson
3
4
  Copyright (c) 2021 Song-Zi Vong
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
data/README.md CHANGED
@@ -1,195 +1,3 @@
1
- # Monophase <!-- omit in toc -->
1
+ # Coppermind <!-- omit in toc -->
2
2
 
3
- Monophase is *a one-column minimal responsive Jekyll blog theme*.
4
-
5
- One of the purposes of Monophase is to be an alternative option to the default theme of Jekyll—[Minima](https://github.com/jekyll/minima). Monophase is still keeping minimal, but meanwhile, more beautiful and mellow, and doesn't lose some useful basic features, such as archive.
6
-
7
- Check the *[live demo](https://zivlog.io/monophase/)*.
8
-
9
- ![Screenshot Light](screenshot-light.png)
10
- ![Screenshot Dark](screenshot-dark.png)
11
-
12
- ## Highlight Features <!-- omit in toc -->
13
-
14
- - [Normalize.css](https://github.com/necolas/normalize.css)
15
- - [Open Color](https://github.com/yeun/open-color)
16
- - [Font Awesome](https://fontawesome.com/)
17
- - [Disqus](https://disqus.com/)
18
- - [MathJax](https://www.mathjax.org/)
19
- - [Google Analytics 4](https://support.google.com/analytics/answer/10089681?hl=en)
20
- - [Jekyll Feed](https://github.com/jekyll/jekyll-feed/)
21
- - [Jekyll Paginate](https://github.com/jekyll/jekyll-paginate)
22
- - [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag/)
23
- - Related posts (time-based, because Jekyll) below each post
24
- - Dark mode, via [`prefers-color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)
25
- - Archive implemented by pure [Liquid](https://shopify.github.io/liquid/)
26
-
27
- ## Table of Contents <!-- omit in toc -->
28
-
29
- - [Installation](#installation)
30
- - [Usage](#usage)
31
- - [Global Configuration](#global-configuration)
32
- - [Post Configuration](#post-configuration)
33
- - [Homepage](#homepage)
34
- - [Custom Head](#custom-head)
35
- - [Navigation](#navigation)
36
- - [Social Links](#social-links)
37
- - [Alert Messages](#alert-messages)
38
- - [Alignment](#alignment)
39
- - [Google Analytics 4](#google-analytics-4)
40
- - [Archive](#archive)
41
- - [Contributing](#contributing)
42
- - [Development](#development)
43
- - [License](#license)
44
-
45
- ## Installation
46
-
47
- Add this line to your Jekyll site's `Gemfile`:
48
-
49
- ```ruby
50
- gem "monophase"
51
- ```
52
-
53
- And add this line to your Jekyll site's `_config.yml`:
54
-
55
- ```yaml
56
- theme: monophase
57
- ```
58
-
59
- And then execute:
60
-
61
- ```shell
62
- bundle
63
- ```
64
-
65
- Or install it yourself as:
66
-
67
- ```shell
68
- gem install monophase
69
- ```
70
-
71
- You can also install the latest code via [`jekyll-remote-theme`](https://github.com/benbalter/jekyll-remote-theme):
72
-
73
- 1. Add this line to your Jekyll site's `Gemfile`:
74
-
75
- ```ruby
76
- gem "jekyll-remote-theme"
77
- ```
78
-
79
- 2. Add these lines to your Jekyll site's `_config.yml`:
80
-
81
- ```ruby
82
- plugins:
83
- - jekyll-remote-theme
84
-
85
- remote_theme: zivhub/monophase@main
86
- ```
87
-
88
- ## Usage
89
-
90
- ### Global Configuration
91
-
92
- | Variable | Type | Default | Specification |
93
- | -------- | ---- | ------- | ------------- |
94
- | `title` | String | --- | The title of the website |
95
- | `tagline` | String | --- | The tagline of the website |
96
- | `lang` | String | `en` | The language of pages; The value can be overwritten by the `lang` variable on each page |
97
- | `author.name` | String | --- | The name of the website author |
98
- | `author.url` | String | --- | A URL of the website author |
99
- | `tags_path` | String | --- | A path to the archive-by-tags page; It is used by tags on each post |
100
- | `categories_path` | String | --- | A path to the archive-by-categories page; It is used by categories on each post |
101
- | `disqus` | String | --- | Disqus short name |
102
- | `google_analytics` | String | --- | Google Analytics 4 Measurement ID |
103
-
104
- ### Post Configuration
105
-
106
- | Variable | Type | Default | Specification |
107
- | -------- | ---- | ------- | ------------- |
108
- | `description` | String | --- | A description of the current post |
109
- | `last_modified_at` | String | --- | The date of the last modification you made on a post after its publishing |
110
- | `author` | String or Array | --- | The author name(s) of the post |
111
- | `comments` | Boolean | `true` | Does enable the Disqus comment system |
112
- | `math` | Boolean | `false` | Does enable MathJax on this page |
113
-
114
- ### Homepage
115
-
116
- You can create a homepage for your blog by setting `layout: home` in your `index.html`.
117
-
118
- ### Custom Head
119
-
120
- Monophase leaves a placeholder to allow defining custom head. All you need to do is putting data into `_includes/custom-head.html`, and they would be automatically included in `<head>`.
121
-
122
- ### Navigation
123
-
124
- The navigation bar of Monophase is configurable. You just need to specify titles and URLs in the file `_data/navigation.yml`, for example,
125
-
126
- ```yml
127
- - title: About
128
- url: /about/
129
- - title: Archive
130
- url: /archive/
131
- - title: Categories
132
- url: /categories/
133
- ```
134
-
135
- ### Social Links
136
-
137
- Monophase allows you to show social links on the website. All you need to do is creating a file `_data/social.yml`, for example,
138
-
139
- ```yml
140
- - title: Email
141
- url: mailto:zivmsg@gmail.com
142
- icon: fas fa-envelope
143
- - title: Twitter
144
- url: https://twitter.com/zivtwt
145
- icon: fab fa-twitter
146
- - title: GitHub
147
- url: https://github.com/zivhub
148
- icon: fab fa-github
149
- ```
150
-
151
- ### Alert Messages
152
-
153
- Monophase provides some predefined classes to specify different levels of **alert messages**. In order of tone from light to heavy, they are: `message-info`, `message-warning`, and `message-danger`. You may add it to single elements like a `<p>`, or to a parent if there are multiple elements to show.
154
-
155
- ### Alignment
156
-
157
- Monophase also provides some predefined classes to specify the alignment of HTML elements—e.g. images. They are `align-center`, `align-left`, and `align-right`.
158
-
159
- ### Google Analytics 4
160
-
161
- To enable [Google Analytics 4](https://support.google.com/analytics/answer/10089681?hl=en), you just need to set the [Measurement ID](https://support.google.com/analytics/answer/7372977?hl=en) in your `_config.yml`, for example,
162
-
163
- ```yml
164
- google_analytics: G-XXXXXXX
165
- ```
166
-
167
- ### Archive
168
-
169
- Monophase provides some built-in archive pages. It is implemented in pure Liquid. If you want to archive posts by years, you can create a page and put these code in it:
170
-
171
- ```yml
172
- ---
173
- layout: archive
174
- type: years
175
- ---
176
- ```
177
-
178
- Similarly, if you want to archive posts by categories or tags, you can set the `type` property as `categories` or `tags`.
179
-
180
- ## Contributing
181
-
182
- Bug reports and pull requests are welcome on GitHub at [https://github.com/zivhub/monophase](https://github.com/zivhub/monophase). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
183
-
184
- ## Development
185
-
186
- To set up your environment to develop this theme, run `bundle install`.
187
-
188
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
189
-
190
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
191
- To add a custom directory to your theme-gem, please edit the regexp in `monophase.gemspec` accordingly.
192
-
193
- ## License
194
-
195
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
3
+ Coppermind is a minimal, suckless jekyll theme built upon monophase.
data/_config.yml ADDED
@@ -0,0 +1,45 @@
1
+ # Welcome to Jekyll!
2
+ #
3
+ # This config file is meant for settings that affect your whole blog, values
4
+ # which you are expected to set up once and rarely edit after that. If you find
5
+ # yourself editing this file very often, consider using Jekyll's data files
6
+ # feature for the data you need to update frequently.
7
+ #
8
+ # For technical reasons, this file is *NOT* reloaded automatically when you use
9
+ # 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10
+
11
+ # Site settings
12
+ # These are used to personalize your new site. If you look in the HTML files,
13
+ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14
+ # You can create any custom variable you would like, and they will be accessible
15
+ # in the templates via {{ site.myvariable }}.
16
+ title: Coppermind
17
+ tagline:
18
+ author:
19
+ name: Jesse Williamson
20
+
21
+ # Build settings
22
+ markdown: kramdown
23
+ plugins:
24
+ - jekyll-feed
25
+ - jekyll-paginate
26
+ - jekyll-seo-tag
27
+ - kramdown-parser-gfm
28
+
29
+ paginate: 2
30
+
31
+ tags_path: /tags/
32
+ categories_path: /categories/
33
+
34
+
35
+ # Exclude from processing.
36
+ # The following items will not be processed, by default. Create a custom list
37
+ # to override the default setting.
38
+ # exclude:
39
+ # - Gemfile
40
+ # - Gemfile.lock
41
+ # - node_modules
42
+ # - vendor/bundle/
43
+ # - vendor/cache/
44
+ # - vendor/gems/
45
+ # - vendor/ruby/
@@ -63,7 +63,7 @@
63
63
  </li>
64
64
  {%- endfor -%}
65
65
  </ul>
66
- <a href="#" onclick="backToTop()" class="back-to-top">Top &#8648;</a>
66
+ <a href="#" onclick="backToTop()" class="back-to-top">^</a>
67
67
  {%- endif -%}
68
68
  {%- endfor -%}
69
69
  {%- endfor -%}
@@ -26,7 +26,7 @@
26
26
  </li>
27
27
  {%- endfor -%}
28
28
  </ul>
29
- <a href="#" onclick="backToTop()" class="back-to-top">Top &#8648;</a>
29
+ <a href="#" onclick="backToTop()" class="back-to-top">^</a>
30
30
  {%- endfor -%}
31
31
 
32
32
  {% include back-to-top.html %}
@@ -19,7 +19,7 @@
19
19
  </p>
20
20
  <p>
21
21
  <small>
22
- Powered by <a href="https://jekyllrb.com/" target="_blank">Jekyll</a> & <a href="https://github.com/zivhub/monophase" target="_blank">Monophase</a>
22
+ Powered by <a href="https://github.com/JustSoval/Coppermind" target="_blank">Coppermind</a>
23
23
  </small>
24
24
  </p>
25
25
  </div>
@@ -33,6 +33,7 @@
33
33
  }
34
34
 
35
35
  .tagline {
36
+ padding-left: var(--spacer);
36
37
  opacity: .5;
37
38
  }
38
39
  }
@@ -54,12 +55,12 @@
54
55
 
55
56
  &:hover,
56
57
  &:focus {
57
- text-decoration: line-through;
58
+ text-decoration: underline;
58
59
  }
59
60
  }
60
61
 
61
62
  a.current {
62
- text-decoration: line-through;
63
+ text-decoration: underline;
63
64
  }
64
65
  }
65
66
 
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coppermind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: '2.3'
5
5
  platform: ruby
6
6
  authors:
7
- - Jesse WIlliamson
7
+ - Jesse Williamson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.9'
19
+ version: 4.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.9'
26
+ version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-feed
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.15'
33
+ version: 0.15.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.15'
40
+ version: 0.15.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jekyll-paginate
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.7'
61
+ version: 2.7.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.7'
68
+ version: 2.7.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: kramdown-parser-gfm
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -89,6 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - LICENSE.txt
91
91
  - README.md
92
+ - _config.yml
92
93
  - _includes/archive-by-tagories.html
93
94
  - _includes/archive-by-years.html
94
95
  - _includes/back-to-top.html