minimalista 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3004241d7e6cd97134ad7601983047d77c009d3fa08f139042bbb9bb69212fae
4
+ data.tar.gz: 0ed22802e7a415db2dc399f896d35c50a45fabbd0e547e02477ce1439f8803e4
5
+ SHA512:
6
+ metadata.gz: 3b7b49aaf806bf1dcbff046a2a1011855ddcf886f1774b24fa1c814b6992e569eca4735157db0349ebb9cb4613b291ece5f64a68fc297887051cdda6679f6420
7
+ data.tar.gz: de5fca458f4bfac0fb5013aa809074c45defc89fe15018baca3eba80cc2083d02e26a25c046b5ec79b3b59ea0bc068b7e1457a7cae867bb93057752a24fa65df
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 abbddkr
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # minimalista
2
+
3
+ Welcome to your new Jekyll theme Minimalista!
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's `Gemfile`:
8
+
9
+ ```ruby
10
+ gem "minimalista"
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: minimalista
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install minimalista
26
+
27
+ ## Theme Files
28
+
29
+ #### `` _layouts/ ``
30
+
31
+ - `default.html`: used for pages and other non-post content
32
+ - `post.html`: the layout for your posts
33
+ - `home.html`: the layout to render all avaliable blog posts, in addition, it displays the first 3 categories that's related to every post.
34
+
35
+ #### `` _includes/ ``
36
+
37
+ - `footer.html`: defines the site's footer section.
38
+ - `scripts.html`: a place for external/internal javascript sources
39
+ - `navbar.html`: pure responsive navbar
40
+ - `head.html`: defines ```<head> ``` in all layouts
41
+ - `social_links.html`: renders an anchor tag,icon, and a title based on the ```minimalista:social_links``` data in the config file
42
+
43
+ #### `` _sass/ ``
44
+ - `_minimalista.scss`: imports scss files related to the theme
45
+ - `_theme.scss`: consists of the theme's stylesheet
46
+
47
+ #### `` _posts/ ``
48
+ - for now it has two posts to demonstrate markdown syntax in front-end, feel free to edit or delete them.
49
+
50
+
51
+ #### `` assets/ ``
52
+
53
+ - `css/style.css`: to @import & convert the theme's stylesheet `from` ``` _sass ``` directory
54
+ - `js`: consists only of one js file, feel free to modify it.
55
+ - `svg`: icons
56
+
57
+
58
+ ## Contributing
59
+
60
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[abbddkr]/minimalista.
61
+
62
+ ## Development
63
+
64
+ To set up your environment to develop this theme, run `bundle install`.
65
+
66
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
67
+
68
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
69
+ To add a custom directory to your theme-gem, please edit the regexp in `minimalista.gemspec` accordingly.
70
+
71
+ ## License
72
+
73
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml ADDED
@@ -0,0 +1,26 @@
1
+ title: Your awesome title
2
+ author:
3
+ name: abbddkr
4
+ email: abouddk7@gmail.com
5
+ description: "Your awesome blog's description"
6
+ url: "127.0.0.1:/4000/"
7
+ show_excerpts: true
8
+ sass:
9
+ style: compressed
10
+ sass_dir: _sass
11
+ minimalista:
12
+ date_format: "%b %-d, %Y"
13
+
14
+ social_links:
15
+ - { platform: facebook, link: "https://www.facebook.com/jekyll" }
16
+ - { platform: github, link: "https://github.com/jekyll" }
17
+ - { platform: instagram, link: "https://www.instagram.com/jekyll" }
18
+ - { platform: linkedin, link: "https://www.linkedin.com/in/jekyll" }
19
+ - { platform: twitter, link: "https://twitter.com/jekyllrb" }
20
+ - { platform: youtube, link: "https://www.youtube.com/jekyll" }
21
+ - { platform: website, link: "https://www.youtube.com" }
22
+
23
+ theme: minimalista
24
+
25
+ plugins:
26
+ - jekyll-seo-tag
@@ -0,0 +1,18 @@
1
+ <footer class="site-footer">
2
+ <div class="footer-wrapper">
3
+ <div class="footer">
4
+ <div class="contact-details">
5
+ {%- for entry in site.minimalista.social_links -%}
6
+ {%- include social_links.html -%}
7
+ {%- endfor -%}
8
+ </div>
9
+ <div class="description">
10
+ <h3>Description</h3>
11
+ <hr>
12
+ <p>
13
+ {{ site.description }}
14
+ </p>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </footer>
@@ -0,0 +1,6 @@
1
+ <meta charset="UTF-8">
2
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
5
+
6
+ {%- seo -%}
@@ -0,0 +1,21 @@
1
+ <nav class="nav">
2
+ <div class="top-navbar">
3
+ <h3>
4
+ <a href="{{ site.url }}">
5
+ {{ site.title }}
6
+ </a>
7
+ </h3>
8
+ <a class="nav-toggle-button">
9
+ <img class="bars-icon" src="/assets/svg/icons/bars.svg" width="15" height="15">
10
+ </a>
11
+ <ul class="mobile-menu">
12
+ {% for page in site.pages %}
13
+ {% if page.title %}
14
+ <li>
15
+ <h4><a href="{{ page.url }}">{{ page.title }}</a></h4>
16
+ </li>
17
+ {% endif %}
18
+ {% endfor %}
19
+ </ul>
20
+ </div>
21
+ </nav>
@@ -0,0 +1 @@
1
+ <script src="{{ "/assets/js/minimalista.js" | relative_url }}" type="text/javascript"></script>
@@ -0,0 +1,3 @@
1
+ <a href="{{ entry.link }}">
2
+ <img class="contact-brand" src="/assets/svg/icons/{{ entry.platform }}.svg" height="30" width="30" alt="">
3
+ </a>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: " en" }}">
3
+
4
+ <head>
5
+ {%- include head.html -%}
6
+ </head>
7
+
8
+ <body>
9
+
10
+ {%- include navbar.html -%}
11
+
12
+ <main class="page-content">
13
+ <div class="wrapper">
14
+ <h2>
15
+ {{ page.title }}
16
+ </h2>
17
+ {{ content }}
18
+ </div>
19
+ </main>
20
+
21
+ {%- include footer.html -%}
22
+
23
+ {%- include scripts.html -%}
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,63 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: " en" }}">
3
+
4
+ <head>
5
+ {%- include head.html -%}
6
+ </head>
7
+
8
+ <body>
9
+
10
+ {%- include navbar.html -%}
11
+
12
+ <main class="page-content">
13
+ <div class="wrapper">
14
+ <div class="home">
15
+ <div class="site-title-mobile">
16
+ <h2>{{ site.title }}</h2>
17
+ </div>
18
+
19
+ <div class="github-repo">
20
+
21
+ </div>
22
+
23
+ {{ content }}
24
+
25
+ <ul class="post-list">
26
+ {% for post in site.posts %}
27
+ <li>
28
+ <h3>
29
+ <a class="post-link" href="{{ post.url }}">
30
+ {{ post.title }}
31
+ </a>
32
+ </h3>
33
+ <p>
34
+ {{ post.content | strip_html | truncatewords: 50 }}
35
+ </p>
36
+ <div class="post-details">
37
+ <small>
38
+ {%- if post.categories[0] -%}
39
+ <img class="tags-icon" src="/assets/svg/icons/tags.svg" width="15" height="15">
40
+ <p class="hashtag-category">#{{ post.categories[0] }}</p>
41
+ <p class="hashtag-category">#{{ post.categories[1] }}</p>
42
+ <p class="hashtag-category">#{{ post.categories[2] }}</p>
43
+ {%- endif -%}
44
+ </small>
45
+ <small>
46
+ <img class="calendar-icon" src="/assets/svg/icons/calendar.svg" width="15" height="15">
47
+ {%- assign date_format = site.minimalista.date_format | default: "%b %-d, %Y" -%}
48
+ <p>{{ post.date | date: date_format }}</p>
49
+ </small>
50
+ </div>
51
+ </li>
52
+ {% endfor %}
53
+ </ul>
54
+ </div>
55
+ </div>
56
+ </main>
57
+
58
+ {%- include footer.html -%}
59
+ {%- include scripts.html -%}
60
+
61
+ </body>
62
+
63
+ </html>
@@ -0,0 +1,60 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: " en" }}">
3
+
4
+ <head>
5
+ {%- include head.html -%}
6
+ </head>
7
+
8
+ <body>
9
+
10
+ {%- include navbar.html -%}
11
+
12
+ {%- assign words_per_minute = 200 -%}
13
+ <main class="page-content">
14
+ <div class="wrapper">
15
+ <div class="single-page-content">
16
+ <div class="page-header">
17
+ <div class="post-details">
18
+ {% assign words = page.content | strip_html | number_of_words %}
19
+ <small class="post-estimated-to-read-time">
20
+ <img class="clock-icon" src="/assets/svg/icons/clock.svg" width="15" height="15">
21
+ <p>
22
+ {%- if words < words_per_minute -%} ≈ 1 Min. {%- else -%} ≈ {{ words |
23
+ divided_by:words_per_minute }} Minutes {%- endif -%} </p>
24
+ </small>
25
+ <small class="post-date">
26
+ <img class="calendar-icon" src="/assets/svg/icons/calendar.svg" width="15" height="15">
27
+ {%- assign date_format = site.minimalista.date_format | default: "%b %-d, %Y" -%}
28
+ <p>{{ page.date | date: date_format}}</p>
29
+ </small>
30
+ </div>
31
+ <h1>
32
+ {{ page.title }}
33
+ </h1>
34
+ </div>
35
+ <hr style="opacity:0.2">
36
+
37
+ <div class="content">
38
+ {{ content }}
39
+ </div>
40
+
41
+ <div class="page-categories">
42
+ <ul class="category-list">
43
+ {% for category in page.categories %}
44
+ <li>
45
+ <img class="tags-icon" src="/assets/svg/icons/tag.svg" width="15" height="15">
46
+ <a href="#">{{ category }}</a></li>
47
+ {% endfor %}
48
+ </ul>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </main>
53
+
54
+
55
+ {%- include footer.html -%}
56
+ {%- include scripts.html -%}
57
+
58
+ </body>
59
+
60
+ </html>
@@ -0,0 +1,5 @@
1
+ @charset "utf-8";
2
+
3
+ @import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,700;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
4
+ @import "settings", "theme", "normalize";
5
+
@@ -0,0 +1,9 @@
1
+ $white: #fff;
2
+ $dark: #3a3535;
3
+ $lightblue: #5ea5ff;
4
+ $lightdark: #383636;
5
+ $gray: #6f6f6f;
6
+ $lightwhite: #e8e7e7;
7
+
8
+
9
+ $contentWidth: calc(800px - (30px));