Skip to content

Commit e640024

Browse files
committed
push source code
1 parent fe9b26c commit e640024

Some content is hidden

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

64 files changed

+3895
-0
lines changed

_config.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Site settings
2+
title: Your awesome title
3+
motto: Your motto
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: "http://yourdomain.com" # the base hostname & protocol for your site
11+
twitter_username: jekyllrb
12+
github_username: jekyll
13+
14+
# Build settings
15+
markdown: kramdown

_includes/footer.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<footer class="footer">
2+
<div id="gotop">^</div>
3+
<br>
4+
@2015 Pithy Theme by Pawpaw.
5+
</footer>

_includes/head.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
6+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8+
9+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
10+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
11+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
12+
<script src="/scripts/jquery-1.11.2.min.js"></script>
13+
<script src="/scripts/pithy.js"></script>
14+
</head>

_includes/header.html

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<header class="header">
2+
<div class="header-container">
3+
<div class="nav">
4+
{% if page.path == "index.html" %}
5+
<span class="title">
6+
<li>
7+
<a href="/index.html">home</a>
8+
</li>
9+
</span>
10+
{% else %}
11+
<li>
12+
<a href="/index.html">home</a>
13+
</li>
14+
{% endif %}
15+
{% if page.path == "archive.html" %}
16+
<span class="title">
17+
<li>
18+
<a href="/archive.html">archive</a>
19+
</li>
20+
</span>
21+
{% else %}
22+
<li>
23+
<a href="/archive.html">archive</a>
24+
</li>
25+
{% endif %}
26+
{% if page.path == "category.html" %}
27+
<span class="title">
28+
<li>
29+
<a href="/category.html">category</a>
30+
</li>
31+
</span>
32+
{% else %}
33+
<li>
34+
<a href="/category.html">category</a>
35+
</li>
36+
{% endif %}
37+
{% if page.path == "about.html" %}
38+
<span class="title">
39+
<li>
40+
<a href="/about.html">about</a>
41+
</li>
42+
</span>
43+
{% else %}
44+
<li>
45+
<a href="/about.html">about</a>
46+
</li>
47+
{% endif %}
48+
</div>
49+
<div class="description"> {{ site.motto }} </div>
50+
<ul class="social-links">
51+
<li>
52+
<a href="https://github.com/{{ site.github_username }}" title="Github">
53+
<img width="19px" height="19px" src="/images/github.png"/>
54+
</a>
55+
</li>
56+
<li>
57+
<a href="/feed.xml" title="RSS">
58+
<img width="19px" height="19px" src="/images/rss.png"/>
59+
</a>
60+
</li>
61+
<li>
62+
<a href="https://twitter.com/{{ site.twitter_username }}" title="Twitter">
63+
<img width="19px" height="19px" src="/images/twitter.png"/>
64+
</a>
65+
</li>
66+
</ul>
67+
</div>
68+
</header>

_includes/icon-github.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>

_includes/icon-github.svg

+1
Loading

_includes/icon-twitter.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>

_includes/icon-twitter.svg

+1
Loading

_layouts/default.html

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html>
3+
{% include head.html %}
4+
5+
<body>
6+
{% include header.html %}
7+
<br>
8+
<div class="page-content">
9+
<div class="wrapper">
10+
{{ content }}
11+
</div>
12+
</div>
13+
14+
{% include footer.html %}
15+
16+
</body>
17+
18+
</html>

_layouts/page.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: default
3+
---
4+
<div class="post">
5+
6+
<header class="post-header">
7+
<h1 class="post-title">{{ page.title }}</h1>
8+
</header>
9+
<br>
10+
<article class="post-content">
11+
{{ content }}
12+
</article>
13+
14+
</div>

_layouts/post.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: default
3+
---
4+
<div class="post">
5+
<br>
6+
<header class="post-header">
7+
<h1 class="post-title">{{ page.title }}</h1>
8+
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
9+
</header>
10+
11+
<article class="post-content">
12+
{{ content }}
13+
</article>
14+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2015-04-09 11:23:32
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`, 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
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2016-07-20 05:17:24 +0000
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`, 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-docs] 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 Talk][jekyll-talk].
22+
23+
[jekyll-docs]: http://jekyllrb.com/docs/home
24+
[jekyll-gh]: https://github.com/jekyll/jekyll
25+
[jekyll-talk]: https://talk.jekyllrb.com/

0 commit comments

Comments
 (0)