Skip to content

Commit 8762a9d

Browse files
committed
Created partial for section-title block
1 parent 40f50d5 commit 8762a9d

12 files changed

+33
-76
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ A Demo website of the Beautiful Gardens static website generator boilerplate is
5757

5858
## Changelog ##
5959

60+
### 1.1.0 ###
61+
62+
* Created partial for section-title block
63+
6064
### 1.0.5 ###
6165

6266
* Added gulp copy of github readme for website

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "beautiful-gardens",
3-
"version": "1.0.5",
3+
"version": "1.1.0",
44
"description": "Static website generator boilerplate",
55
"main": "index.js",
66
"scripts": {

src/pages/about.html

+1-10
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,7 @@
22
layout: default
33
title: About
44
---
5-
<section class="section-title">
6-
<div class="container">
7-
<div class="row">
8-
<div class="col-md-12">
9-
<h1>About</h1>
10-
<hr>
11-
</div>
12-
</div>
13-
</div>
14-
</section>
5+
{{> sectiontitle}}
156

167
<div id="about-gardens">
178
<section class="section-header">

src/pages/gallery/gallery.html

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
---
22
layout: default
3-
title: Galleries
3+
title: Picture Galleries
44
---
5-
<section class="section-title">
6-
<div class="container">
7-
<div class="row">
8-
<div class="col-md-12">
9-
<h1>Picture Galleries</h1>
10-
<hr>
11-
</div>
12-
</div>
13-
</div>
14-
</section>
5+
{{> sectiontitle}}
156

167
<section class="gallery-index">
178
<div class="container">

src/pages/gallery/gallery1/gallery1.html

+2-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@
33
title: Balboa Park Picture Gallery
44
lightgallery: true
55
---
6-
<section class="section-title">
7-
<div class="container">
8-
<div class="row">
9-
<div class="col-md-12">
10-
<h1>Balboa Park Picture Gallery</h1>
11-
<hr>
12-
</div>
13-
</div>
14-
</div>
15-
</section>
6+
{{> sectiontitle}}
7+
168
<section>
179
<div class="container">
1810
<div class="garden-gallery">

src/pages/gallery/gallery2/gallery2.html

+2-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@
33
title: Cedar Valley Arboretum Picture Gallery
44
lightgallery: true
55
---
6-
<section class="section-title">
7-
<div class="container">
8-
<div class="row">
9-
<div class="col-md-12">
10-
<h1>Cedar Valley Arboretum Picture Gallery</h1>
11-
<hr>
12-
</div>
13-
</div>
14-
</div>
15-
</section>
6+
{{> sectiontitle}}
7+
168
<section>
179
<div class="container">
1810
<div class="garden-gallery">

src/pages/gallery/gallery3/gallery3.html

+2-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@
33
title: UC Irvine Campus Picture Gallery
44
lightgallery: true
55
---
6-
<section class="section-title">
7-
<div class="container">
8-
<div class="row">
9-
<div class="col-md-12">
10-
<h1>UC Irvine Campus Picture Gallery</h1>
11-
<hr>
12-
</div>
13-
</div>
14-
</div>
15-
</section>
6+
{{> sectiontitle}}
7+
168
<section>
179
<div class="container">
1810
<div class="garden-gallery">

src/pages/gallery/gallery4/gallery4.html

+2-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@
33
title: Desert Garden in Balboa Park Picture Gallery
44
lightgallery: true
55
---
6-
<section class="section-title">
7-
<div class="container">
8-
<div class="row">
9-
<div class="col-md-12">
10-
<h1>Desert Garden in Balboa Park Picture Gallery</h1>
11-
<hr>
12-
</div>
13-
</div>
14-
</div>
15-
</section>
6+
{{> sectiontitle}}
7+
168
<section>
179
<div class="container">
1810
<div class="garden-gallery">

src/pages/links.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
</div>
1717

1818
<div class="col-md-9 col-md-pull-3">
19-
<section class="section-title">
20-
<h1>Links</h1>
21-
<hr>
22-
</section>
19+
{{> sectiontitle2col}}
2320

2421
<div id="links-listings">
2522
<section class="section-header" id="GARDENS-INFO">

src/pages/plants.html

+2-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@
33
title: Plant list
44
tablesort: true
55
---
6-
<section class="section-title">
7-
<div class="container">
8-
<div class="row">
9-
<div class="col-md-12">
10-
<h1>Plant list</h1>
11-
<hr>
12-
</div>
13-
</div>
14-
</div>
15-
</section>
6+
{{> sectiontitle}}
7+
168
<section>
179
<div class="container">
1810
<p class="font-md-lg">This is just a small sample of the plants in the gardens featured on this site. The type is how I chose to categorize each plant. The table columns can be sorted by clicking on the header.</p>

src/partials/sectiontitle.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<section class="section-title">
2+
<div class="container">
3+
<div class="row">
4+
<div class="col-md-12">
5+
<h1>{{title}}</h1>
6+
<hr class="hidden-print">
7+
</div>
8+
</div>
9+
</div>
10+
</section>

src/partials/sectiontitle2col.html

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<section class="section-title">
2+
<h1>{{title}}</h1>
3+
<hr class="hidden-print">
4+
</section>

0 commit comments

Comments
 (0)