jekyll-theme-devcarpet-01 0.1.3 → 0.1.5

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
  SHA256:
3
- metadata.gz: bd0598d4bcb4c6e92ba02d3d5b761698f4b374efaf0b4f1875de3c04953359b9
4
- data.tar.gz: a79f1972e5e19aa272415c3a5b74dfff3e96e29dbee97e009c3e3b609da0801c
3
+ metadata.gz: 8fd11b048972a237f83212be9491736ba759730730710d26d0e2362eb1d58e45
4
+ data.tar.gz: 0114bf61e9b4c7a6a05f19a0caaf7b444fe99971db8f25eb6c095a439e92e93c
5
5
  SHA512:
6
- metadata.gz: b57df2b60d6668e32d2c776961c4193683ac1f46b4782ad5ec2bf3f83ebf787c36e0b4404d31664aff6fa10191925d760cb1291038a7268856131b8a2223ae0a
7
- data.tar.gz: b24005941ba21e49c32a56457322d642ba9b7c9816b9d3d4a2f7dba6ed6e667e5321ff7310fcc8c70cd43fa0e599ddcd6501cbe2d84e666d734ac0aad82d1b10
6
+ metadata.gz: af886a3ab62729917718d02af15176a4b7bff7d6e9c6e888b53a648cef9c9dadeec3bdb0f0319594906296bff33f6464baa845765259960535f35fb76b7ee09e
7
+ data.tar.gz: bb9d7964e2191cc07bde5da64492674ebc8223e38750cedcb0540a032bdf402e950994220f0e35e3097e4780f8fbda64a5af4f0606debf23250cde732adcaffc
data/README.md CHANGED
@@ -6,6 +6,11 @@ This template is my first Jekyll template and it started as modification of mini
6
6
 
7
7
  ![](assets/screenshot-01.png?raw=true)
8
8
 
9
+ Template is mobile first and this is how it renders on smartphones:
10
+
11
+ ![](assets/screenshot-02.png?raw=true)
12
+
13
+
9
14
  ## Installation
10
15
 
11
16
  Add this line to your Jekyll site's `Gemfile`:
@@ -51,9 +56,22 @@ To configure footer slogan:
51
56
  devcarpet_theme:
52
57
  footer_slogan: Done with the help of <a href="https://github.com/bluszcz/jekyll-theme-devcarpet-01">Devcarpet Jekyll Theme</a>.
53
58
  ```
59
+
60
+ ## Roadmap
61
+
62
+ * [x] Social links
63
+ * [x] Custom navbar description
64
+ * [ ] Custom navbar links
65
+ * [ ] Sass for Bootstrap 5 - more customization
66
+ * [ ] Modal images (perhaps filter?)
67
+ * [ ] Support for Strapi 4
68
+ * [ ] Support for Strapi 4 - Modal Images using thumbs from Json
69
+ * [ ] About page
70
+ * [x] Hero Banner
71
+
54
72
  ## Contributing
55
73
 
56
- 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.
74
+ Bug reports and pull requests are welcome on GitHub at https://github.com/bluszcz/jekyll-theme-devcarpet-01. 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.
57
75
 
58
76
  ## Development
59
77
 
data/_config.yml CHANGED
@@ -12,6 +12,10 @@ show_excerpts: false # set to true to show excerpts on the homepage
12
12
  # date format, refer to https://shopify.github.io/liquid/filters/date/
13
13
  # if you want to customize this
14
14
  devcarpet_theme:
15
+ hero:
16
+ active: true
17
+ title: Responsive Bootstrap 5 Jekyll Template
18
+ description: Welcome in Devcparet Jekyll Theme. You can change this hero banner using _config.yml. You can also replace this image. Study _config to see which other changes could be applied.
15
19
  footer_slogan: Done with the help of <a href="https://github.com/bluszcz/jekyll-theme-devcarpet-01">Devcarpet Jekyll Theme</a>.
16
20
  date_format: "%b %-d, %Y"
17
21
 
data/_layouts/home.html CHANGED
@@ -1,7 +1,28 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ {%- assign hero = site.devcarpet_theme.hero -%}
5
+ {%- if hero.active -%}
6
+ <div class="container col-xxl-8 px-4 py-5">
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>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ {%- endif -%}
22
+
4
23
  <div class="home album py-5 bg-light">
24
+
25
+
5
26
  <div class="container">
6
27
  {%- if page.title -%}
7
28
  <h1 class="page-heading">{{ page.title }}</h1>
@@ -16,6 +37,11 @@ layout: default
16
37
  {%- if page.list_title -%}
17
38
  <h2 class="post-list-heading">{{ page.list_title }}</h2>
18
39
  {%- endif -%}
40
+
41
+
42
+
43
+
44
+
19
45
  <!-- <ul class="post-list"> -->
20
46
  {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
21
47
  <div class="row mb-2">
Binary file
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.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Zawadzki
@@ -46,7 +46,9 @@ files:
46
46
  - _layouts/home.html
47
47
  - _layouts/page.html
48
48
  - _layouts/post.html
49
+ - assets/hero-01.jpg
49
50
  - assets/screenshot-01.png
51
+ - assets/screenshot-02.png
50
52
  homepage: https://github.com/bluszcz/jekyll-theme-devcarpet-01
51
53
  licenses:
52
54
  - MIT