Skip to content

Commit c3774b3

Browse files
committed
added new template 'Monolite' for documentation using albogdano/handlebars-helper-mdpartial and albogdano/assemble-partial-data
1 parent 96a7a18 commit c3774b3

18 files changed

+848
-18
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ _gh_pages
2323
_gh-pages
2424
dist
2525
*.sublime-*
26-
nbproject
26+
nbproject
27+
validation-status.json

Gruntfile.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,21 @@ module.exports = function(grunt) {
3838
flatten: true,
3939
layouts: "<%= site.layouts %>",
4040
layout: "<%= site.layout %>",
41-
plugins: ["<%= site.plugins %>/*.js"],
42-
helpers: ["<%= site.helpers %>/*.js"],
41+
plugins: ["assemble-partial-data", "<%= site.plugins %>/*.js"],
42+
helpers: ["handlebars-helper-mdpartial", "<%= site.helpers %>/*.js"],
4343
partials: ["<%= site.partials %>/*.{html,md}", templateDir + "/partials/*.{html,md}"],
4444
template: "<%= site.template %>",
4545
templateDir: templateDir,
46+
marked: {
47+
breaks: true,
48+
gfm: true,
49+
highlight: function (code) {
50+
return require("highlight.js").highlightAuto(code).value;
51+
},
52+
pedantic: true,
53+
sanitize: false,
54+
silent: false
55+
},
4656
// Metadata
4757
pkg: "<%= pkg %>",
4858
site: "<%= site %>"

package.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bootup",
33
"description": "Website template with integrated Bootstrap, Assemble, HTML5 boilerplate and Bootswatch themes.",
4-
"version": "0.2.0",
4+
"version": "0.3.0",
55
"homepage": "https://github.com/albogdano/bootup",
66
"author": {
77
"name": "Alex Bogdanovski",
@@ -40,7 +40,8 @@
4040
"marked": "^0.3.2",
4141
"minimatch": "^0.2.14",
4242
"handlebars-helper-mdpartial": "*",
43-
"assemble-partial-data": "*"
43+
"assemble-partial-data": "*",
44+
"highlight.js": "^8.0.0"
4445
},
4546
"keywords": [
4647
"assemble",
@@ -51,8 +52,6 @@
5152
"bootstrap",
5253
"bootstrap boilerplate",
5354
"bootup",
54-
"bootswatch",
55-
"handlebars-helper-mdpartial",
56-
"assemble-partial-data"
55+
"bootswatch"
5756
]
5857
}

src/grayscale/index.html

+9-10
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ <h2>About Grayscale</h2>
3434
<div class="download-section">
3535
<div class="container">
3636
<div class="col-lg-8 col-lg-offset-2">
37-
<h2>Download Grayscale</h2>
38-
<p>You can download Grayscale for free on the download page at Start Bootstrap. You can also get the source code directly from GitHub if you prefer. Additionally, Grayscale is the first Start Bootstrap theme to come with a LESS file for easy color customization!</p>
39-
<a href="http://startbootstrap.com/grayscale" class="btn btn-default btn-lg">Visit Download Page</a>
37+
<h2>Download Bootup</h2>
38+
<p>You can download Bootup for free from GitHub.</p>
39+
<a href="https://github.com/albogdano/bootup/archive/master.zip" class="btn btn-default btn-lg">Download ZIP</a>
40+
<a href="https://github.com/albogdano/bootup/archive/master.tar.gz" class="btn btn-default btn-lg">Download TAR.GZ</a>
4041
</div>
4142
</div>
4243
</div>
@@ -45,15 +46,13 @@ <h2>Download Grayscale</h2>
4546
<section id="contact" class="container content-section text-center">
4647
<div class="row">
4748
<div class="col-lg-8 col-lg-offset-2">
48-
<h2>Contact Start Bootstrap</h2>
49-
<p>Feel free to email us to provide some feedback on our templates, give us suggestions for new templates and themes, or to just say hello!</p>
50-
<p>feedback@startbootstrap.com</p>
49+
<h2>Contact the Author</h2>
50+
<p>Send your feedback and suggestions to:</p>
51+
<p>alex &commat; erudika.com</p>
5152
<ul class="list-inline banner-social-buttons">
52-
<li><a href="https://twitter.com/SBootstrap" class="btn btn-default btn-lg"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">Twitter</span></a>
53+
<li><a href="https://twitter.com/albogdano" class="btn btn-default btn-lg"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">Twitter</span></a>
5354
</li>
54-
<li><a href="https://github.com/IronSummitMedia/startbootstrap" class="btn btn-default btn-lg"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
55-
</li>
56-
<li><a href="https://plus.google.com/+Startbootstrap/posts" class="btn btn-default btn-lg"><i class="fa fa-google-plus fa-fw"></i> <span class="network-name">Google+</span></a>
55+
<li><a href="https://github.com/albogdano/bootup" class="btn btn-default btn-lg"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
5756
</li>
5857
</ul>
5958
</div>

0 commit comments

Comments
 (0)