materialize-jekyll 0.2.0 → 0.3.0

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
  SHA1:
3
- metadata.gz: 342391a90a545ebc5ad38c1a7dc03589bde66897
4
- data.tar.gz: 34dcd13e38466dc2744c0c076ff9a65a390b45b2
3
+ metadata.gz: c4d0eb44056f1b66b7932ff127f5bf0a6eb6364f
4
+ data.tar.gz: 164e6ab5f4b5d8a27e5a21dc056509d6ebac5acb
5
5
  SHA512:
6
- metadata.gz: e5fba01dff834da6dd1be02c5273f8d85f6327c032e18c31d3c153f076b0f31eb1c9350a240c1957bfaa09330a886bd494b1b43e82f865f381105560e9f2fc53
7
- data.tar.gz: 40a9c856a1519ebe5b419ef19f58559ebce32461353eedcae0dd30a24cc881066f8e95773a4f7b537e64bc8feabe99c5d524e46caf3145f298f096cb78681ba1
6
+ metadata.gz: 1f5f17855d5b79275e141826dd3e96b66f09eaa32a0c326229ed3f94b1c94cd2facae6a8ac803296375c46134c70a5a84d7587ba63590c1d37652b16eac44965
7
+ data.tar.gz: 95eae0d8af2bd7bbb209a015034f86aaff2e25ba9cbc90b1f0845de2b7678f7527559ae68c9c3df448721c958d2b592e6a62b9aff97b097be001997e830f48be
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # materialize-jekyll
2
2
 
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
3
+ ![Materialize meets Jekyll](http://res.cloudinary.com/victorpre/image/upload/v1503466230/Gem%20materialize-jekyll/materialize-jekyll.png)
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ Welcome to your **materialize-jekyll** theme! This is where [Materialize](http://materializecss.com/) meets [Jekyll](https://jekyllrb.com/).
6
6
 
7
7
  ## Installation
8
8
 
@@ -28,11 +28,73 @@ Or install it yourself as:
28
28
 
29
29
  ## Usage
30
30
 
31
- TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
31
+ ### Project tree:
32
+ ```
33
+ materialize-jekyll
34
+
35
+ ├─── _includes
36
+ | ├─── _author.html
37
+ | ├─── _comments.html
38
+ | ├─── _date.html
39
+ | ├─── _footer.html
40
+ | ├─── _header.html
41
+ | ├─── _navbar.html
42
+ │ └─── _share.html
43
+ ├─── _layouts
44
+ │ ├─── compress.html
45
+ │ ├─── default.html
46
+ │ ├─── page.html
47
+ │ └─── post.html
48
+ ├─── _posts
49
+
50
+ ├─── _sass
51
+ │ ├─── _author.scss
52
+ │ ├─── _cards.scss
53
+ │ ├─── _navbar.scss
54
+ │ ├─── _post.scss
55
+ │ ├─── _syntax.scss
56
+ │ └─── _tags.html
57
+ └─── assets
58
+
59
+ └─── css
60
+ │ └─── main.scss
61
+ └─── img
62
+ │ └─── icons
63
+ └─── js
64
+ ├─── init.js
65
+ └─── vendor
66
+ ```
67
+
68
+ Inside the `_includes/` directory there are the partials that are used inside your layouts and pages.
69
+ By default, the layouts render the following partials inside themselves:
70
+
71
+ - `_layouts/default.html`
72
+ - `_includes/header.html`,
73
+ - `_includes/navbar.html`,
74
+ - `_includes/footer.html`
75
+ - `_layouts/post.html`
76
+ - `_includes/header.html`,
77
+ - `_includes/navbar.html`,
78
+ - `_includes/share.html`,
79
+ - `_includes/author.html`,
80
+ - `_includes/comments.html`
81
+ - `_includes/footer.html`
82
+
83
+
84
+ This gem offers two *main* layouts that you can use/edit:
85
+ - `_layouts/default.html`, which is used in the `index.html` page (your blog homepage),
86
+ - `_layouts/post.html`, which is the layout in which the blog post itself will be rendered
87
+
88
+
89
+ The stylesheets of this gem can be edited both in `_sass/` and in `assets/css/main.scss`.
90
+
91
+ To edit the current JavaScript functions of the gem, the file you are looking for is in `assets/js/init.js`.
92
+
93
+ Your blog posts (`*.md` files) should be put in the `_posts` directory.
32
94
 
33
95
  ## Contributing
34
96
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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.
97
+ Bug reports and pull requests are welcome on GitHub at https://github.com/victorpre/materialize-jekyll. 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.
36
98
 
37
99
  ## Development
38
100
 
@@ -42,6 +104,10 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
42
104
 
43
105
  When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
44
106
 
107
+ ## Credits
108
+
109
+ This theme was inspired by the [Google's Material Design](https://material.io/guidelines/#introduction-goals), using the components from [Materialize](https://github.com/Dogfalo/materialize) framework and it has a lot of influence from [Willian Justen's Card Jekyll Template](https://github.com/willianjusten/cards-jekyll-template).
110
+
45
111
  ## License
46
112
 
47
113
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,14 +1,18 @@
1
1
 
2
- <footer class="page-footer footer-copyright z-depth-6 brown lighten-1">
2
+ <footer class="page-footer z-depth-6 brown lighten-1">
3
3
  <div class="container">
4
- <div class="center-align brown-text text-lighten-4">© 2016 Made with <img id="love" src="assets/images/love.png"> by Victor Presumido</div>
4
+ <div class="footer-copyright brown lighten-1">
5
+ <div class="container">
6
+ <div class="center-align brown-text text-lighten-4">© 2017 Made with Materialize and Jekyll by Victor Presumido</div>
7
+ </div>
8
+ </div>
5
9
  </div>
6
10
  </footer>
7
11
  <!-- Scripts-->
8
12
  <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
9
13
  <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/js/materialize.min.js"></script>
10
14
  <script src="https://unpkg.com/scrollreveal/dist/scrollreveal.min.js"></script>
11
- <script src="{{ "/assets/js/masonry.pkgd.min.js" | prepend: site.baseurl }}"></script>
15
+ <script src="{{ "/assets/js/vendor/masonry.pkgd.min.js" | prepend: site.baseurl }}"></script>
12
16
  <script src="{{ "/assets/js/init.js" | prepend: site.baseurl }}"></script>
13
17
  </body>
14
18
  </html>
File without changes
File without changes
File without changes
File without changes
data/assets/css/main.scss CHANGED
@@ -66,5 +66,6 @@ p {
66
66
 
67
67
  footer.page-footer {
68
68
  margin: 0;
69
+ padding-top: 0px;
69
70
  }
70
71
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: materialize-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Presumido
@@ -87,12 +87,12 @@ files:
87
87
  - _layouts/page.html
88
88
  - _layouts/post.html
89
89
  - _sass/.DS_Store
90
+ - _sass/_author.scss
91
+ - _sass/_cards.scss
92
+ - _sass/_navbar.scss
93
+ - _sass/_post.scss
90
94
  - _sass/_syntax.scss
91
95
  - _sass/_tags.scss
92
- - _sass/author.scss
93
- - _sass/cards.scss
94
- - _sass/navbar.scss
95
- - _sass/post.scss
96
96
  - assets/.DS_Store
97
97
  - assets/css/.DS_Store
98
98
  - assets/css/main.scss
@@ -103,8 +103,8 @@ files:
103
103
  - assets/img/icons/linkedin.svg
104
104
  - assets/img/icons/twitter.svg
105
105
  - assets/js/init.js
106
- - assets/js/masonry.pkgd.min.js
107
- homepage: http://victorpre.com
106
+ - assets/js/vendor/masonry.pkgd.min.js
107
+ homepage: https://github.com/victorpre/materialize-jekyll
108
108
  licenses:
109
109
  - MIT
110
110
  metadata: {}