jekyll-theme-minimal 0.1.0 → 0.1.1

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
- SHA1:
3
- metadata.gz: cdddd2780efd6ae546f1b793cab5bbce59bb4fc8
4
- data.tar.gz: 181f19e3b243dac2ad6d8259f3fe753d7c0927d1
2
+ SHA256:
3
+ metadata.gz: f94e40aebad6ea69f1136be9d6c7613f433768a09528ab36ce6fb2bcecf57a74
4
+ data.tar.gz: 872d5574b25d5bf6163871bb3dff88bd5b59e7515d0c477c10fca9f16bb8f4d4
5
5
  SHA512:
6
- metadata.gz: 7858bc53ed9e04d8796eec704b961cc186ddee057a164791e222445bd55e38ecbe994adefa85308840293d37c9166bdf22d7e7666f10b91162998f8394d34914
7
- data.tar.gz: 9b974b680d6250052e3558da01c61f0a1d0c4ecf721940356a62c286e9f4b8024d56181a7481f9c9a26d51ff5a33d00e7d1edfcabfb20ee2982094479193cd4d
6
+ metadata.gz: 84493d6a237e70f0558f41c0c98305d6a55668d872bad6f635400fdd935c85cbe7f8bd9947d1685415509058332134352a47c40a6ebb8df0c3004ac7418fd408
7
+ data.tar.gz: fe277d404f48a6e5dcfe1926f45a73dcc062cb9cefa656352a3143dffc6d94350f2e9d01872d0fcd09fb5fff5d694cac9e7ce3bd32e1602c295a128dc09d7244
data/README.md CHANGED
@@ -38,6 +38,7 @@ description: [A short description of your site's purpose]
38
38
  Additionally, you may choose to set the following optional variables:
39
39
 
40
40
  ```yml
41
+ logo: [Location of the logo]
41
42
  show_downloads: ["true" or "false" to indicate whether to provide a download URL]
42
43
  google_analytics: [Your Google Analytics tracking ID]
43
44
  ```
@@ -75,7 +76,7 @@ The Minimal theme is intended to make it quick and easy for GitHub Pages users t
75
76
 
76
77
  ## Contributing
77
78
 
78
- Interested in contributing to Minimal? We'd love your help. Minimal is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](CONTRIBUTING.md) for instructions on how to contribute.
79
+ Interested in contributing to Minimal? We'd love your help. Minimal is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](docs/CONTRIBUTING.md) for instructions on how to contribute.
79
80
 
80
81
  ### Previewing the theme locally
81
82
 
@@ -1,37 +1,41 @@
1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
  <html lang="{{ site.lang | default: "en-US" }}">
3
3
  <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="chrome=1">
4
+ <meta charset="UTF-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
7
 
7
8
  {% seo %}
8
-
9
- <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
10
- <meta name="viewport" content="width=device-width">
9
+ <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
11
10
  <!--[if lt IE 9]>
12
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
+ <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
13
12
  <![endif]-->
14
13
  </head>
15
14
  <body>
16
15
  <div class="wrapper">
17
16
  <header>
18
- <h1>{{ site.title | default: site.github.repository_name }}</h1>
17
+ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
18
+
19
+ {% if site.logo %}
20
+ <img src="{{site.logo | relative_url}}" alt="Logo" />
21
+ {% endif %}
22
+
19
23
  <p>{{ site.description | default: site.github.project_tagline }}</p>
20
24
 
21
25
  {% if site.github.is_project_page %}
22
- <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ github_name }}</small></a></p>
26
+ <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
23
27
  {% endif %}
24
28
 
25
29
  {% if site.github.is_user_page %}
26
- <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
30
+ <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
27
31
  {% endif %}
28
32
 
29
33
  {% if site.show_downloads %}
30
- <ul>
31
- <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
32
- <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
33
- <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
34
- </ul>
34
+ <ul>
35
+ <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
36
+ <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
37
+ <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
38
+ </ul>
35
39
  {% endif %}
36
40
  </header>
37
41
  <section>
@@ -46,19 +50,16 @@
46
50
  <p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
47
51
  </footer>
48
52
  </div>
49
- <script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
50
-
51
-
52
- {% if site.google_analytics %}
53
+ <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
54
+ {% if site.google_analytics %}
53
55
  <script>
54
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
55
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
56
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
57
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
58
-
59
- ga('create', '{{ site.google_analytics }}', 'auto');
60
- ga('send', 'pageview');
56
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
57
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
58
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
59
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
60
+ ga('create', '{{ site.google_analytics }}', 'auto');
61
+ ga('send', 'pageview');
61
62
  </script>
62
- {% endif %}
63
+ {% endif %}
63
64
  </body>
64
65
  </html>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <small>{{ page.date | date: "%-d %B %Y" }}</small>
6
+ <h1>{{ page.title }}</h1>
7
+
8
+ <p class="view">by {{ page.author | default: site.author }}</p>
9
+
10
+ {{content}}
11
+
12
+ {% if page.tags %}
13
+ <small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small>
14
+ {% endif %}
@@ -70,7 +70,6 @@ blockquote {
70
70
  code, pre {
71
71
  font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
72
72
  color:#333;
73
- font-size:12px;
74
73
  }
75
74
 
76
75
  pre {
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-minimal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Smith
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-14 00:00:00.000000000 Z
12
+ date: 2018-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -39,6 +39,48 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '2.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: html-proofer
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rubocop
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '0.50'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '0.50'
70
+ - !ruby/object:Gem::Dependency
71
+ name: w3c_validators
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.3'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.3'
42
84
  description:
43
85
  email:
44
86
  - opensource+jekyll-theme-minimal@github.com
@@ -49,6 +91,7 @@ files:
49
91
  - LICENSE
50
92
  - README.md
51
93
  - _layouts/default.html
94
+ - _layouts/post.html
52
95
  - _sass/fonts.scss
53
96
  - _sass/jekyll-theme-minimal.scss
54
97
  - _sass/rouge-github.scss
@@ -73,6 +116,7 @@ files:
73
116
  - assets/fonts/Noto-Sans-regular/Noto-Sans-regular.ttf
74
117
  - assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff
75
118
  - assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff2
119
+ - assets/img/logo.png
76
120
  - assets/js/scale.fix.js
77
121
  homepage: https://github.com/pages-themes/minimal
78
122
  licenses:
@@ -94,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
138
  version: '0'
95
139
  requirements: []
96
140
  rubyforge_project:
97
- rubygems_version: 2.6.11
141
+ rubygems_version: 2.7.6
98
142
  signing_key:
99
143
  specification_version: 4
100
144
  summary: Minimal is a Jekyll theme for GitHub Pages