jekyll-theme-devcarpet-01 0.1.5 → 0.1.6

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: 8fd11b048972a237f83212be9491736ba759730730710d26d0e2362eb1d58e45
4
- data.tar.gz: 0114bf61e9b4c7a6a05f19a0caaf7b444fe99971db8f25eb6c095a439e92e93c
3
+ metadata.gz: d76fb161dd71789a248bcd13fa511eff9504094df81f22439a8d4beb78953786
4
+ data.tar.gz: 0f1137dd5767a623a926dde5b4b71b97d06bf1f6e9fec308a26527900d0d4231
5
5
  SHA512:
6
- metadata.gz: af886a3ab62729917718d02af15176a4b7bff7d6e9c6e888b53a648cef9c9dadeec3bdb0f0319594906296bff33f6464baa845765259960535f35fb76b7ee09e
7
- data.tar.gz: bb9d7964e2191cc07bde5da64492674ebc8223e38750cedcb0540a032bdf402e950994220f0e35e3097e4780f8fbda64a5af4f0606debf23250cde732adcaffc
6
+ metadata.gz: f7a07c8dc78f592e52ab134f2e330c4f4c57bfe0c5084b3fa8dd8b1bccbd0bbd5048b09080fa925b666d44e8602763e2afb710399e595dc4c878a0683e38f5bf
7
+ data.tar.gz: 309411af63bd72200d4fc28daead39c9fc1b53fd478b39a73f45d933f81fa24dccee6f315ef9bb3c20c9fad2105bfb37d5ca2785d3ec2331f112a7d87d0b354a
data/README.md CHANGED
@@ -1,11 +1,15 @@
1
1
  # jekyll-theme-devcarpet-01
2
2
 
3
- Jekyll Bootstrap 5 Template. Recommended for Jekyll + Strapi 4.
3
+ Jekyll Bootstrap 5 Template designed for Portfolio websites. It is being developed having in mind integration with Strapi 4.
4
4
 
5
- This template is my first Jekyll template and it started as modification of minima template.
5
+ This is important to mention that this template is my first Jekyll template and it started as modification of minima template. But I think all Jekyll templates starts in this way :deer::smile:.
6
6
 
7
7
  ![](assets/screenshot-01.png?raw=true)
8
8
 
9
+ With this template you can easily present your portfolio:
10
+
11
+ ![](assets/portfolio.png?raw=true)
12
+
9
13
  Template is mobile first and this is how it renders on smartphones:
10
14
 
11
15
  ![](assets/screenshot-02.png?raw=true)
@@ -57,17 +61,20 @@ devcarpet_theme:
57
61
  footer_slogan: Done with the help of <a href="https://github.com/bluszcz/jekyll-theme-devcarpet-01">Devcarpet Jekyll Theme</a>.
58
62
  ```
59
63
 
60
- ## Roadmap
64
+ ## Features / Roadmap
61
65
 
62
66
  * [x] Social links
63
67
  * [x] Custom navbar description
64
- * [ ] Custom navbar links
68
+ * [x] Hero Banner
69
+ * [x] Custom navbar links
65
70
  * [ ] Sass for Bootstrap 5 - more customization
66
71
  * [ ] Modal images (perhaps filter?)
67
72
  * [ ] Support for Strapi 4
68
73
  * [ ] Support for Strapi 4 - Modal Images using thumbs from Json
69
74
  * [ ] About page
70
- * [x] Hero Banner
75
+ * [x] Portfolio page
76
+ * [x] Collections
77
+ * [ ]
71
78
 
72
79
  ## Contributing
73
80
 
data/_config.yml CHANGED
@@ -38,6 +38,9 @@ devcarpet_theme:
38
38
  # Build settings
39
39
  theme: jekyll-theme-devcarpet-01
40
40
 
41
+ collections:
42
+ portfolio:
43
+
41
44
  plugins:
42
45
  - jekyll-feed
43
46
  - jekyll-seo-tag
@@ -9,9 +9,11 @@
9
9
  <div class="col-sm-4 offset-md-1 py-4">
10
10
  <h4 class="text-white">Contact</h4>
11
11
  <ul class="list-unstyled">
12
- <li><a href="#" class="text-white">Follow on Twitter</a></li>
13
- <li><a href="#" class="text-white">Like on Facebook</a></li>
14
- <li><a href="#" class="text-white">Email me</a></li>
12
+ {%- assign social = site.devcarpet_theme.social_links -%}
13
+ {%- if social.twitter -%}<li><a href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" class="text-white">Follow on Twitter</a></li>{%- endif -%}
14
+ {%- if social.facebook -%}<li><a href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" class="text-white">Like on Facebook</a></li>{%- endif -%}
15
+ {%- if social.github -%}<li><a href="https://github.com/{{ social.github | cgi_escape | escape }}" class="text-white">Like on Github</a></li>{%- endif -%}
16
+ <!-- {%- if site.email -%}<li><a href="#" class="text-white">Email me</a></li>{%- endif -%} -->
15
17
  </ul>
16
18
  </div>
17
19
  </div>
@@ -1,8 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: site.lang | default: "en" }}" class="h-100">
3
-
4
3
  {%- include head.html -%}
5
-
6
4
  <body class="d-flex flex-column h-100">
7
5
  {%- include header.html -%}
8
6
  <main class="page-content flex-shrink-0" aria-label="Content">
@@ -10,13 +8,7 @@
10
8
  {{ content }}
11
9
  </div>
12
10
  </main>
13
-
14
11
  {%- include footer.html -%}
15
-
16
-
17
-
18
12
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
19
-
20
13
  </body>
21
-
22
14
  </html>
data/_layouts/home.html CHANGED
@@ -5,24 +5,22 @@ layout: default
5
5
  {%- if hero.active -%}
6
6
  <div class="container col-xxl-8 px-4 py-5">
7
7
  <div class="row flex-lg-row-reverse align-items-center g-5 py-5">
8
- <div class="col-10 col-sm-8 col-lg-6">
9
- <img src="assets/hero-01.jpg" class="d-block mx-lg-auto img-fluid" alt="Bootstrap Themes" width="700" height="500" loading="lazy">
10
- </div>
11
- <div class="col-lg-6">
12
- <h1 class="display-5 fw-bold lh-1 mb-3">{{ hero.title }}</h1>
13
- <p class="lead">{{ hero.description }}</p>
14
- <div class="d-grid gap-2 d-md-flex justify-content-md-start">
15
- <button type="button" class="btn btn-primary btn-lg px-4 me-md-2">Primary</button>
16
- <button type="button" class="btn btn-outline-secondary btn-lg px-4">Default</button>
8
+ <div class="col-10 col-sm-8 col-lg-6">
9
+ <img src="assets/hero-01.jpg" class="d-block mx-lg-auto img-fluid" alt="Bootstrap Themes" width="700"
10
+ height="500" loading="lazy">
11
+ </div>
12
+ <div class="col-lg-6">
13
+ <h1 class="display-5 fw-bold lh-1 mb-3">{{ hero.title }}</h1>
14
+ <p class="lead">{{ hero.description }}</p>
15
+ <div class="d-grid gap-2 d-md-flex justify-content-md-start">
16
+ <a href="/about/"><button type="button" class="btn btn-primary btn-lg px-4 me-md-2">About</button></a>
17
+ <a href="/portfolio/"><button type="button" class="btn btn-outline-secondary btn-lg px-4">Portfolio</button></a>
18
+ </div>
17
19
  </div>
18
- </div>
19
20
  </div>
20
- </div>
21
+ </div>
21
22
  {%- endif -%}
22
-
23
23
  <div class="home album py-5 bg-light">
24
-
25
-
26
24
  <div class="container">
27
25
  {%- if page.title -%}
28
26
  <h1 class="page-heading">{{ page.title }}</h1>
@@ -35,17 +33,11 @@ layout: default
35
33
  {% endif %}
36
34
  {%- if posts.size > 0 -%}
37
35
  {%- if page.list_title -%}
38
- <h2 class="post-list-heading">{{ page.list_title }}</h2>
36
+ <h2 class="post-list-heading">{{ page.list_title }}</h2>
39
37
  {%- endif -%}
40
-
41
-
42
-
43
-
44
-
45
38
  <!-- <ul class="post-list"> -->
46
39
  {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
47
40
  <div class="row mb-2">
48
-
49
41
  {%- for post in posts -%}
50
42
  <div class="col-md-6">
51
43
  <div
@@ -0,0 +1,44 @@
1
+ ---
2
+ layout: default
3
+ title: Portfolio
4
+ ---
5
+ <section class="py-5 text-center container">
6
+ <div class="row py-lg-5">
7
+ <div class="col-lg-6 col-md-8 mx-auto">
8
+ <h1 class="fw-light">Welcome in my Portfolio</h1>
9
+ <p class="lead text-muted">Here you can find external websites with my artwork.</p>
10
+ <!-- <p>
11
+ <a href="#" class="btn btn-primary my-2">Main call to action</a>
12
+ <a href="#" class="btn btn-secondary my-2">Secondary action</a>
13
+ </p> -->
14
+ </div>
15
+ </div>
16
+ </section>
17
+ <div class="album py-5 bg-light">
18
+ <div class="container">
19
+
20
+ <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
21
+ {% for entry in site.portfolio %}
22
+ <div class="col">
23
+ <div class="card shadow-sm">
24
+ <!-- <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> -->
25
+ <img role="img" height="225" aria-label="Placeholder: Thumbnail" src="/assets/{{ entry.image }}"/>
26
+ <div class="card-body">
27
+ <p class="card-text">{{ entry.content| markdownify }}</p>
28
+ <div class="d-flex justify-content-between align-items-center">
29
+ <div class="btn-group">
30
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
31
+ <!-- <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> -->
32
+ </div>
33
+ <strong>{{ entry.name }}</strong>
34
+ <!-- <small class="text-muted"></small> -->
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+
40
+
41
+ {% endfor %}
42
+ </div>
43
+ </div>
44
+ </div>
Binary file
Binary file
data/assets/pond5.png ADDED
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-devcarpet-01
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Zawadzki
@@ -45,8 +45,13 @@ files:
45
45
  - _layouts/default.html
46
46
  - _layouts/home.html
47
47
  - _layouts/page.html
48
+ - _layouts/portfolio.html
48
49
  - _layouts/post.html
50
+ - assets/artstation.png
51
+ - assets/driblle.png
49
52
  - assets/hero-01.jpg
53
+ - assets/pond5.png
54
+ - assets/portfolio.png
50
55
  - assets/screenshot-01.png
51
56
  - assets/screenshot-02.png
52
57
  homepage: https://github.com/bluszcz/jekyll-theme-devcarpet-01