boido 1.0.0.pre.beta4 → 1.0.0.pre.beta5

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: 0aa8019d83b9c73e163e4291231e4b0cb4a16571a7c3ebc859b270805a5bd8e7
4
- data.tar.gz: c5f0c1c452b009d87db66a63df55ec81b6c7d0a23787d0da8d4f2c11fea5b1bc
3
+ metadata.gz: 1bdb2a5a2477c06de6151fdbd412a4c9217d129ef9164b9db676c46d2f3ba2be
4
+ data.tar.gz: 26db3c421368bb85a62579e9eb7f4e6cf5b6670e464a8c298e4f05f37a4457f3
5
5
  SHA512:
6
- metadata.gz: 8ea985f543d67465d258ba0cdb61e9a8526d10729960215a6e3dc0e73178221d4ba537be6747174862ab62d9d26178bc49a76b7209cccb0333172da613870990
7
- data.tar.gz: d4ffd8890ed10551d948db80e0b50ee8cee32f5c2bc117a2c3277726ab7138dcf9e03b2e009fb908d0665ec42531ecdafc77f5016826fd1377b7f5bb214f0140
6
+ metadata.gz: 522f35b90cd91f855e3d247ee930678a49b9f09926f1da2e2e64abbaef2e1e4360d35d6c6b73674bdbc1e804992d1138ddbbca7fc950980dd1e1005f73c19c4f
7
+ data.tar.gz: 017f1e30eca82933ef4eb7d834921955fd9fb5bdcdd9d29ba336574921d164aef68de07ecdc5fa5c0dd6bdd2e4382349870c994e3e51785567ccb19549268665
data/CHANGELOG.md CHANGED
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  - Support for noscript tag.
11
11
  - Support for inline styles.
12
12
  - Support for inline scripts.
13
+ ### Changed
14
+ - Layout name set to "basic" for convenience.
13
15
  ### Fixed
14
16
  - Included content may produce empty line.
15
17
  - Missing mention of rake dependency in gemspec.
data/LICENSE.txt CHANGED
@@ -187,7 +187,7 @@
187
187
  same "printed page" as the copyright notice for easier
188
188
  identification within third-party archives.
189
189
 
190
- Copyright 2020 Andrey Petrov
190
+ Copyright 2020 Andrey Petrov <andrey@petrov.works>
191
191
 
192
192
  Licensed under the Apache License, Version 2.0 (the "License");
193
193
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -29,16 +29,16 @@ theme: boido
29
29
  And then use it on page with [Front Matter](https://jekyllrb.com/docs/front-matter/) or as part of other sets of [Variables](https://jekyllrb.com/docs/variables/):
30
30
 
31
31
  ```yaml
32
- layout: boido
32
+ layout: basic
33
33
  ```
34
34
  From there, you can customize:
35
35
 
36
36
  - `<html>` lang attribute;
37
37
  - `<title>` contents;
38
38
  - `<head>` tags;
39
- - `<body>` scripts;
39
+ - `<body>` scripts.
40
40
 
41
- The `language` variable defaults to "en", `charset` to "utf-8" and viewport is described as "width=device-width, initial-scale=1".
41
+ The `language` variable defaults to "en", `charset` to "utf-8" and viewport size is described as "width=device-width, initial-scale=1".
42
42
 
43
43
  ## Examples
44
44
 
@@ -46,7 +46,7 @@ A markdown page described as below:
46
46
 
47
47
  ```html
48
48
  ---
49
- layout: boido
49
+ layout: basic
50
50
 
51
51
  language: ja
52
52
 
@@ -0,0 +1,5 @@
1
+ {%- if include.items -%}
2
+ {%- for item in include.items %}
3
+ <script src="{{- item -}}"></script>
4
+ {%- endfor %}
5
+ {%- endif -%}
@@ -0,0 +1,5 @@
1
+ {%- if include.elements -%}
2
+ {%- for element in include.elements %}
3
+ <{{- element.type -}}{% for attribute in element.attributes %}{{- attribute[0] | prepend: " " -}}="{{- attribute[1] -}}"{% endfor %}>
4
+ {%- endfor %}
5
+ {%- endif -%}
metadata CHANGED
@@ -1,16 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boido
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta4
4
+ version: 1.0.0.pre.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Petrov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-03 00:00:00.000000000 Z
12
- dependencies: []
13
- description: " Helps to manage resources when building pages.\n"
11
+ date: 2020-04-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '13'
27
+ description: |2
28
+ Basic layouts for Jekyll-powered websites.
29
+ Helps to manage resources when building pages, adds normalization, frameworks and more.
14
30
  email:
15
31
  - andrey@petrov.works
16
32
  executables: []
@@ -20,6 +36,8 @@ files:
20
36
  - CHANGELOG.md
21
37
  - LICENSE.txt
22
38
  - README.md
39
+ - _includes/body/scripts.html
40
+ - _includes/head/elements.html
23
41
  - _layouts/boido.html
24
42
  homepage: https://github.com/andreythegeek/boido
25
43
  licenses: