Skip to content

Commit ac5f167

Browse files
committed
init commit
0 parents  commit ac5f167

File tree

147 files changed

+14191
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+14191
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.sass-cache
3+
node_modules
4+
Gemfile.lock
5+
*.gem

Gemfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", ">= 3.8.5"
4+
5+
group :jekyll_plugins do
6+
gem "jekyll-feed", "~> 0.6"
7+
gem "jekyll-paginate", "~> 1.1.0"
8+
gem "jekyll-sitemap"
9+
end
10+
11+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
12+
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
13+
14+
# Performance-booster for watching directories on Windows
15+
gem "wdm", "~> 0.1.0" if Gem.win_platform?

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013-2021 Start Bootstrap LLC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
# [Start Bootstrap - Clean Blog Jekyll](https://startbootstrap.com/themes/clean-blog-jekyll/) - Official Jekyll Version
2+
3+
[Clean Blog Jekyll](https://startbootstrap.com/themes/clean-blog-jekyll/) is a stylish, responsive blog theme for [Bootstrap](https://getbootstrap.com/) created by [Start Bootstrap](https://startbootstrap.com/). This theme features a blog homepage, about page, contact page, and an example post page along with a working contact form powered by [Formspree](https://formspree.io/).
4+
5+
This repository holds the official Jekyll version of the Clean Blog theme on Start Bootstrap!
6+
7+
## Preview
8+
9+
[![Clean Blog (Jekyll) Preview](https://startbootstrap.com/assets/img/screenshots/themes/clean-blog-jekyll.png)](http://StartBootstrap.github.io/startbootstrap-clean-blog-jekyll/)
10+
11+
**[View Live Preview](http://StartBootstrap.github.io/startbootstrap-clean-blog-jekyll/)**
12+
13+
## Installation & Setup
14+
15+
### Using RubyGems
16+
17+
When installing the theme using RubyGems, demo images, posts, and pages are not included. Follow the instructions below for complete setup.
18+
19+
1. (Optional) Create a new Jekyll site: `jekyll new my-site`
20+
2. Replace the current theme in your `Gemfile` with `gem "jekyll-theme-clean-blog"`.
21+
3. Install the theme (run the command inside your site directory): `bundle install`
22+
4. Replace the current theme in your `_config.yml` file with `theme: jekyll-theme-clean-blog`.
23+
5. Build your site: `bundle exec jekyll serve`
24+
25+
Assuming there are no errors and the site is building properly, follow these steps next:
26+
27+
1. Create the following pages if they do not exist already (or change the extension of existing markdown files from `.md` to `.html`):
28+
29+
* `index.html` - set to `layout: home`
30+
* `about.html` - set to `layout: page`
31+
* `contact.html` - set to `layout: page`
32+
* `posts/index.html` - set to `layout: page` (you will also need to create a `posts` directory)
33+
34+
2. Configure the `index.html` front matter. Example:
35+
36+
```markdown
37+
---
38+
layout: home
39+
background: '/PATH_TO_IMAGE'
40+
---
41+
```
42+
43+
3. Configure the `about.html`, `contact.html`, and `posts/index.html` front matter. Example:
44+
45+
```markdown
46+
---
47+
layout: page
48+
title: Page Title
49+
description: This is the page description.
50+
background: '/PATH_TO_IMAGE'
51+
---
52+
```
53+
54+
4. For each post in the `_posts` directory, update the front matter. Example:
55+
56+
```markdown
57+
---
58+
layout: post
59+
title: "Post Title"
60+
subtitle: "This is the post subtitle."
61+
date: YYYY-MM-DD HH:MM:SS
62+
background: '/PATH_TO_IMAGE'
63+
---
64+
```
65+
66+
For reference, look at the [demo repository](https://github.com/StartBootstrap/startbootstrap-clean-blog-jekyll) to see how the files are set up.
67+
68+
5. Add the form to the `contact.html` page. Add the following code to your `contact.html` page:
69+
70+
```html
71+
<form name="sentMessage" id="contactForm" novalidate>
72+
<div class="control-group">
73+
<div class="form-group floating-label-form-group controls">
74+
<label>Name</label>
75+
<input type="text" class="form-control" placeholder="Name" id="name" required data-validation-required-message="Please enter your name.">
76+
<p class="help-block text-danger"></p>
77+
</div>
78+
</div>
79+
<div class="control-group">
80+
<div class="form-group floating-label-form-group controls">
81+
<label>Email Address</label>
82+
<input type="email" class="form-control" placeholder="Email Address" id="email" required data-validation-required-message="Please enter your email address.">
83+
<p class="help-block text-danger"></p>
84+
</div>
85+
</div>
86+
<div class="control-group">
87+
<div class="form-group col-xs-12 floating-label-form-group controls">
88+
<label>Phone Number</label>
89+
<input type="tel" class="form-control" placeholder="Phone Number" id="phone" required data-validation-required-message="Please enter your phone number.">
90+
<p class="help-block text-danger"></p>
91+
</div>
92+
</div>
93+
<div class="control-group">
94+
<div class="form-group floating-label-form-group controls">
95+
<label>Message</label>
96+
<textarea rows="5" class="form-control" placeholder="Message" id="message" required data-validation-required-message="Please enter a message."></textarea>
97+
<p class="help-block text-danger"></p>
98+
</div>
99+
</div>
100+
<br>
101+
<div id="success"></div>
102+
<div class="form-group">
103+
<button type="submit" class="btn btn-primary" id="sendMessageButton">Send</button>
104+
</div>
105+
</form>
106+
```
107+
108+
Make sure you have the `email` setting in your `_config.yml` file set to a working email address! Once this is set, fill out the form and then check your email, verify the email address using the link sent to you by Formspree, and then the form will be working!
109+
110+
6. Build your site: `bundle exec jekyll serve`
111+
112+
### Using Core Files
113+
114+
When using the core files, the demo images, posts, and pages are all included with the download. After following the instructions below, you can then go and change the content of the pages and posts.
115+
116+
1. [Download](https://github.com/StartBootstrap/startbootstrap-clean-blog-jekyll/archive/master.zip) or Clone the repository.
117+
2. Update the following configuration settings in your `_config.yml` file:
118+
119+
* `baseurl`
120+
* `url`
121+
* `title`
122+
* `email` (after setting this setting to a working email address, fill out the form on the contact page and send it - then check your email and verify the address and the form will send you messages when used)
123+
* `description`
124+
* `author`
125+
* `twitter_username` (Optional)
126+
* `facebook_username` (Optional)
127+
* `github_username` (Optional)
128+
* `linkedin_username` (Optional)
129+
* `instagram_username` (Optional)
130+
131+
3. Build your site: `bundle exec jekyll serve`
132+
133+
## Bugs and Issues
134+
135+
Have a bug or an issue with this template? [Open a new issue](https://github.com/StartBootstrap/startbootstrap-clean-blog-jekyll/issues) here on GitHub!
136+
137+
## About
138+
139+
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
140+
141+
* <https://startbootstrap.com>
142+
* <https://twitter.com/SBootstrap>
143+
144+
Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**.
145+
146+
* <http://davidmiller.io>
147+
* <https://twitter.com/davidmillerhere>
148+
* <https://github.com/davidtmiller>
149+
150+
Start Bootstrap is based on the [Bootstrap](https://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat).
151+
152+
## Copyright and License
153+
154+
Copyright 2013-2021 Start Bootstrap LLC. Code released under the [MIT](https://github.com/StartBootstrap/startbootstrap-clean-blog-jekyll/blob/master/LICENSE) license.

_config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
title: HILA
2+
3+
description: A suite of Lattice Quantum Field Theory simulations
4+
author:
5+
baseurl: "/insHILA-home.github.io"
6+
url: "https://insHILA-home.github.io"
7+
8+
# Social Profiles
9+
twitter_username: SBootstrap
10+
github_username: StartBootstrap
11+
facebook_username: StartBootstrap
12+
instagram_username:
13+
linkedin_username:
14+
15+
# Add your google-analytics ID here to activate google analytics
16+
# google_analytics: UA-XXXXXXXXX-X # out your google-analytics code
17+
18+
# Build settings
19+
markdown: kramdown
20+
paginate: 5
21+
paginate_path: "/posts/page:num/"
22+
plugins:
23+
- jekyll-feed
24+
- jekyll-paginate
25+
- jekyll-sitemap ## Uncomment this line to silently generate a sitemaps.org compliant sitemap for your Jekyll site

_includes/footer.html

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<!-- Footer -->
2+
3+
<hr>
4+
5+
<footer>
6+
<div class="container">
7+
<div class="row">
8+
<div class="col-lg-8 col-md-10 mx-auto">
9+
<ul class="list-inline text-center">
10+
{% if site.email %}
11+
<li class="list-inline-item">
12+
<a href="mailto:{{ site.email | encode_email }}">
13+
<span class="fa-stack fa-lg">
14+
<i class="fas fa-circle fa-stack-2x"></i>
15+
<i class="far fa-envelope fa-stack-1x fa-inverse"></i>
16+
</span>
17+
</a>
18+
</li>
19+
{% endif %}
20+
{% if site.twitter_username %}
21+
<li class="list-inline-item">
22+
<a href="https://twitter.com/{{ site.twitter_username }}">
23+
<span class="fa-stack fa-lg">
24+
<i class="fas fa-circle fa-stack-2x"></i>
25+
<i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
26+
</span>
27+
</a>
28+
</li>
29+
{% endif %}
30+
{% if site.facebook_username %}
31+
<li class="list-inline-item">
32+
<a href="https://www.facebook.com/{{ site.facebook_username }}">
33+
<span class="fa-stack fa-lg">
34+
<i class="fas fa-circle fa-stack-2x"></i>
35+
<i class="fab fa-facebook-f fa-stack-1x fa-inverse"></i>
36+
</span>
37+
</a>
38+
</li>
39+
{% endif %}
40+
{% if site.linkedin_username %}
41+
<li class="list-inline-item">
42+
<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
43+
<span class="fa-stack fa-lg">
44+
<i class="fas fa-circle fa-stack-2x"></i>
45+
<i class="fab fa-linkedin fa-stack-1x fa-inverse"></i>
46+
</span>
47+
</a>
48+
</li>
49+
{% endif %}
50+
{% if site.github_username %}
51+
<li class="list-inline-item">
52+
<a href="https://github.com/{{ site.github_username }}">
53+
<span class="fa-stack fa-lg">
54+
<i class="fas fa-circle fa-stack-2x"></i>
55+
<i class="fab fa-github fa-stack-1x fa-inverse"></i>
56+
</span>
57+
</a>
58+
</li>
59+
{% endif %}
60+
{% if site.instagram_username %}
61+
<li class="list-inline-item">
62+
<a href="https://instagram.com/{{ site.instagram_username }}">
63+
<span class="fa-stack fa-lg">
64+
<i class="fas fa-circle fa-stack-2x"></i>
65+
<i class="fab fa-instagram fa-stack-1x fa-inverse"></i>
66+
</span>
67+
</a>
68+
</li>
69+
{% endif %}
70+
</ul>
71+
<p class="copyright text-muted">Copyright &copy; {{ site.author }} {{ 'now' | date: "%Y" }}</p>
72+
</div>
73+
</div>
74+
</div>
75+
</footer>

_includes/google-analytics.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!-- Global site tag (gtag.js) - Google Analytics -->
2+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
3+
<script>
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
8+
gtag('config', '{{ site.google_analytics }}');
9+
</script>
10+

_includes/head.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<head>
2+
3+
<meta charset="utf-8">
4+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
5+
6+
<title>
7+
{% if page.title %}{{ page.title | escape }} - {{ site.title | escape }}
8+
{% else %}{{ site.title | escape }}{% endif %}
9+
</title>
10+
11+
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
12+
13+
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
14+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
15+
16+
<script src="https://use.fontawesome.com/releases/v5.15.3/js/all.js" crossorigin="anonymous"></script>
17+
18+
<link rel="stylesheet" href="{{"/assets/main.css" | relative_url }}">
19+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
20+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
21+
22+
</head>

_includes/navbar.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!-- Navigation -->
2+
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
3+
<div class="container">
4+
<a class="navbar-brand" href="{{"/" | relative_url }}">{{ site.title | escape }}</a>
5+
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
6+
Menu
7+
<i class="fa fa-bars"></i>
8+
</button>
9+
<div class="collapse navbar-collapse" id="navbarResponsive">
10+
<ul class="navbar-nav ml-auto">
11+
<li class="nav-item">
12+
<a class="nav-link" href="{{"/" | relative_url }}">Home</a>
13+
</li>
14+
<li class="nav-item">
15+
<a class="nav-link" href="{{"/about" | relative_url }}">About</a>
16+
</li>
17+
<li class="nav-item">
18+
<a class="nav-link" href="{{ "/posts" | relative_url }}">Posts</a>
19+
</li>
20+
<li class="nav-item">
21+
<a class="nav-link" href="{{"/contact" | relative_url }}">Contact</a>
22+
</li>
23+
</ul>
24+
</div>
25+
</div>
26+
</nav>

_includes/read_time.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<span class="reading-time" title="Estimated read time">
2+
{% assign words = include.content | number_of_words %}
3+
{% if words < 270 %} 1 min {% else %} {{ words | divided_by:135 }} mins {% endif %} read </span>

0 commit comments

Comments
 (0)