basic-jekyll-theme 0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +50 -0
- data/_includes/footer.html +49 -0
- data/_includes/navbar.html +23 -0
- data/_layouts/about.html +3 -0
- data/_layouts/contact.html +3 -0
- data/_layouts/home.html +23 -0
- metadata +91 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ce084672da59b161cdfc0da29b29b1dbef3713422061a7f336a58184e14ad2f7
|
4
|
+
data.tar.gz: 5665928e83501c6dc47b9a4d84b75c496784d140adc2883cac598a0f4c2d28de
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 86aed34535affd77f788f02e2c1009c0a13d96ee9018bfdfebf9d7d237abc937499b4deb22f7b9a3da45503f02e4425061b553f4b140032904a5da676d73c2e4
|
7
|
+
data.tar.gz: 50ec9054c6382623473326907d712f9ed6973cdfde1d26b4bacd93be8bd6555e653debb287fa062f2c8701cdb6bb5201f1607734155c2f3aad8ef02e0226e6e0
|
data/README.md
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# jekyll-theme
|
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`, your sass files in `_sass` and any other assets in `assets`.
|
4
|
+
|
5
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
+
|
7
|
+
TODO: Delete this and the text above, and describe your gem
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "tools-theme"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: tools-theme
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
Or install it yourself as:
|
28
|
+
|
29
|
+
$ gem install tools-theme
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
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.
|
38
|
+
|
39
|
+
## Development
|
40
|
+
|
41
|
+
To set up your environment to develop this theme, run `bundle install`.
|
42
|
+
|
43
|
+
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.
|
44
|
+
|
45
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
46
|
+
To add a custom directory to your theme-gem, please edit the regexp in `tools-theme.gemspec` accordingly.
|
47
|
+
|
48
|
+
## License
|
49
|
+
|
50
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<div class="container">
|
2
|
+
<footer class="row row-cols-1 row-cols-sm-2 row-cols-md-5 py-5 my-5 border-top">
|
3
|
+
<div class="col mb-3">
|
4
|
+
<a href="/" class="d-flex align-items-center mb-3 link-dark text-decoration-none">
|
5
|
+
<svg class="bi me-2" width="40" height="32">
|
6
|
+
<use xlink:href="#bootstrap"></use>
|
7
|
+
</svg>
|
8
|
+
</a>
|
9
|
+
<p class="text-muted">© 2022</p>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div class="col mb-3">
|
13
|
+
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div class="col mb-3">
|
17
|
+
<h5>Section</h5>
|
18
|
+
<ul class="nav flex-column">
|
19
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Home</a></li>
|
20
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Features</a></li>
|
21
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Pricing</a></li>
|
22
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">FAQs</a></li>
|
23
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">About</a></li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="col mb-3">
|
28
|
+
<h5>Section</h5>
|
29
|
+
<ul class="nav flex-column">
|
30
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Home</a></li>
|
31
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Features</a></li>
|
32
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Pricing</a></li>
|
33
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">FAQs</a></li>
|
34
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">About</a></li>
|
35
|
+
</ul>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div class="col mb-3">
|
39
|
+
<h5>Section</h5>
|
40
|
+
<ul class="nav flex-column">
|
41
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Home</a></li>
|
42
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Features</a></li>
|
43
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Pricing</a></li>
|
44
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">FAQs</a></li>
|
45
|
+
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">About</a></li>
|
46
|
+
</ul>
|
47
|
+
</div>
|
48
|
+
</footer>
|
49
|
+
</div>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<nav class="navbar navbar-expand-lg bg-primary px-5">
|
2
|
+
<div class="container">
|
3
|
+
<a class="navbar-brand text-white" href="/">Logo</a>
|
4
|
+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
|
5
|
+
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
6
|
+
<span class="navbar-toggler-icon"></span>
|
7
|
+
</button>
|
8
|
+
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
9
|
+
<ul class="navbar-nav mx-auto pl-5 mb-2 mb-lg-0">
|
10
|
+
<li class="nav-item px-3">
|
11
|
+
<a class="nav-link text-white active" aria-current="page" href="/">Home</a>
|
12
|
+
</li>
|
13
|
+
<li class="nav-item px-3">
|
14
|
+
<a class="nav-link text-white active" aria-current="page" href="/about">About</a>
|
15
|
+
</li>
|
16
|
+
<li class="nav-item px-3">
|
17
|
+
<a class="nav-link text-white active" aria-current="page" href="/contact">Contact</a>
|
18
|
+
</li>
|
19
|
+
</ul>
|
20
|
+
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</nav>
|
data/_layouts/about.html
ADDED
data/_layouts/home.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
<title>{{page.title}}</title>
|
8
|
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
|
9
|
+
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
{%- include navbar.html -%}
|
14
|
+
<div class="content d-flex align-items-center justify-content-center" style="height: 50vh">
|
15
|
+
{{content}}
|
16
|
+
</div>
|
17
|
+
{%- include footer.html -%}
|
18
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
|
19
|
+
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
|
20
|
+
crossorigin="anonymous"></script>
|
21
|
+
</body>
|
22
|
+
|
23
|
+
</html>
|
metadata
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: basic-jekyll-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.1'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- manpreet-singh
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.9'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- ms4110415@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- README.md
|
63
|
+
- _includes/footer.html
|
64
|
+
- _includes/navbar.html
|
65
|
+
- _layouts/about.html
|
66
|
+
- _layouts/contact.html
|
67
|
+
- _layouts/home.html
|
68
|
+
homepage: https://github.com/manpreets99/jekyll-theme
|
69
|
+
licenses:
|
70
|
+
- MIT
|
71
|
+
metadata: {}
|
72
|
+
post_install_message:
|
73
|
+
rdoc_options: []
|
74
|
+
require_paths:
|
75
|
+
- lib
|
76
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
requirements: []
|
87
|
+
rubygems_version: 3.3.7
|
88
|
+
signing_key:
|
89
|
+
specification_version: 4
|
90
|
+
summary: Basic Jekyll theme for any type of websites.
|
91
|
+
test_files: []
|