Skip to content

Commit 5633226

Browse files
committed
Bind Mount | Static Site generated using Jekyll
1 parent 2df1916 commit 5633226

File tree

17 files changed

+972
-0
lines changed

17 files changed

+972
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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.6)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.12.2)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (0.9.5)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (3.8.6)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 0.7)
22+
jekyll-sass-converter (~> 1.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 1.14)
25+
liquid (~> 4.0)
26+
mercenary (~> 0.3.3)
27+
pathutil (~> 0.9)
28+
rouge (>= 1.7, < 4)
29+
safe_yaml (~> 1.0)
30+
jekyll-feed (0.13.0)
31+
jekyll (>= 3.7, < 5.0)
32+
jekyll-sass-converter (1.5.2)
33+
sass (~> 3.4)
34+
jekyll-seo-tag (2.6.1)
35+
jekyll (>= 3.3, < 5.0)
36+
jekyll-watch (2.2.1)
37+
listen (~> 3.0)
38+
kramdown (1.17.0)
39+
liquid (4.0.3)
40+
listen (3.2.1)
41+
rb-fsevent (~> 0.10, >= 0.10.3)
42+
rb-inotify (~> 0.9, >= 0.9.10)
43+
mercenary (0.3.6)
44+
minima (2.5.1)
45+
jekyll (>= 3.5, < 5.0)
46+
jekyll-feed (~> 0.9)
47+
jekyll-seo-tag (~> 2.1)
48+
pathutil (0.16.2)
49+
forwardable-extended (~> 2.6)
50+
public_suffix (4.0.3)
51+
rb-fsevent (0.10.3)
52+
rb-inotify (0.10.1)
53+
ffi (~> 1.0)
54+
rouge (3.17.0)
55+
safe_yaml (1.0.5)
56+
sass (3.7.4)
57+
sass-listen (~> 4.0.0)
58+
sass-listen (4.0.0)
59+
rb-fsevent (~> 0.9, >= 0.9.4)
60+
rb-inotify (~> 0.9, >= 0.9.7)
61+
62+
PLATFORMS
63+
ruby
64+
65+
DEPENDENCIES
66+
jekyll (~> 3.8.5)
67+
jekyll-feed (~> 0.6)
68+
minima (~> 2.0)
69+
tzinfo-data
70+
71+
BUNDLED WITH
72+
1.17.3
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### How To Run
2+
- Execute following command:
3+
```sh
4+
docker run -p 80:4000 -v $(pwd):site bretfisher/jekyll-serve
5+
```

04-Bind-Mount-Jekyll-Static-Site/_posts/2017-03-05-welcome-to-jekyll.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: "Welcome to Jekyll!"
44
date: 2017-03-05 08:37:38 +0000
55
categories: jekyll update
66
---
7+
Aditya Testing 123.
78
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`, which launches a web server and auto-regenerates your site when a file is updated.
89

910
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.
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head>
3+
<meta charset="utf-8">
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5+
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.6.1 -->
6+
<title>Your awesome title | Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.</title>
7+
<meta name="generator" content="Jekyll v3.8.6" />
8+
<meta property="og:title" content="Your awesome title" />
9+
<meta property="og:locale" content="en_US" />
10+
<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description." />
11+
<meta property="og:description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description." />
12+
<link rel="canonical" href="http://0.0.0.0:4000/404.html" />
13+
<meta property="og:url" content="http://0.0.0.0:4000/404.html" />
14+
<meta property="og:site_name" content="Your awesome title" />
15+
<script type="application/ld+json">
16+
{"url":"http://0.0.0.0:4000/404.html","headline":"Your awesome title","description":"Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.","@type":"WebPage","@context":"https://schema.org"}</script>
17+
<!-- End Jekyll SEO tag -->
18+
<link rel="stylesheet" href="/assets/main.css"><link type="application/atom+xml" rel="alternate" href="http://0.0.0.0:4000/feed.xml" title="Your awesome title" /></head>
19+
<body><header class="site-header" role="banner">
20+
21+
<div class="wrapper"><a class="site-title" rel="author" href="/">Your awesome title</a><nav class="site-nav">
22+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
23+
<label for="nav-trigger">
24+
<span class="menu-icon">
25+
<svg viewBox="0 0 18 15" width="18px" height="15px">
26+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
27+
</svg>
28+
</span>
29+
</label>
30+
31+
<div class="trigger"><a class="page-link" href="/about/">About</a></div>
32+
</nav></div>
33+
</header>
34+
<main class="page-content" aria-label="Content">
35+
<div class="wrapper">
36+
<style type="text/css" media="screen">
37+
.container {
38+
margin: 10px auto;
39+
max-width: 600px;
40+
text-align: center;
41+
}
42+
h1 {
43+
margin: 30px 0;
44+
font-size: 4em;
45+
line-height: 1;
46+
letter-spacing: -1px;
47+
}
48+
</style>
49+
50+
<div class="container">
51+
<h1>404</h1>
52+
53+
<p><strong>Page not found :(</strong></p>
54+
<p>The requested page could not be found.</p>
55+
</div>
56+
57+
</div>
58+
</main><footer class="site-footer h-card">
59+
<data class="u-url" href="/"></data>
60+
61+
<div class="wrapper">
62+
63+
<h2 class="footer-heading">Your awesome title</h2>
64+
65+
<div class="footer-col-wrapper">
66+
<div class="footer-col footer-col-1">
67+
<ul class="contact-list">
68+
<li class="p-name">Your awesome title</li><li><a class="u-email" href="mailto:[email protected]">[email protected]</a></li></ul>
69+
</div>
70+
71+
<div class="footer-col footer-col-2"><ul class="social-media-list"><li><a href="https://github.com/jekyll"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#github"></use></svg> <span class="username">jekyll</span></a></li><li><a href="https://www.twitter.com/jekyllrb"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#twitter"></use></svg> <span class="username">jekyllrb</span></a></li></ul>
72+
</div>
73+
74+
<div class="footer-col footer-col-3">
75+
<p>Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.</p>
76+
</div>
77+
</div>
78+
79+
</div>
80+
81+
</footer>
82+
</body>
83+
84+
</html>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### How To Run
2+
- Execute following command:
3+
```sh
4+
docker run -p 80:4000 -v $(pwd):site bretfisher/jekyll-serve
5+
```
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head>
3+
<meta charset="utf-8">
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5+
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.6.1 -->
6+
<title>About | Your awesome title</title>
7+
<meta name="generator" content="Jekyll v3.8.6" />
8+
<meta property="og:title" content="About" />
9+
<meta property="og:locale" content="en_US" />
10+
<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description." />
11+
<meta property="og:description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description." />
12+
<link rel="canonical" href="http://0.0.0.0:4000/about/" />
13+
<meta property="og:url" content="http://0.0.0.0:4000/about/" />
14+
<meta property="og:site_name" content="Your awesome title" />
15+
<script type="application/ld+json">
16+
{"url":"http://0.0.0.0:4000/about/","headline":"About","description":"Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.","name":"Your awesome title","@type":"WebSite","@context":"https://schema.org"}</script>
17+
<!-- End Jekyll SEO tag -->
18+
<link rel="stylesheet" href="/assets/main.css"><link type="application/atom+xml" rel="alternate" href="http://0.0.0.0:4000/feed.xml" title="Your awesome title" /></head>
19+
<body><header class="site-header" role="banner">
20+
21+
<div class="wrapper"><a class="site-title" rel="author" href="/">Your awesome title</a><nav class="site-nav">
22+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
23+
<label for="nav-trigger">
24+
<span class="menu-icon">
25+
<svg viewBox="0 0 18 15" width="18px" height="15px">
26+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
27+
</svg>
28+
</span>
29+
</label>
30+
31+
<div class="trigger"><a class="page-link" href="/about/">About</a></div>
32+
</nav></div>
33+
</header>
34+
<main class="page-content" aria-label="Content">
35+
<div class="wrapper">
36+
<article class="post">
37+
38+
<header class="post-header">
39+
<h1 class="post-title">About</h1>
40+
</header>
41+
42+
<div class="post-content">
43+
<p>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 <a href="https://jekyllrb.com/">jekyllrb.com</a></p>
44+
45+
<p>You can find the source code for Minima at GitHub:
46+
<a href="https://github.com/jekyll">jekyll</a> /
47+
<a href="https://github.com/jekyll/minima">minima</a></p>
48+
49+
<p>You can find the source code for Jekyll at GitHub:
50+
<a href="https://github.com/jekyll">jekyll</a> /
51+
<a href="https://github.com/jekyll/jekyll">jekyll</a></p>
52+
53+
54+
</div>
55+
56+
</article>
57+
58+
</div>
59+
</main><footer class="site-footer h-card">
60+
<data class="u-url" href="/"></data>
61+
62+
<div class="wrapper">
63+
64+
<h2 class="footer-heading">Your awesome title</h2>
65+
66+
<div class="footer-col-wrapper">
67+
<div class="footer-col footer-col-1">
68+
<ul class="contact-list">
69+
<li class="p-name">Your awesome title</li><li><a class="u-email" href="mailto:[email protected]">[email protected]</a></li></ul>
70+
</div>
71+
72+
<div class="footer-col footer-col-2"><ul class="social-media-list"><li><a href="https://github.com/jekyll"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#github"></use></svg> <span class="username">jekyll</span></a></li><li><a href="https://www.twitter.com/jekyllrb"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#twitter"></use></svg> <span class="username">jekyllrb</span></a></li></ul>
73+
</div>
74+
75+
<div class="footer-col footer-col-3">
76+
<p>Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.</p>
77+
</div>
78+
</div>
79+
80+
</div>
81+
82+
</footer>
83+
</body>
84+
85+
</html>

0 commit comments

Comments
 (0)