You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _projects/1_project.markdown
+43-22Lines changed: 43 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,9 @@ img: /assets/img/12.jpg
6
6
importance: 1
7
7
---
8
8
9
-
Every project has a beautiful feature shocase page. It's easy to include images, in a flexible 3-column grid format. Make your photos 1/3, 2/3, or full width.
9
+
Every project has a beautiful feature showcase page.
10
+
It's easy to include images in a flexible 3-column grid format.
11
+
Make your photos 1/3, 2/3, or full width.
10
12
11
13
To give your project a background in the portfolio page, just add the img tag to the front matter like so:
12
14
@@ -17,40 +19,59 @@ To give your project a background in the portfolio page, just add the img tag to
17
19
img: /assets/img/12.jpg
18
20
---
19
21
20
-
21
-
<divclass="img_row">
22
-
<img class="col one left" src="{{ site.baseurl }}/assets/img/1.jpg" alt="" title="example image"/>
23
-
<img class="col one left" src="{{ site.baseurl }}/assets/img/2.jpg" alt="" title="example image"/>
24
-
<img class="col one left" src="{{ site.baseurl }}/assets/img/3.jpg" alt="" title="example image"/>
Caption photos easily. On the left, a road goes through a tunnel. Middle, leaves artistically fall in a hipster photoshoot. Right, in another hipster photoshoot, a lumberjack grasps a handful of pine needles.
28
35
</div>
29
-
<divclass="img_row">
30
-
<img class="col three left" src="{{ site.baseurl }}/assets/img/5.jpg" alt="" title="example image"/>
This image can also have a caption. It's like magic.
34
43
</div>
35
44
36
-
You can also put regular text between your rows of images. Say you wanted to write a little bit about your project before you posted the rest of the images. You describe how you toiled, sweated, *bled* for your project, and then.... you reveal it's glory in the next row of images.
45
+
You can also put regular text between your rows of images.
46
+
Say you wanted to write a little bit about your project before you posted the rest of the images.
47
+
You describe how you toiled, sweated, *bled* for your project, and then... you reveal it's glory in the next row of images.
37
48
38
49
39
-
<divclass="img_row">
40
-
<img class="col two left" src="{{ site.baseurl }}/assets/img/6.jpg" alt="" title="example image"/>
41
-
<img class="col one left" src="{{ site.baseurl }}/assets/img/11.jpg" alt="" title="example image"/>
You can also have artistically styled 2/3 + 1/3 images, like these.
45
60
</div>
46
61
47
62
48
-
<br/><br/>
49
-
50
-
51
-
The code is simple. Just add a col class to your image, and another class specifying the width: one, two, or three columns wide. Here's the code for the last row of images above:
63
+
The code is simple.
64
+
Just wrap your images with `<div class="col-sm">` and place them inside `<div class="row">` (read more about the <ahref="https://getbootstrap.com/docs/4.4/layout/grid/"target="_blank">Bootstrap Grid</a> system).
65
+
To make images responsive, add `img-fluid` class to each; for rounded corners and shadows use `rounded` and `z-depth-1` classes.
Copy file name to clipboardExpand all lines: _projects/2_project.markdown
+44-23Lines changed: 44 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,13 @@
2
2
layout: page
3
3
title: Project 2
4
4
description: a project with a background image
5
-
img: /assets/img/2.jpg
5
+
img: /assets/img/3.jpg
6
6
importance: 2
7
7
---
8
8
9
-
Every project has a beautiful feature shocase page. It's easy to include images, in a flexible 3-column grid format. Make your photos 1/3, 2/3, or full width.
9
+
Every project has a beautiful feature showcase page.
10
+
It's easy to include images in a flexible 3-column grid format.
11
+
Make your photos 1/3, 2/3, or full width.
10
12
11
13
To give your project a background in the portfolio page, just add the img tag to the front matter like so:
12
14
@@ -17,40 +19,59 @@ To give your project a background in the portfolio page, just add the img tag to
17
19
img: /assets/img/12.jpg
18
20
---
19
21
20
-
21
-
<divclass="img_row">
22
-
<img class="col one left" src="{{ site.baseurl }}/assets/img/1.jpg" alt="" title="example image"/>
23
-
<img class="col one left" src="{{ site.baseurl }}/assets/img/2.jpg" alt="" title="example image"/>
24
-
<img class="col one left" src="{{ site.baseurl }}/assets/img/3.jpg" alt="" title="example image"/>
Caption photos easily. On the left, a road goes through a tunnel. Middle, leaves artistically fall in a hipster photoshoot. Right, in another hipster photoshoot, a lumberjack grasps a handful of pine needles.
28
35
</div>
29
-
<divclass="img_row">
30
-
<img class="col three left" src="{{ site.baseurl }}/assets/img/5.jpg" alt="" title="example image"/>
This image can also have a caption. It's like magic.
34
43
</div>
35
44
36
-
You can also put regular text between your rows of images. Say you wanted to write a little bit about your project before you posted the rest of the images. You describe how you toiled, sweated, *bled* for your project, and then.... you reveal it's glory in the next row of images.
45
+
You can also put regular text between your rows of images.
46
+
Say you wanted to write a little bit about your project before you posted the rest of the images.
47
+
You describe how you toiled, sweated, *bled* for your project, and then... you reveal it's glory in the next row of images.
37
48
38
49
39
-
<divclass="img_row">
40
-
<img class="col two left" src="{{ site.baseurl }}/assets/img/6.jpg" alt="" title="example image"/>
41
-
<img class="col one left" src="{{ site.baseurl }}/assets/img/11.jpg" alt="" title="example image"/>
You can also have artistically styled 2/3 + 1/3 images, like these.
45
60
</div>
46
61
47
62
48
-
<br/><br/>
49
-
50
-
51
-
The code is simple. Just add a col class to your image, and another class specifying the width: one, two, or three columns wide. Here's the code for the last row of images above:
63
+
The code is simple.
64
+
Just wrap your images with `<div class="col-sm">` and place them inside `<div class="row">` (read more about the <ahref="https://getbootstrap.com/docs/4.4/layout/grid/"target="_blank">Bootstrap Grid</a> system).
65
+
To make images responsive, add `img-fluid` class to each; for rounded corners and shadows use `rounded` and `z-depth-1` classes.
0 commit comments