jekyll-bootstrap-quickstart 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +52 -43
- data/assets/css/main.scss +15 -1
- metadata +1 -2
- data/_sass/jqs-styles.scss +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fe1aae21093d06b49b4c434099c4c51e3a88e7c3e5edd5d93e12d93036dd7cb
|
4
|
+
data.tar.gz: b08eca72da2e698b205af9cc7985fb2f90ee22c2ac790570cb3c4d8997b6d214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf4f2a3881a498e0dcb48378469d6ec442e29aaa2cd9d66ffb5cc2adfe3bd28b5c1e6ae2f962bcba0c549b853a5c93a01ab250eb1af54ad9b6f190a9eb1053f0
|
7
|
+
data.tar.gz: 33d22016da9858207d723d592e48722a02717ca2e03f71dd4dc43df404526007ba08a3cc422e549eac4c7169ddb50f13aed4f2cdef328d30a2b5f32d1194da18
|
data/README.md
CHANGED
@@ -18,91 +18,116 @@ theme: jekyll-bootstrap-quickstart
|
|
18
18
|
|
19
19
|
And then execute:
|
20
20
|
|
21
|
-
|
21
|
+
```shell
|
22
|
+
$ bundle
|
23
|
+
```
|
22
24
|
|
23
25
|
Or install it yourself as:
|
24
26
|
|
25
|
-
|
27
|
+
```shell
|
28
|
+
$ gem install jekyll-bootstrap-quickstart
|
29
|
+
```
|
26
30
|
|
27
31
|
## Usage
|
28
32
|
|
29
|
-
|
33
|
+
#### Layouts
|
30
34
|
- Default
|
35
|
+
- Home
|
36
|
+
- No CSS / JS (used for Error Page)
|
31
37
|
- Page
|
32
|
-
-
|
38
|
+
- Post
|
33
39
|
|
34
|
-
|
40
|
+
#### Includes
|
35
41
|
- Build Version
|
36
42
|
- Favicons
|
43
|
+
- Post Feed
|
37
44
|
- Google Analytics
|
38
45
|
- Head Tag (including CSS Imports)
|
39
|
-
-
|
46
|
+
- Header
|
47
|
+
- JS Imports
|
40
48
|
|
41
49
|
## Customization
|
42
50
|
|
43
|
-
|
51
|
+
#### Styling
|
44
52
|
|
45
53
|
Add custom styles by overriding the `assets/css/main.scss` file. Copy this import statement to include all the Bootstrap and Jekyll Quickstart CSS. To start with a clean slate just leave this out.
|
46
|
-
```
|
54
|
+
```scss
|
47
55
|
---
|
48
56
|
---
|
49
57
|
|
50
|
-
// Import custom styles from Sass
|
51
|
-
|
58
|
+
// Import custom styles and Bootstrap from Sass files
|
59
|
+
|
60
|
+
/*! Jekyll Quickstart CSS
|
61
|
+
*
|
62
|
+
*/
|
63
|
+
|
64
|
+
/* Show it is fixed to the top */
|
65
|
+
.fixed-header-body {
|
66
|
+
padding-top: 5rem;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Jekyll Minima Syntax Highlighting
|
70
|
+
@import "minima-syntax-highlighting";
|
71
|
+
|
72
|
+
// Import Bootstrap CSS
|
73
|
+
@import "lib/bootstrap/bootstrap";
|
52
74
|
|
53
75
|
```
|
54
76
|
|
55
|
-
|
77
|
+
#### Javascript
|
56
78
|
Add custom JS to `assets/js.main.js`
|
57
79
|
|
80
|
+
#### Favicons
|
81
|
+
Need to be at `assets/img/favicons/`
|
82
|
+
|
58
83
|
## Development
|
59
84
|
|
60
85
|
To set up your environment to develop this theme (Assumes macOS):
|
61
86
|
|
62
|
-
|
87
|
+
#### Clone Jekyll Quickstart Repo
|
63
88
|
[https://bitbucket.org/azaleahill/jekyll-quickstart/](https://bitbucket.org/azaleahill/jekyll-quickstart/)
|
64
89
|
|
65
|
-
|
90
|
+
#### Homebrew
|
66
91
|
Install Homebrew. [https://brew.sh/](https://brew.sh/)
|
67
|
-
```
|
92
|
+
```shell
|
68
93
|
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
69
94
|
```
|
70
95
|
|
71
|
-
|
96
|
+
#### Node, npm, and yarn
|
72
97
|
This project uses yarn as a package manger, and is also compatible with npm. [https://www.npmjs.com/](https://www.npmjs.com/) [https://yarnpkg.com/](https://yarnpkg.com/)
|
73
|
-
```
|
98
|
+
```shell
|
74
99
|
$ brew install node
|
75
100
|
$ brew install yarn
|
76
101
|
```
|
77
102
|
|
78
|
-
|
103
|
+
#### Ruby
|
79
104
|
Jekyll is built on Ruby. [https://www.ruby-lang.org/](https://www.ruby-lang.org/)
|
80
105
|
Install with Homebrew to ensure proper environment variables and permissions.
|
81
|
-
```
|
106
|
+
```shell
|
82
107
|
$ brew install ruby
|
83
108
|
```
|
84
109
|
|
85
|
-
|
110
|
+
#### Bundler
|
86
111
|
Bundler is a Ruby Gem / package dependency manager. [http://bundler.io/](http://bundler.io/)
|
87
|
-
```
|
112
|
+
```shell
|
88
113
|
$ gem install bundler
|
89
114
|
```
|
90
115
|
|
91
|
-
|
116
|
+
#### Jekyll
|
92
117
|
[https://jekyllrb.com/](https://jekyllrb.com/)
|
93
|
-
```
|
118
|
+
```shell
|
94
119
|
$ gem install jekyll
|
95
120
|
```
|
96
121
|
|
97
122
|
## Project Setup
|
98
123
|
Run install steps for yarn and Bundler
|
99
|
-
```
|
124
|
+
```shell
|
100
125
|
$ yarn install
|
101
126
|
```
|
102
127
|
|
103
128
|
## Run App Locally
|
104
129
|
See package.json for all available scripts. Run the app locally by executing the following:
|
105
|
-
```
|
130
|
+
```shell
|
106
131
|
$ yarn start
|
107
132
|
```
|
108
133
|
|
@@ -115,7 +140,7 @@ This will do the following:
|
|
115
140
|
|
116
141
|
## Build Instructions
|
117
142
|
See package.json for all available scripts. Build the app for various environments by executing the applicable npm script below:
|
118
|
-
```
|
143
|
+
```shell
|
119
144
|
$ yarn run build-local
|
120
145
|
$ yarn run build-stage
|
121
146
|
$ yarn run build-prod
|
@@ -123,32 +148,16 @@ $ yarn run build-prod
|
|
123
148
|
|
124
149
|
## Deployment
|
125
150
|
**Requires the s3cmd**
|
126
|
-
```
|
151
|
+
```shell
|
127
152
|
$ brew install s3cmd
|
128
153
|
```
|
129
154
|
|
130
155
|
See package.json for all available scripts. Deploy the app for various environments by executing the applicable npm script below.
|
131
156
|
See jekyll-ezdeploy README for more info
|
132
|
-
```
|
157
|
+
```shell
|
133
158
|
$ yarn run deploy
|
134
159
|
```
|
135
160
|
|
136
|
-
## Assumptions
|
137
|
-
|
138
|
-
### Site Variables
|
139
|
-
- title
|
140
|
-
- production
|
141
|
-
- env-name
|
142
|
-
- theme-color
|
143
|
-
- baseurl
|
144
|
-
- ga_tracking_id
|
145
|
-
- description
|
146
|
-
|
147
|
-
### Favicons
|
148
|
-
Need to be at `assets/img/favicons/`
|
149
|
-
|
150
|
-
|
151
|
-
|
152
161
|
## Contributing
|
153
162
|
|
154
163
|
Bug reports and pull requests are welcome on BitBucket at [https://bitbucket.org/azaleahill/jekyll-quickstart/](https://bitbucket.org/azaleahill/jekyll-quickstart/) 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/assets/css/main.scss
CHANGED
@@ -2,4 +2,18 @@
|
|
2
2
|
---
|
3
3
|
|
4
4
|
// Import custom styles and Bootstrap from Sass files
|
5
|
-
|
5
|
+
|
6
|
+
/*! Jekyll Quickstart CSS
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Show it is fixed to the top */
|
11
|
+
.fixed-header-body {
|
12
|
+
padding-top: 5rem;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Jekyll Minima Syntax Highlighting
|
16
|
+
@import "minima-syntax-highlighting";
|
17
|
+
|
18
|
+
// Import Bootstrap CSS
|
19
|
+
@import "lib/bootstrap/bootstrap";
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-bootstrap-quickstart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Azalea Hill, Inc.
|
@@ -103,7 +103,6 @@ files:
|
|
103
103
|
- _layouts/jqs-no-css-js.html
|
104
104
|
- _layouts/jqs-page.html
|
105
105
|
- _layouts/jqs-post.html
|
106
|
-
- _sass/jqs-styles.scss
|
107
106
|
- _sass/minima-syntax-highlighting.scss
|
108
107
|
- assets/css/bs-blog.css
|
109
108
|
- assets/css/main.scss
|
data/_sass/jqs-styles.scss
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
/*! Jekyll Quickstart CSS
|
2
|
-
*/
|
3
|
-
|
4
|
-
/* Show it is fixed to the top */
|
5
|
-
.fixed-header-body {
|
6
|
-
padding-top: 5rem;
|
7
|
-
}
|
8
|
-
|
9
|
-
// Import Bootstrap CSS
|
10
|
-
@import "../node_modules/bootstrap/scss/bootstrap.scss";
|
11
|
-
|
12
|
-
// Jekyll Minima Syntax Highlighting
|
13
|
-
@import "minima-syntax-highlighting";
|