Skip to content

Commit 4066000

Browse files
authored
Add files via upload
0 parents  commit 4066000

Some content is hidden

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

71 files changed

+2668
-0
lines changed

404.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
slug: /404.html
3+
layout: default
4+
---
5+
6+
<div class="not-found-container">
7+
<h1 class="not-found-title">404</h1>
8+
9+
<p><strong>Page not found :(</strong></p>
10+
<p>The requested page could not be found.</p>
11+
</div>

Gemfile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
source "https://rubygems.org"
2+
3+
# When you want to use a different Jekyll version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
gem "jekyll", "~> 4.0.0"
8+
9+
# Plugins
10+
group :jekyll_plugins do
11+
gem "jekyll-feed", "~> 0.12"
12+
end
13+
14+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
15+
# and associated library.
16+
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
17+
gem "tzinfo", "~> 1.2"
18+
gem "tzinfo-data"
19+
end
20+
21+
# Performance-booster for watching directories on Windows
22+
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?

Gemfile.lock

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.7.0)
5+
public_suffix (>= 2.0.2, < 5.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.7)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
eventmachine (1.2.7-x64-mingw32)
13+
ffi (1.13.1)
14+
ffi (1.13.1-x64-mingw32)
15+
forwardable-extended (2.6.0)
16+
http_parser.rb (0.6.0)
17+
i18n (1.8.5)
18+
concurrent-ruby (~> 1.0)
19+
jekyll (4.0.1)
20+
addressable (~> 2.4)
21+
colorator (~> 1.0)
22+
em-websocket (~> 0.5)
23+
i18n (>= 0.9.5, < 2)
24+
jekyll-sass-converter (~> 2.0)
25+
jekyll-watch (~> 2.0)
26+
kramdown (~> 2.1)
27+
kramdown-parser-gfm (~> 1.0)
28+
liquid (~> 4.0)
29+
mercenary (~> 0.3.3)
30+
pathutil (~> 0.9)
31+
rouge (~> 3.0)
32+
safe_yaml (~> 1.0)
33+
terminal-table (~> 1.8)
34+
jekyll-feed (0.15.0)
35+
jekyll (>= 3.7, < 5.0)
36+
jekyll-sass-converter (2.1.0)
37+
sassc (> 2.0.1, < 3.0)
38+
jekyll-watch (2.2.1)
39+
listen (~> 3.0)
40+
kramdown (2.3.0)
41+
rexml
42+
kramdown-parser-gfm (1.1.0)
43+
kramdown (~> 2.0)
44+
liquid (4.0.3)
45+
listen (3.2.1)
46+
rb-fsevent (~> 0.10, >= 0.10.3)
47+
rb-inotify (~> 0.9, >= 0.9.10)
48+
mercenary (0.3.6)
49+
pathutil (0.16.2)
50+
forwardable-extended (~> 2.6)
51+
public_suffix (4.0.5)
52+
rb-fsevent (0.10.4)
53+
rb-inotify (0.10.1)
54+
ffi (~> 1.0)
55+
rexml (3.2.4)
56+
rouge (3.22.0)
57+
safe_yaml (1.0.5)
58+
sassc (2.4.0)
59+
ffi (~> 1.9)
60+
sassc (2.4.0-x64-mingw32)
61+
ffi (~> 1.9)
62+
terminal-table (1.8.0)
63+
unicode-display_width (~> 1.1, >= 1.1.1)
64+
thread_safe (0.3.6)
65+
tzinfo (1.2.7)
66+
thread_safe (~> 0.1)
67+
tzinfo-data (1.2020.1)
68+
tzinfo (>= 1.0.0)
69+
unicode-display_width (1.7.0)
70+
wdm (0.1.1)
71+
72+
PLATFORMS
73+
ruby
74+
x64-mingw32
75+
76+
DEPENDENCIES
77+
jekyll (~> 4.0.0)
78+
jekyll-feed (~> 0.12)
79+
tzinfo (~> 1.2)
80+
tzinfo-data
81+
wdm (~> 0.1.1)
82+
83+
BUNDLED WITH
84+
2.1.4

LICENSE.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ISC License
2+
3+
Copyright (c) 2019, Eliott Vincent
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

README.md

+132
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# bay
2+
3+
Bay is a simple theme for Jekyll. [[view live]](https://eliottvincent.github.io/bay)
4+
5+
Inspired by [dangrover.com](http://dangrover.com/). Current theme used at [eliottvincent.com](http://eliottvincent.com/).
6+
7+
![](/screenshot.png)
8+
9+
### Installation
10+
11+
Create a new Jekyll website:
12+
```
13+
jekyll new mysite
14+
```
15+
16+
Open `Gemfile` and replace the line:
17+
```
18+
gem "minima"
19+
```
20+
with:
21+
```
22+
gem "bay_jekyll_theme"
23+
```
24+
25+
Open `_config.yml` and replace the line:
26+
```
27+
theme: minima
28+
```
29+
with:
30+
```
31+
theme: bay_jekyll_theme
32+
```
33+
34+
Finally, install the dependencies:
35+
```
36+
bundle install
37+
```
38+
39+
and build the website!
40+
```
41+
jekyll serve
42+
```
43+
44+
45+
The website will look somewhat empty at first. That's normal. Follow the next instructions to complete the header and footer components, and the home and blog pages.
46+
47+
### Header
48+
Open the `_config.yml` file and add the following:
49+
```yml
50+
header:
51+
pages:
52+
- name: Home
53+
slug: / # <-- index.md
54+
- name: Blog # <-- blog.md
55+
- name: Whatever # <-- whatever.md
56+
```
57+
Re-run `jekyll serve` to see the header updated.
58+
59+
### Footer
60+
Open the `_config.yml` file and add the following:
61+
```yml
62+
footer:
63+
show_powered_by: true
64+
contact:
65+
- name: Email
66+
67+
link: mailto:[email protected]
68+
- name: WeChat
69+
value: YourWeChatUsername
70+
link: "#"
71+
follow:
72+
- name: Twitter
73+
link: http://twitter.com/YourTwitterUsername
74+
username: "@YourTwitterUsername"
75+
- name: Facebook
76+
link: http://facebook.com/YourFacebookUsername
77+
- name: LinkedIn
78+
link: http://linkedin.com/in/YourLinkedInUsername
79+
- name: GitHub
80+
link: http://github.com/YourGitHubUsername
81+
- name: Weibo
82+
link: http://weibo.com/u/YourWeiboUsername
83+
```
84+
Re-run `jekyll serve` to see the footer updated.
85+
86+
### Home page
87+
Create (or edit) the `index.markdown` file and add the following:
88+
```yml
89+
---
90+
layout: home
91+
profile_picture:
92+
src: /assets/img/profile-pic.jpg
93+
alt: website picture
94+
---
95+
96+
<p>
97+
Welcome to mysite!
98+
</p>
99+
```
100+
101+
### Blog page
102+
Create `blog.markdown` file and add the following:
103+
```yml
104+
---
105+
layout: blog
106+
title: Blog
107+
slug: /blog
108+
---
109+
110+
This is an example of a "Blog" page, displaying a list of posts.
111+
<br />
112+
```
113+
114+
115+
Your website is ready!
116+
117+
118+
### Development
119+
120+
#### Run development instance (with hot-reload)
121+
```sh
122+
bundle exec jekyll serve
123+
```
124+
125+
#### Build and publish the gem
126+
```sh
127+
gem build bay_jekyll_theme.gemspec
128+
```
129+
130+
```sh
131+
gem push bay_jekyll_theme-1.x.x.gem
132+
```

_config.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# For technical reasons, this file is *NOT* reloaded automatically when you use
2+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
3+
4+
title: Dr. Vipul Arora
5+
6+
baseurl: "/vipular" # the subpath of the site
7+
url: # the base hostname & protocol for the site
8+
og_image: /assets/img/profile-pic.jpg
9+
10+
11+
header:
12+
pages:
13+
- name: Home
14+
slug: /
15+
- name: Publications
16+
- name: Teaching
17+
- name: Resources
18+
19+
20+
footer:
21+
22+
contact:
23+
- name: Email
24+
25+
link: mailto:[email protected]
26+
27+
follow:
28+
29+
- name: GitHub
30+
link: http://github.com/vipular
31+
32+
33+
# Build settings
34+
markdown: kramdown
35+
sass:
36+
style: :compressed
37+
plugins:
38+
- jekyll-feed
39+
40+
# Excluded items
41+
exclude:
42+
- .sass-cache/
43+
- .jekyll-cache/
44+
- feed.xml
45+
- gemfiles/
46+
- Gemfile
47+
- Gemfile.lock
48+
- vendor/bundle/
49+
- vendor/cache/
50+
- vendor/gems/
51+
- vendor/ruby/
52+
53+
# Used for defeating caching
54+
version: 1

_includes/draft-banner.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<div class="draft-banner">
2+
<strong>
3+
&#x26D4;&nbsp;
4+
This is a draft of a post coming to
5+
<a href="{{ site.url }}">{{ site.url }}</a>. Please do not share yet.
6+
&nbsp;&#x26D4;
7+
</strong>
8+
</div>

_includes/foot.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<script type="text/javascript" src="{{ "/assets/js/vendor/retina-1.3.0.min.js" | absolute_url }}"></script>
2+
<script type="text/javascript" src="{{ "/assets/js/vendor/cash-4.1.5.min.js" | absolute_url }}"></script>
3+
<script type="text/javascript" src="{{ "/assets/js/site.js" | absolute_url }}"></script>

0 commit comments

Comments
 (0)