boido 1.0.0.pre.alpha → 1.0.0.pre.beta

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: 45bc09a883c09cb739b005851fb79087bfdfaa7df4d92b5a773d7b70bf3777ba
4
- data.tar.gz: 804c5b59397defcd6efbc22191f3ffe28997c63f7f767a0eabeb5a320b3cc612
3
+ metadata.gz: 3b55992e03c315b7c3ee40d7b2cba8cc9b784f5771a47debcce23c64f4252706
4
+ data.tar.gz: 14231cd5364597a94ad83b198dcac47120053dc99a7731b7c137e66cad765ea6
5
5
  SHA512:
6
- metadata.gz: 0bfd1f61b3aacb3461a22d4b715aa59f6ea48c562e71875fd7f779520212e8c065589e2cbfd817ce815d5e356188da0067d5247e170ddee55c8e3d77748c6d63
7
- data.tar.gz: 80ca64c40ff5383dab63e86a471a37dbfc2c562eea3c78aadb767c5b40fadfa16e4353e193776a6bb24cd33c824029137e87f643b9b8692123f18fc0645125fc
6
+ metadata.gz: 61397c1a49357e86ab69cc5ffd4569af64b25d886093bb3ece9af7158eda9b4adc482c54dd983c5641b1abdcbcd6ac76810e1bb1d6b16c23b976d08fa12a8dc7
7
+ data.tar.gz: 1e6a3f6e00fbdcd35347114a02f2e1bb2bd70d3b5c4458d9cc1b1190b0dd8fa3469de2a5c9f7c41cc517f99539337d77127218b7374ec08885b248ae4c55c916
data/CHANGELOG.md CHANGED
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+ ### Added
9
+ - Support for noscript tag.
10
+ - Support for inline styles.
11
+
12
+ ## [1.0.0-beta] - 2020-04-03
13
+ ### Added
14
+ - Support for custom tags in the head and scripts at the end of the body.
15
+
16
+ ## [1.0.0-alpha] - 2020-03-30
17
+ ### Added
18
+ - Basic layout and brief intro to the project.
data/Gemfile CHANGED
@@ -1,6 +1,5 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in void.gemspec
4
3
  gemspec
5
4
 
6
5
  gem "rake", "~> 12.0"
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Boido
2
2
 
3
- Basic layout for static websites.
3
+ Basic layouts for static websites.
4
4
 
5
5
  ## Installation
6
6
 
@@ -0,0 +1,5 @@
1
+ {%- if include.items -%}
2
+ {%- for item in include.items %}
3
+ <script src="{{- item -}}" />
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 -%}
@@ -0,0 +1,24 @@
1
+ ---
2
+ charset: utf-8
3
+ language: en
4
+ viewport:
5
+ initial_scale: 1
6
+ width: device-width
7
+ ---
8
+ <!doctype html>
9
+ <html lang="{{ page.language | default: site.language | default: layout.language }}">
10
+ <head>
11
+ <meta charset="{{ page.charset | default: site.charset | default: layout.charset }}">
12
+ <meta name="viewport" content="width={{ page.viewport.width | default: site.viewport.width | default: layout.viewport.width }}, initial-scale={{ page.viewport.initial_scale | default: site.viewport.initial_scale | default: layout.viewport.initial_scale }}">
13
+ {%- include head/elements.html elements=layout.head.elements %}
14
+ {%- include head/elements.html elements=site.head.elements %}
15
+ {%- include head/elements.html elements=page.head.elements %}
16
+ <title>{{- page.title -}}</title>
17
+ </head>
18
+ <body>
19
+ {{ content }}
20
+ {%- include body/scripts.html items=layout.body.scripts %}
21
+ {%- include body/scripts.html items=site.body.scripts %}
22
+ {%- include body/scripts.html items=head.body.scripts %}
23
+ </body>
24
+ </html>
data/boido.gemspec CHANGED
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "boido"
3
- spec.version = "1.0.0-alpha"
3
+ spec.version = "1.0.0-beta"
4
4
  spec.authors = ["Andrey Petrov"]
5
5
  spec.email = ["andrey@petrov.works"]
6
6
 
7
- spec.summary = %q{Basic layout for static websites.}
7
+ spec.summary = %q{Basic layouts for static websites.}
8
8
  spec.homepage = "https://github.com/andreythegeek/boido"
9
9
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boido
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.alpha
4
+ version: 1.0.0.pre.beta
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-03-30 00:00:00.000000000 Z
11
+ date: 2020-04-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -23,7 +23,9 @@ files:
23
23
  - Gemfile.lock
24
24
  - README.md
25
25
  - Rakefile
26
- - _layouts/default.html
26
+ - _includes/body/scripts.html
27
+ - _includes/head/elements.html
28
+ - _layouts/boido.html
27
29
  - boido.gemspec
28
30
  homepage: https://github.com/andreythegeek/boido
29
31
  licenses: []
@@ -50,5 +52,5 @@ requirements: []
50
52
  rubygems_version: 3.0.3
51
53
  signing_key:
52
54
  specification_version: 4
53
- summary: Basic layout for static websites.
55
+ summary: Basic layouts for static websites.
54
56
  test_files: []
@@ -1,9 +0,0 @@
1
- <!doctype html>
2
- <html lang="{{ lang }}">
3
- <head>
4
- <meta charset="{{ charset }}">
5
- </head>
6
- <body>
7
- {{ content }}
8
- </body>
9
- </html>