Skip to content

Commit 7d7707e

Browse files
committed
Initial Commit
0 parents  commit 7d7707e

28 files changed

+9369
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
_site
2+
.sass-cache

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Jekyll-KickStart:
2+
-------------------------
3+
This project is very similar to the jekyll-bootstrap project, but takes a much
4+
more minimalist approach to simply provide the scaffolding of a new Jekyll
5+
website using Bootstrap CSS framework. It is intended to be a starter project
6+
where you then edit the _config.yml and then add new content and layouts.
7+
8+
I created this project because it is apparent that if you wish to use Jekyll +
9+
Bootstrap, there is currently only a single project which aims to provide this
10+
integration. However, this project is really heavy and more confusing than it
11+
needs to be if you simply want to start with a clean jekyll project with
12+
Bootstrap integration.

_config.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Site settings
2+
title: Your awesome title
3+
brand: MY BLOG
4+
5+
description: > # this means to ignore newlines until "baseurl:"
6+
Write an awesome description for your new site here. You can edit this
7+
line in _config.yml. It will appear in your document head meta (for
8+
Google search results) and in your feed.xml site description.
9+
baseurl: "" # the subpath of your site, e.g. /blog/
10+
url: "https://www.google.com"
11+
copyright: © My Company 2013
12+
13+
# Build settings
14+
markdown: kramdown
15+
16+
navigation:
17+
left:
18+
links:
19+
- title: About
20+
href: /about/
21+
- title: Link 2
22+
href: #
23+
- title: Dropdown
24+
dropdown:
25+
- title: SubMenu 1
26+
href: #
27+
- title: SubMenu 2
28+
href: #
29+
- title: SubMenu 3
30+
href: #
31+
right:
32+
content: nav/right.html
33+
34+
footer:
35+
sections:
36+
- title: Useful Links 1
37+
links:
38+
- href: https://www.google.com
39+
title: Google.com
40+
- href: https://www.yahoo.com
41+
title: Yahoo.com
42+
- href: https://www.msn.com
43+
title: MSN
44+
- title: Useful Links 2
45+
links:
46+
- href: https://www.google.com
47+
title: Google.com
48+
- href: https://www.yahoo.com
49+
title: Yahoo.com
50+
- href: https://www.msn.com
51+
title: MSN
52+
- title: Useful Links 3
53+
links:
54+
- href: https://www.google.com
55+
title: Google.com
56+
- href: https://www.yahoo.com
57+
title: Yahoo.com
58+
- href: https://www.msn.com
59+
title: MSN
60+
company_info:
61+
title: Our office
62+
name: Company Name
63+
website: http://companysite.com
64+
phone: 555-123-4567
65+
address:
66+
street: 123 Main St.
67+
city: Dallas
68+
state: TX
69+
zip: 75001

_includes/footer.html

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<hr>
2+
<footer>
3+
<div class="container">
4+
<div class="row">
5+
{% for section in site.footer.sections %}
6+
<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
7+
<h4 class="line3 center standart-h4title"><span>{{ section.title }}</span></h4>
8+
{% if section.content %}
9+
{% include {{ section.content }} %}
10+
{% endif %}
11+
{% if section.links %}
12+
<ul class="footer-links">
13+
{% for link in section.links %}
14+
<li><a href="{{ link.href }}">{{ link.title }}</a></li>
15+
{% endfor %}
16+
</ul>
17+
{% endif %}
18+
</div>
19+
{% endfor %}
20+
{% if site.footer.company_info %}
21+
<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
22+
{% if site.footer.company_info.title %}
23+
<h4 class="center">
24+
<span>{{ site.footer.company_info.title }}</span>
25+
</h4>
26+
{% endif %}
27+
<address>
28+
<strong>
29+
{% if site.footer.company_info.website %}<a href="{{ site.footer.company_info.website }}">{% endif %}
30+
{{ site.footer.company_info.name }}
31+
{% if site.footer.company_info.website %}</a>{% endif %}
32+
</strong><br>
33+
{% if site.footer.company_info.address %}
34+
<i class="fa-icon-map-marker"></i> {{ site.footer.company_info.address.street }}<br>
35+
{{ site.footer.company_info.address.city }}, {{ site.footer.company_info.address.state }} {{ site.footer.company_info.address.zip }}<br>
36+
{% endif %}
37+
{% if site.footer.company_info.phone %}
38+
<i class="fa-icon-phone-sign"></i> {{ site.footer.company_info.phone }}
39+
{% endif %}
40+
</address>
41+
</div>
42+
{% endif %}
43+
</div>
44+
</div>
45+
{% if site.copyright %}
46+
<hr>
47+
<div class="container">
48+
<p>{{ site.copyright }}</p>
49+
</div>
50+
{% endif %}
51+
</footer>
52+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
53+
<script src="{{ "/js/app.js" | prepend: site.baseurl }}"></script>
54+
<script src="{{ "/assets/bootstrap/js/bootstrap.min.js" | prepend: site.baseurl }}"></script>

_includes/head.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
6+
<meta name="description" content="{{ site.description }}">
7+
<link rel="stylesheet" href="{{ "/assets/bootstrap/css/bootstrap.min.css" | prepend: site.baseurl }}">
8+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
9+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
10+
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
11+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
12+
<!--[if lt IE 9]>
13+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
14+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
15+
<![endif]-->
16+
</head>

_includes/header.html

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<header>
2+
<div class="jumbotron">
3+
<div class="container">
4+
<div class="row">
5+
{% if page.header %}
6+
{% include {{ page.header }} %}
7+
{% else %}
8+
<div class="col-sm-12 col-lg-12">
9+
<h1>{{ page.title }}</h1>
10+
</div>
11+
{% endif %}
12+
</div>
13+
</div>
14+
</div>
15+
{% if page.breadcrumb %}
16+
<div class="container">
17+
<div class="row">
18+
<div class="col-sm-12 col-lg-12">
19+
<ol class="breadcrumb">
20+
{% for link in page.breadcrumb %}
21+
<li{% if page.url == link.href %} class="active"{% endif %}><a href="{{ link.href }}">{{ link.title }}</a></li>
22+
{% endfor %}
23+
</ol>
24+
</div>
25+
</div>
26+
</div>
27+
{% endif %}
28+
</header>
29+
</header>

_includes/header/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<h1>Hello, world!</h1>
2+
<p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
3+
<p><a href="/about/" class="btn btn-primary btn-lg" role="button">Learn more »</a></p>

_includes/nav/right.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<form class="navbar-form navbar-right visible-lg" role="search">
2+
<div class="form-group">
3+
<input type="text" class="form-control" placeholder="Search">
4+
</div>
5+
<button type="submit" class="btn btn-primary">Submit</button>
6+
</form>

_includes/navbar.html

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
2+
<div class="container">
3+
<!-- Brand and toggle get grouped for better mobile display -->
4+
<div class="navbar-header">
5+
{% if site.navigation.left.links %}
6+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
7+
<span class="sr-only">Toggle navigation</span>
8+
{% for link in site.navigation.left.links %}
9+
<span class="icon-bar"></span>
10+
{% endfor %}
11+
</button>
12+
{% endif %}
13+
<a class="navbar-brand" href="{{ site.url }}">{{ site.brand }}</a>
14+
</div>
15+
16+
<!-- Collect the nav links, forms, and other content for toggling -->
17+
<div class="collapse navbar-collapse navbar-ex1-collapse">
18+
{% if site.navigation.left %}
19+
{% if site.navigation.left.content %}
20+
{% include {{ site.navigation.left.content }} %}
21+
{% endif %}
22+
{% if site.navigation.left.links %}
23+
<ul class="nav navbar-nav">
24+
{% for link in site.navigation.left.links %}
25+
{% if link.dropdown %}
26+
<li class="dropdown">
27+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ link.title }} <b class="caret"></b></a>
28+
<ul class="dropdown-menu">
29+
{% for submenu in link.dropdown %}
30+
<li><a href="{{ submenu.href }}">{{ submenu.title }}</a></li>
31+
{% endfor %}
32+
</ul>
33+
</li>
34+
{% else %}
35+
<li><a href="{{ link.href }}">{{ link.title }}</a></li>
36+
{% endif %}
37+
{% endfor %}
38+
</ul>
39+
{% endif %}
40+
{% endif %}
41+
{% if site.navigation.right %}
42+
{% if site.navigation.right.content %}
43+
{% include {{ site.navigation.right.content }} %}
44+
{% endif %}
45+
{% if site.navigation.right.links %}
46+
<ul class="nav navbar-nav navbar-right">
47+
{% for link in site.navigation.right.links %}
48+
{% if link.dropdown %}
49+
<li class="dropdown">
50+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ link.title }} <b class="caret"></b></a>
51+
<ul class="dropdown-menu">
52+
{% for submenu in link.dropdown %}
53+
<li><a href="{{ submenu.href }}">{{ submenu.title }}</a></li>
54+
{% endfor %}
55+
</ul>
56+
</li>
57+
{% else %}
58+
<li><a href="{{ link.href }}">{{ link.title }}</a></li>
59+
{% endif %}
60+
{% endfor %}
61+
</ul>
62+
{% endif %}
63+
{% endif %}
64+
</div>
65+
</div>
66+
</nav>

_layouts/default.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
{% include head.html %}
4+
<body>
5+
{% include navbar.html %}
6+
{% include header.html %}
7+
<div class="container">
8+
<div class="row">
9+
{% if page.date %}
10+
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
11+
{% endif %}
12+
{{ content }}
13+
</div>
14+
</div>
15+
{% include footer.html %}
16+
</body>
17+
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
title: "Welcome to Jekyll!"
4+
date: 2014-09-21 21:51:14
5+
categories: jekyll update
6+
---
7+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve --watch`, which launches a web server and auto-regenerates your site when a file is updated.
8+
9+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
10+
11+
Jekyll also offers powerful support for code snippets:
12+
13+
{% highlight ruby %}
14+
def print_hi(name)
15+
puts "Hi, #{name}"
16+
end
17+
print_hi('Tom')
18+
#=> prints 'Hi, Tom' to STDOUT.
19+
{% endhighlight %}
20+
21+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
22+
23+
[jekyll]: http://jekyllrb.com
24+
[jekyll-gh]: https://github.com/jekyll/jekyll
25+
[jekyll-help]: https://github.com/jekyll/jekyll-help

about.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
title: About
4+
permalink: /about/
5+
---
6+
7+
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
8+
9+
You can find the source code for the Jekyll new theme at: [github.com/jglovier/jekyll-new](https://github.com/jglovier/jekyll-new)
10+
11+
You can find the source code for Jekyll at [github.com/jekyll/jekyll](https://github.com/jekyll/jekyll)

0 commit comments

Comments
 (0)