jekyll-theme-devcarpet-01 0.1.2 → 0.1.3

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: ae8a78472e0681d9034c8edfc731dbfe45bc2b0660f9bc4626a2d45898426ca3
4
- data.tar.gz: 8ff494e5278ba74c71e96917c17c29f2ba754054273a7b256df68ebca04496a3
3
+ metadata.gz: bd0598d4bcb4c6e92ba02d3d5b761698f4b374efaf0b4f1875de3c04953359b9
4
+ data.tar.gz: a79f1972e5e19aa272415c3a5b74dfff3e96e29dbee97e009c3e3b609da0801c
5
5
  SHA512:
6
- metadata.gz: 7058ee9522e4d197768b30d6854426e182c2e70f06ff0342c9dfba37606fc9b851039b0a578798fd420340c31aeae43566b87af44bba9692d29a2b2f210d0392
7
- data.tar.gz: 78ae97fa4dacda7cee1b886bcc836a8df1e930580af79fd32d8eb3dcd832200266b55a802a1dc43544965670eb92773bec31df612e719a87613b4187d1a0cced
6
+ metadata.gz: b57df2b60d6668e32d2c776961c4193683ac1f46b4782ad5ec2bf3f83ebf787c36e0b4404d31664aff6fa10191925d760cb1291038a7268856131b8a2223ae0a
7
+ data.tar.gz: b24005941ba21e49c32a56457322d642ba9b7c9816b9d3d4a2f7dba6ed6e667e5321ff7310fcc8c70cd43fa0e599ddcd6501cbe2d84e666d734ac0aad82d1b10
data/README.md CHANGED
@@ -30,8 +30,27 @@ Or install it yourself as:
30
30
 
31
31
  ## Usage
32
32
 
33
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
33
+ You can configure your social network links in the `_config.yml`, following platforms are supported for now:
34
34
 
35
+ ```
36
+ devcarpet_theme:
37
+ social_links:
38
+ twitter: jekyllrb
39
+ github: bluszcz
40
+ vimeo: devcarpet
41
+ facebook: jekyll
42
+ instagram: jekyll
43
+ youtube_channel: UCH8bTGji7CZzSExtFGzvdMQ
44
+ youtube_channel_name: DevCarpet
45
+ youtube: jekyll
46
+ ```
47
+
48
+ To configure footer slogan:
49
+
50
+ ```
51
+ devcarpet_theme:
52
+ footer_slogan: Done with the help of <a href="https://github.com/bluszcz/jekyll-theme-devcarpet-01">Devcarpet Jekyll Theme</a>.
53
+ ```
35
54
  ## Contributing
36
55
 
37
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.
data/_config.yml CHANGED
@@ -9,43 +9,22 @@ description: > # this means to ignore newlines until "show_excerpts:"
9
9
 
10
10
  show_excerpts: false # set to true to show excerpts on the homepage
11
11
 
12
- # Minima date format
13
- # refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this
14
- minima:
12
+ # date format, refer to https://shopify.github.io/liquid/filters/date/
13
+ # if you want to customize this
14
+ devcarpet_theme:
15
+ footer_slogan: Done with the help of <a href="https://github.com/bluszcz/jekyll-theme-devcarpet-01">Devcarpet Jekyll Theme</a>.
15
16
  date_format: "%b %-d, %Y"
16
17
 
17
18
  # generate social links in footer
18
- social_links:
19
- twitter: jekyllrb
20
- github: jekyll
21
- # devto: jekyll
22
- # dribbble: jekyll
23
- # facebook: jekyll
24
- # flickr: jekyll
25
- # instagram: jekyll
26
- # linkedin: jekyll
27
- # pinterest: jekyll
28
- # youtube: jekyll
29
- # youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
30
- # youtube_channel_name: CloudCannon
31
- # telegram: jekyll
32
- # googleplus: +jekyll
33
- # microdotblog: jekyll
34
- # keybase: jekyll
35
-
36
- # Mastodon instances
37
- # mastodon:
38
- # - username: jekyll
39
- # instance: example.com
40
- # - username: jekyll2
41
- # instance: example.com
42
-
43
- # GitLab instances
44
- # gitlab:
45
- # - username: jekyll
46
- # instance: example.com
47
- # - username: jekyll2
48
- # instance: example.com
19
+ # social_links:
20
+ # twitter: jekyllrb
21
+ # github: bluszcz
22
+ # vimeo: devcarpet
23
+ # facebook: jekyll
24
+ # instagram: jekyll
25
+ # youtube_channel: UCH8bTGji7CZzSExtFGzvdMQ
26
+ # youtube_channel_name: DevCarpet
27
+ # youtube: jekyll
49
28
 
50
29
  # If you want to link only specific pages in your header, uncomment
51
30
  # this and add the path to the pages in order as they should show up
@@ -1,18 +1,14 @@
1
- <footer class="mt-auto text-muted py-5">
1
+ <footer class="mt-auto text-muted py-5">
2
2
  <div class="container">
3
3
  <footer class="mt-auto d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
4
4
  <div class="col-md-4 d-flex align-items-center">
5
5
  <a href="/" class="mb-3 me-2 mb-md-0 text-muted text-decoration-none lh-1">
6
6
  <svg class="bi" width="30" height="24"><use xlink:href="#bootstrap"/></svg>
7
7
  </a>
8
- <span class="mb-3 mb-md-0 text-muted">&copy; 2022 Company, Inc</span>
8
+ <span class="mb-3 mb-md-0 text-muted">{{ site.devcarpet_theme.footer_slogan }}</span>
9
9
  </div>
10
-
11
- <ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
12
- <li class="ms-3"><a class="text-muted" href="#"><svg class="bi" width="24" height="24"><use xlink:href="#twitter"/></svg></a></li>
13
- <li class="ms-3"><a class="text-muted" href="#"><svg class="bi" width="24" height="24"><use xlink:href="#instagram"/></svg></a></li>
14
- <li class="ms-3"><a class="text-muted" href="#"><svg class="bi" width="24" height="24"><use xlink:href="#facebook"/></svg></a></li>
15
- </ul>
10
+ <!-- social snippet -->
11
+ {%- include social.html -%}
16
12
  </footer>
17
13
  </div>
18
14
  </footer>
data/_includes/head.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta name="description" content="">
5
5
  <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
6
6
  <meta name="generator" content="Hugo 0.101.0">
7
- <title>Album example · Bootstrap v5.2</title>
7
+ <!-- <title>Album example · Bootstrap v5.2</title> -->
8
8
 
9
9
  <!-- <link rel="canonical" href="https://getbootstrap.com/docs/5.2/examples/album/"> -->
10
10
 
@@ -18,11 +18,11 @@
18
18
  <link rel="apple-touch-icon" href="/docs/5.2/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
19
19
  <link rel="icon" href="/docs/5.2/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png">
20
20
  <link rel="icon" href="/docs/5.2/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png">
21
- <link rel="manifest" href="/docs/5.2/assets/img/favicons/manifest.json">
21
+ <!-- <link rel="manifest" href="/docs/5.2/assets/img/favicons/manifest.json"> -->
22
22
  <link rel="mask-icon" href="/docs/5.2/assets/img/favicons/safari-pinned-tab.svg" color="#712cf9">
23
23
  <link rel="icon" href="/docs/5.2/assets/img/favicons/favicon.ico">
24
24
  <meta name="theme-color" content="#712cf9">
25
-
25
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
26
26
 
27
27
  <style>
28
28
  .bd-placeholder-img {
@@ -4,7 +4,7 @@
4
4
  <div class="row">
5
5
  <div class="col-sm-8 col-md-7 py-4">
6
6
  <h4 class="text-white">About</h4>
7
- <p class="text-muted">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>
7
+ <p class="text-muted">{{ site.description }}</p>
8
8
  </div>
9
9
  <div class="col-sm-4 offset-md-1 py-4">
10
10
  <h4 class="text-white">Contact</h4>
@@ -0,0 +1,10 @@
1
+ {%- assign social = site.devcarpet_theme.social_links -%}
2
+ <ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
3
+ {%- if social.github -%}<li class="ms-3"><a class="text-muted" rel="me" href="https://github.com/{{ social.github | cgi_escape | escape }}" target="_blank" title="{{ social.github | escape }}"><i style="font-size: 1.5em;" class="bi bi-github"></i></a></li>{%- endif -%}
4
+ {%- if social.facebook -%}<li class="ms-3"><a class="text-muted" rel="me" href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" target="_blank" title="{{ social.facebook | escape }}"><i style="font-size: 1.5em;" class="bi bi-facebook"></i></a></li>{%- endif -%}
5
+ {%- if social.instagram -%}<li class="ms-3"><a class="text-muted" rel="me" href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" target="_blank" title="{{ social.instagram | escape }}"><i style="font-size: 1.5em;" class="bi bi-instagram"></i></a></li>{%- endif -%}
6
+ {%- if social.twitter -%}<li class="ms-3"><a class="text-muted" rel="me" href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" target="_blank" title="{{ social.twitter | escape }}"><i style="font-size: 1.5em;" class="bi bi-twitter"></i></a></li>{%- endif -%}
7
+ {%- if social.vimeo -%}<li class="ms-3"><a class="text-muted" rel="me" href="https://vimeo.com/{{ social.vimeo | cgi_escape | escape }}" target="_blank" title="{{ social.vimeo | escape }}"><i style="font-size: 1.5em;" class="bi bi-vimeo"></i></a></li>{%- endif -%}
8
+ {%- if social.youtube -%}<li class="ms-3"><a class="text-muted" rel="me" href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" target="_blank" title="{{ social.youtube | escape }}"><i style="font-size: 1.5em;" class="bi bi-youtube"></i></a></li>{%- endif -%}
9
+ {%- if social.youtube -%}<li class="ms-3"><a class="text-muted" a rel="me" href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" target="_blank" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><i style="font-size: 1.5em;" class="bi bi-youtube"></i></a></li>{%- endif -%}
10
+ </ul>
@@ -4,23 +4,7 @@
4
4
  {%- include head.html -%}
5
5
 
6
6
  <body class="d-flex flex-column h-100">
7
- <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
8
- <symbol id="bootstrap" viewBox="0 0 118 94">
9
- <title>Bootstrap</title>
10
- <path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z"></path>
11
- </symbol>
12
- <symbol id="facebook" viewBox="0 0 16 16">
13
- <path d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z"/>
14
- </symbol>
15
- <symbol id="instagram" viewBox="0 0 16 16">
16
- <path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"/>
17
- </symbol>
18
- <symbol id="twitter" viewBox="0 0 16 16">
19
- <path d="M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"/>
20
- </symbol>
21
- </svg>
22
7
  {%- include header.html -%}
23
-
24
8
  <main class="page-content flex-shrink-0" aria-label="Content">
25
9
  <div class="wrapper">
26
10
  {{ content }}
@@ -29,6 +13,10 @@
29
13
 
30
14
  {%- include footer.html -%}
31
15
 
16
+
17
+
18
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
19
+
32
20
  </body>
33
21
 
34
22
  </html>
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-devcarpet-01
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Zawadzki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-23 00:00:00.000000000 Z
11
+ date: 2022-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -39,6 +39,7 @@ files:
39
39
  - _includes/google-analytics.html
40
40
  - _includes/head.html
41
41
  - _includes/header.html
42
+ - _includes/social.html
42
43
  - _layouts/_blog.html
43
44
  - _layouts/_portfolio.html
44
45
  - _layouts/default.html