minimaless 0.0.1 → 0.0.2
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 +9 -8
- data/_includes/contact-icons.html +9 -5
- data/_includes/header.html +8 -5
- data/assets/logo.svg +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b2e3c93ecf5b485506bf288b179d81fbdb2ecd4
|
4
|
+
data.tar.gz: 94d9df98626d1681d89477faea87d14cbe8e35df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb5931b2e842906b428c0c39ef2fc1c57611531e0aa470cb2362c4960e8977703fa76553ab6cd78c3de586da7c721030ef04626f86dd06a0e5bad5a3e3bb92c4
|
7
|
+
data.tar.gz: c8c056962c4e990ff0912833735b1b8aa62beb6cc24f7c1fe675c7708b3c74931e4b87ab06ad124cb14aa7e85aef7294a726dac1b38fe416f252d1e5d249c68f
|
data/README.md
CHANGED
@@ -33,28 +33,30 @@ Refers to snippets of code within the `_includes` directory that can be inserted
|
|
33
33
|
- `google-analytics.html` — Inserts Google Analytics module (active only in production environment).
|
34
34
|
- `head.html` — Code-block that defines the `<head></head>` in *default* layout.
|
35
35
|
- `header.html` — Defines the site's main header section. By default, pages with a defined `title` attribute will have links displayed here.
|
36
|
-
- `
|
36
|
+
- `contact-icons.html` — Inserts social icons when you specify a social media site `*_username` in the config.
|
37
|
+
- You can also add an `.asc` file for a key icon to appear for users to download your GPG key file.
|
37
38
|
|
38
39
|
## Usage
|
39
40
|
|
40
41
|
### Customization
|
41
42
|
|
42
|
-
To override the default structure and style of
|
43
|
-
e.g., to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path, create an `_includes` directory, copy `_includes/head.html` from
|
43
|
+
To override the default structure and style of minimaless, simply create the concerned directory at the root of your site, copy the file you wish to customize to that directory, and then edit the file.
|
44
|
+
e.g., to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path, create an `_includes` directory, copy `_includes/head.html` from minimaless gem folder to `<yoursite>/_includes` and start editing that file.
|
44
45
|
|
45
46
|
The site's default CSS has now moved to a new place within the gem itself, [`assets/main.scss`](assets/main.scss). To **override the default CSS**, the file has to exist at your site source. Do either of the following:
|
46
47
|
- Create a new instance of `main.scss` at site source.
|
47
48
|
- Create a new file `main.scss` at `<your-site>/assets/`
|
48
49
|
- Add the frontmatter dashes, and
|
49
|
-
- Add `@import "
|
50
|
+
- Add `@import "minimaless";`, to `<your-site>/assets/main.scss`
|
50
51
|
- Add your custom CSS.
|
51
52
|
- Download the file from this repo
|
52
53
|
- Create a new file `main.scss` at `<your-site>/assets/`
|
53
54
|
- Copy the contents at [assets/main.scss](assets/main.scss) onto the `main.scss` you just created, and edit away!
|
54
|
-
- Copy directly from
|
55
|
-
- Go to your local
|
55
|
+
- Copy directly from Minimaless gem
|
56
|
+
- Go to your local minimaless gem installation directory ( run `bundle show minimaless` to get the path to it ).
|
56
57
|
- Copy the `assets/` folder from there into the root of `<your-site>`
|
57
58
|
- Change whatever values you want, inside `<your-site>/assets/main.scss`
|
59
|
+
- Edit index.md to change what appears on the site's splash/landing page.
|
58
60
|
|
59
61
|
--
|
60
62
|
|
@@ -89,10 +91,9 @@ Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
|
|
89
91
|
|
90
92
|
|
91
93
|
|
92
|
-
|
93
94
|
## Contributing
|
94
95
|
|
95
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
96
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/brettinternet/minimaless.
|
96
97
|
|
97
98
|
## Development
|
98
99
|
|
@@ -47,11 +47,15 @@
|
|
47
47
|
</li>
|
48
48
|
{% endif %}
|
49
49
|
|
50
|
-
{%
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
50
|
+
{% for file in site.static_files %}
|
51
|
+
{% if file.ext == 'asc' %}
|
52
|
+
<li>
|
53
|
+
<a href="{{ file.path | relative_url }}" download><i class="icon fa fa-key"></i></a>
|
54
|
+
</li>
|
55
|
+
{% break %}
|
56
|
+
{% endif %}
|
57
|
+
{% endfor %}
|
58
|
+
|
55
59
|
<li>
|
56
60
|
<a href="{{ "/feed.xml" | relative_url }}"><i class="icon fa fa-rss"></i></a>
|
57
61
|
</li>
|
data/_includes/header.html
CHANGED
@@ -5,11 +5,14 @@
|
|
5
5
|
{% assign page_paths = site.header_pages | default: default_paths %}
|
6
6
|
|
7
7
|
<a class="site-title"href="{{ "/blog/" | relative_url }}">
|
8
|
-
{%
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
{% for file in site.static_files %}
|
9
|
+
{% if file.basename == 'logo' %}
|
10
|
+
<img class="site-logo" src="{{ file.path | relative_url }}" alt="site logo" />
|
11
|
+
{% break %}
|
12
|
+
{% elsif forloop.last == true %}
|
13
|
+
{{ site.title | escape }}
|
14
|
+
{% endif %}
|
15
|
+
{% endfor %}
|
13
16
|
</a>
|
14
17
|
|
15
18
|
{% if page_paths %}
|
data/assets/logo.svg
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="981" height="147" viewBox="0 0 981 147">
|
2
2
|
<metadata><?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
|
3
3
|
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c138 79.159824, 2016/09/14-01:09:01 ">
|
4
4
|
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
@@ -35,5 +35,5 @@
|
|
35
35
|
}
|
36
36
|
</style>
|
37
37
|
</defs>
|
38
|
-
<path id="
|
38
|
+
<path id="minimaless" class="cls-1" d="M118.6,35.13a41.42,41.42,0,0,0-19.14,4.395q-8.107,4.395-13.574,13.77A31.259,31.259,0,0,0,76.7,40.5q-7.521-5.37-19.726-5.371-12.891,0-21,6.25Q31.389,44.9,26.215,53.2V37.669H-0.836v106.25H27.387V79.856q0-8.691,2.246-13.086,4.1-7.713,16.016-7.715,10.254,0,13.77,7.715,1.952,4.3,1.953,13.769v63.379H89.4V80.54a30.042,30.042,0,0,1,2.246-12.207q4.395-9.57,15.918-9.57,9.962,0,13.672,7.422a22.248,22.248,0,0,1,1.953,9.961v67.774H151.7l0.195-67.09a94.637,94.637,0,0,0-.976-15.723,30.6,30.6,0,0,0-6.055-13.672,30.959,30.959,0,0,0-12.4-9.57A37.077,37.077,0,0,0,118.6,35.13h0ZM194.1-.905H165.875V24.778H194.1V-0.905ZM165.875,143.919H194.1V37.474H165.875V143.919ZM268,34.934q-13.128,0-21.686,6.445Q241.546,44.994,236.2,53.2V37.669H209.246v106.25h27.832V86.3q0-9.863,2.714-16.211,5.235-12.012,19.292-12.012,11.438,0,15.51,8.2,2.231,4.493,2.23,12.891v64.746h28.515V72.239q0-20.018-10.454-28.662T268,34.934h0ZM347.831-.905H319.609V24.778h28.222V-0.905ZM319.609,143.919h28.222V37.474H319.609V143.919ZM481.729,35.13a41.418,41.418,0,0,0-19.14,4.395q-8.107,4.395-13.574,13.77a31.266,31.266,0,0,0-9.18-12.793q-7.521-5.37-19.727-5.371-12.89,0-21,6.25Q394.52,44.9,389.347,53.2V37.669H362.3v106.25h28.223V79.856q0-8.691,2.246-13.086,4.1-7.713,16.015-7.715,10.254,0,13.77,7.715,1.951,4.3,1.953,13.769v63.379H452.53V80.54a30.049,30.049,0,0,1,2.246-12.207q4.4-9.57,15.918-9.57,9.961,0,13.672,7.422a22.248,22.248,0,0,1,1.953,9.961v67.774h28.516l0.195-67.09a94.637,94.637,0,0,0-.976-15.723A30.6,30.6,0,0,0,508,47.434a30.959,30.959,0,0,0-12.4-9.57,37.077,37.077,0,0,0-13.868-2.734h0Zm110.065,67.382q-0.3,13.966-7.982,19.239a29.091,29.091,0,0,1-16.807,5.273,15.254,15.254,0,0,1-9.767-3.174q-4.017-3.172-4.017-10.3,0-8.007,6.575-11.817,3.885-2.245,12.793-3.808l6.336-1.172a45.636,45.636,0,0,0,7.474-1.9,30.793,30.793,0,0,0,5.395-2.686v10.351ZM565.233,80.345Q549,82.4,540.638,87.18,525.389,95.97,525.389,115.6q0,15.138,9.479,23.389t24.016,8.252a40.371,40.371,0,0,0,20.431-5.176,57.452,57.452,0,0,0,13.359-10.644q0.294,3.613.782,6.445a30.915,30.915,0,0,0,1.758,6.055h30.273v-4.1a9.952,9.952,0,0,1-4.1-3.223q-1.368-1.951-1.66-7.422-0.2-7.225-.2-12.3V68.04q0-19.238-13.632-26.172t-31.189-6.934q-26.974,0-38.056,14.063-6.965,8.986-7.846,22.949h26.856a20.136,20.136,0,0,1,3.959-9.766q4.157-4.882,14.156-4.883,8.909,0,13.512,2.49t4.6,9.033q0,5.372-6,7.91-3.347,1.465-11.116,2.441ZM664.264-.026H636.432V143.919h27.832V-0.026Zm63.489,57.617q9.851,0,16.507,5.739t7.414,16.82H703.725q1.515-10.4,7.414-16.476t16.614-6.082h0Zm-0.011-22.949q-23.4,0-38.064,14.76T675.014,91.819q0,29.518,16.243,42.616a58.025,58.025,0,0,0,37.494,13.1q25.745,0,40.046-15.527,9.195-9.765,10.318-19.239H750.7a23.391,23.391,0,0,1-5.729,7.324q-5.943,4.885-15.454,4.883a28.26,28.26,0,0,1-15.345-4q-10.484-6.444-11.132-22.46h77.527q0.206-13.79-.917-21.126a52.314,52.314,0,0,0-8.481-22.006A43.3,43.3,0,0,0,752.776,39.63a60.609,60.609,0,0,0-25.034-4.988h0ZM780,109.934q0,16.407,11.987,27t37.136,10.6q24.657,0,36.448-10.01t11.792-25.83a26.827,26.827,0,0,0-8.2-20.019q-8.3-7.91-24.933-11.816-24.948-5.468-29.058-7.715a7.261,7.261,0,0,1-4.114-6.934q0-3.809,3.868-6.641T827.9,55.735q11.065,0,15.67,5.664a16.464,16.464,0,0,1,3.035,8.5h27.832Q872.575,50.365,860,42.405T827.46,34.446q-21.041,0-32.639,10.6t-11.6,25.342q0,12.5,7.422,19.141,7.421,6.738,25.564,11.231,25.2,5.957,29.117,8.4a7.9,7.9,0,0,1,3.912,7.129q0,4.884-4.857,7.324t-13.1,2.442q-14.033,0-19.232-5.567-2.944-3.124-3.827-10.547H780Zm103.23,0q0,16.407,11.988,27t37.135,10.6q24.657,0,36.449-10.01t11.791-25.83a26.827,26.827,0,0,0-8.2-20.019q-8.3-7.91-24.932-11.816-24.948-5.468-29.059-7.715a7.261,7.261,0,0,1-4.114-6.934q0-3.809,3.868-6.641t12.975-2.832q11.064,0,15.669,5.664a16.455,16.455,0,0,1,3.035,8.5h27.832q-1.862-19.53-14.437-27.49T930.69,34.446q-21.041,0-32.638,10.6t-11.6,25.342q0,12.5,7.422,19.141,7.42,6.738,25.564,11.231,25.2,5.957,29.117,8.4a7.9,7.9,0,0,1,3.913,7.129q0,4.884-4.857,7.324t-13.1,2.442q-14.033,0-19.232-5.567-2.943-3.124-3.827-10.547H883.232Z"/>
|
39
39
|
</svg>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimaless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- brettinternet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|