jekyll-theme-caligraphy 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/404.html +22 -0
- data/LICENSE +21 -0
- data/README.md +34 -0
- data/_includes/comments.html +43 -0
- data/_includes/footer.html +9 -0
- data/_includes/head.html +46 -0
- data/_includes/header.html +8 -0
- data/_includes/nav_bar.html +18 -0
- data/_includes/pagination.html +8 -0
- data/_includes/signoff.html +1 -0
- data/_layouts/default.html +20 -0
- data/_layouts/index.html +39 -0
- data/_layouts/page.html +12 -0
- data/_layouts/post.html +41 -0
- data/_layouts/tags.html +44 -0
- data/_posts/2013-05-06-more-post.md +39 -0
- data/_posts/2017-03-12-scribble-the-jekyll-theme.md +41 -0
- data/about.md +11 -0
- data/images/404.png +0 -0
- data/images/default-logo-bottom.png +0 -0
- data/images/default-logo.png +0 -0
- data/images/fav.png +0 -0
- data/images/line.png +0 -0
- data/index.html +3 -0
- data/stylesheets/style.css +42 -0
- data/stylesheets/syntax.css +60 -0
- data/tags.html +6 -0
- metadata +114 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bf05da50c9d6ae28c4d13c954d80a748bc21c652
|
4
|
+
data.tar.gz: 1e194ed81c30546f6ce539edcb3955e76080b2ad
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 41ede8ed8a924b6402e34042f49e13ecc97d143168528ede07b11e60e3cb3bb6c21d4be1ffcacd35153077cb2990baa03a12bc6d27da126314c78eddd8ee39b5
|
7
|
+
data.tar.gz: bf6eef8c196eed1e28c9a91fdb81ef38e45e0f584f504b65b0d9f47fa0391453fad390c18a2cfb016ef682fe4c8daeede2c3ab16d4aef8c24079abef491e817e
|
data/404.html
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
permalink: /404.html
|
3
|
+
---
|
4
|
+
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<meta content='Scribble' property='og:title' />
|
8
|
+
<title>Scribble</title>
|
9
|
+
<link href='{{ site.url }}/images/fav.png' rel='shortcut icon'>
|
10
|
+
<link rel="stylesheet" href="{{ site.url }}/stylesheets/style.css"/>
|
11
|
+
<meta content='width=device-width, initial-scale=1.0, user-scalable=no' name='viewport'>
|
12
|
+
<meta content='text/html; charset=utf-8' http-equiv='content-type' />
|
13
|
+
<meta content='{{ site.url }}' property='og:url' />
|
14
|
+
<meta content="{{ site.description }}" property='og:description' />
|
15
|
+
<meta content="blog" property="og:type" />
|
16
|
+
</head>
|
17
|
+
<body class="lh-copy dark-gray ph3 pv5 f6 sans-serif tc bg-super-white">
|
18
|
+
<img src="{{ site.url }}/images/404.png" alt="not found" width="160" class="mb3" /><br>
|
19
|
+
<a href="{{ site.url }}" class="link blue hover-gray">Home</a>
|
20
|
+
</div>
|
21
|
+
</body>
|
22
|
+
</html>
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2013 Mu-An Chiou
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# Caligraphy
|
2
|
+
|
3
|
+
A Jekyll theme built on top of [Scribble](https://github.com/muan/scribble) theme
|
4
|
+
with some additional features mostly inspired by [Hydeout](https://github.com/fongandrew/hydeout).
|
5
|
+
|
6
|
+
<!-- TODO: add link to a demo page -->
|
7
|
+
|
8
|
+
<!-- TODO: add link to a screenshot (web & mobile) -->
|
9
|
+
|
10
|
+
## Try it
|
11
|
+
|
12
|
+
1. [Fork the repository](https://github.com/oxddr/caligraphy/fork)
|
13
|
+
|
14
|
+
2. Clone the repository: `git clone https://github.com/username/scribble`
|
15
|
+
|
16
|
+
3. Run `bundle install`
|
17
|
+
|
18
|
+
4. Run Jekyll: `bundle exec jekyll serve -w`
|
19
|
+
|
20
|
+
5. Go to http://localhost:4000 for your site.
|
21
|
+
|
22
|
+
---
|
23
|
+
|
24
|
+
## Make it yours
|
25
|
+
|
26
|
+
1. Edit and customize `_config.yml`, and then rerun `jekyll serve -w`
|
27
|
+
|
28
|
+
2. Change `about.md` for blog intro
|
29
|
+
|
30
|
+
3. For domain settings see [the guide from GitHub](https://help.github.com/articles/setting-up-a-custom-domain-with-pages)
|
31
|
+
|
32
|
+
## The end
|
33
|
+
|
34
|
+
Problem? [Use GitHub Issues](https://github.com/oxddr/caligraphy).
|
@@ -0,0 +1,43 @@
|
|
1
|
+
{% if page.comments != false %}
|
2
|
+
<section class="comments">
|
3
|
+
<h2>Comments</h2>
|
4
|
+
{% if site.disqus.shortname %}
|
5
|
+
<div id="disqus_thread"></div>
|
6
|
+
<script>
|
7
|
+
/**
|
8
|
+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW
|
9
|
+
* TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
10
|
+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:s
|
11
|
+
* https://disqus.com/admin/universalcode/#configuration-variables
|
12
|
+
*/
|
13
|
+
var disqus_config = function () {
|
14
|
+
this.page.url = "{{ page.url | absolute_url }}";
|
15
|
+
this.page.identifier = "{{ page.guid or page.id }}" ||
|
16
|
+
"{{ page.url | absolute_url }}";
|
17
|
+
};
|
18
|
+
(function() { // DON'T EDIT BELOW THIS LINE
|
19
|
+
var d = document, s = d.createElement('script');
|
20
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
21
|
+
s.setAttribute('data-timestamp', +new Date());
|
22
|
+
(d.head || d.body).appendChild(s);
|
23
|
+
console.log("called");
|
24
|
+
})();
|
25
|
+
</script>
|
26
|
+
<noscript>
|
27
|
+
Please enable JavaScript to view the
|
28
|
+
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
|
29
|
+
</noscript>
|
30
|
+
{% elsif jekyll.environment != "production" %}
|
31
|
+
<p>
|
32
|
+
You are seeing this because your Disqus shortname is not properly set. To
|
33
|
+
configure Disqus, you should edit your <code>_config.yml</code> to include
|
34
|
+
either a <code>disqus.shortname</code> variable.
|
35
|
+
</p>
|
36
|
+
|
37
|
+
<p>
|
38
|
+
If you do not wish to use Disqus, override the
|
39
|
+
<code>comments.html</code> partial for this theme.
|
40
|
+
</p>
|
41
|
+
{% endif %}
|
42
|
+
</section>
|
43
|
+
{% endif %}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<footer class="mw7 center tc pt3 pb4 silver">
|
2
|
+
Built with Jekyll using
|
3
|
+
<a href="http://github.com/oxddr/caligraphy"
|
4
|
+
class="link silver hover-blue pv1">
|
5
|
+
Scribble
|
6
|
+
</a>.
|
7
|
+
<img src="{{ site.url }}/{{ site.bottom_logo }}"
|
8
|
+
alt="logo-bottom" class="mt4 db center" />
|
9
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
<head>
|
2
|
+
<meta content='{{ page.title }} - {{ site.title }}' name='title' />
|
3
|
+
<meta content='{{ page.title }} - {{ site.title }}' name='og:title' />
|
4
|
+
<title>{{ page.title }} - {{ site.title }}</title>
|
5
|
+
|
6
|
+
<link href='{{ site.url }}/images/fav.png' rel='shortcut icon'>
|
7
|
+
<link href='{{ site.url }}/stylesheets/style.css' rel='stylesheet' type='text/css' />
|
8
|
+
<link href='{{ site.url }}/stylesheets/syntax.css' rel='stylesheet' type='text/css' />
|
9
|
+
|
10
|
+
<meta content='width=device-width, initial-scale=1.0, user-scalable=no' name='viewport'>
|
11
|
+
<meta content='text/html; charset=utf-8' http-equiv='content-type' />
|
12
|
+
{% if page.date %}
|
13
|
+
<meta content='{{ site.url }}{{ page.url }}' property='og:url' />
|
14
|
+
<meta content="{{ page.content | strip_html | strip_newlines | truncate: 120 }}" property='og:description' />
|
15
|
+
<meta content="article" property="og:type" />
|
16
|
+
{% else %}
|
17
|
+
<meta content='{{ site.url }}' property='og:url' />
|
18
|
+
<meta content="{{ site.description }}" property='og:description' />
|
19
|
+
<meta content="blog" property="og:type" />
|
20
|
+
{% endif %}
|
21
|
+
|
22
|
+
{% if site.google_analytics %}
|
23
|
+
<script>
|
24
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
25
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
26
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
27
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
28
|
+
|
29
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
30
|
+
ga('send', 'pageview');
|
31
|
+
|
32
|
+
</script>
|
33
|
+
{% endif %}
|
34
|
+
|
35
|
+
{% if site.facebook_appid %}
|
36
|
+
<meta content="{{ site.facebook_appid }}" property="fb:app_id" />
|
37
|
+
<script>(function(d, s, id) {
|
38
|
+
var js, fjs = d.getElementsByTagName(s)[0];
|
39
|
+
if (d.getElementById(id)) return;
|
40
|
+
js = d.createElement(s); js.id = id;
|
41
|
+
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId={{ site.facebook_appid }}";
|
42
|
+
fjs.parentNode.insertBefore(js, fjs);
|
43
|
+
}(document, 'script', 'facebook-jssdk'));</script>
|
44
|
+
{% endif %}
|
45
|
+
</head>
|
46
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<nav class="bb b--light-gray pv4 tc" aria-label="Main">
|
2
|
+
<a class="link blue hover-mid-gray mh2 pv1"
|
3
|
+
href="/">
|
4
|
+
Posts
|
5
|
+
</a>
|
6
|
+
|
7
|
+
{% assign pages = site.pages %}
|
8
|
+
{% for node in pages %}
|
9
|
+
{% if node.title != null %}
|
10
|
+
{% if node.navbar == true %}
|
11
|
+
<a class="link blue hover-mid-gray mh2 pv1"
|
12
|
+
href="{{ node.url }}">
|
13
|
+
{{ node.title }}
|
14
|
+
</a>
|
15
|
+
{% endif %}
|
16
|
+
{% endif %}
|
17
|
+
{% endfor %}
|
18
|
+
</nav>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<section class="fixed-l mw7 center w-100 top-50 tc pb4 nt4">
|
2
|
+
{% if page.previous %}
|
3
|
+
<a href="{{ site.url }}{{ page.previous.url }}" class="no-underline f1 light-blue hover-silver nl5 fl-l ph3">‹</a>
|
4
|
+
{% endif %}
|
5
|
+
{% if page.next %}
|
6
|
+
<a href="{{ site.url }}{{page.next.url}}" class="no-underline f1 light-blue hover-silver nr5 fr-l ph3">›</a>
|
7
|
+
{% endif %}
|
8
|
+
</section>
|
@@ -0,0 +1 @@
|
|
1
|
+
<!-- Optional signoff added after every post. -->
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{% assign is_post = page.date %}
|
2
|
+
<!doctype>
|
3
|
+
<html lang="en">
|
4
|
+
{% include head.html %}
|
5
|
+
<body class="lh-copy dark-gray pa0 f6 sans-serif bg-super-white">
|
6
|
+
|
7
|
+
{% include header.html %}
|
8
|
+
|
9
|
+
<div class="mw7 bg-white mt4 mb3 center br2-ns bt bb ba-ns b--light-gray">
|
10
|
+
|
11
|
+
{% include nav_bar.html %}
|
12
|
+
{% if page.layout == "post" %}{% include pagination.html %}{% endif %}
|
13
|
+
<main class="tl f6 relative pa4 pa5-ns overflow-hidden">
|
14
|
+
{{ content }}
|
15
|
+
</main>
|
16
|
+
|
17
|
+
</div>
|
18
|
+
{% include footer.html %}
|
19
|
+
</body>
|
20
|
+
</html>
|
data/_layouts/index.html
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="markdown-body">
|
6
|
+
<ul class="list pa0">
|
7
|
+
{% for post in site.posts %}
|
8
|
+
<li class="mv2">
|
9
|
+
<a href="{{ site.url }}{{ post.url }}" class="db pv1 link blue hover-mid-gray">
|
10
|
+
<time class="fr silver ttu">{{ post.date | date_to_string }}</time>
|
11
|
+
{{ post.title }}
|
12
|
+
</a>
|
13
|
+
|
14
|
+
{% if post.excerpt %}
|
15
|
+
{{ post.excerpt }}
|
16
|
+
{% else %}
|
17
|
+
{{ post.content }}
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% if post.excerpt %}
|
21
|
+
{% comment %}Excerpt may be equal to content. Check.{% endcomment %}
|
22
|
+
{% capture content_words %}
|
23
|
+
{{ post.content | number_of_words }}
|
24
|
+
{% endcapture %}
|
25
|
+
{% capture excerpt_words %}
|
26
|
+
{{ post.excerpt | number_of_words }}
|
27
|
+
{% endcapture %}
|
28
|
+
|
29
|
+
{% if content_words != excerpt_words %}
|
30
|
+
<a href="{{ site.baseurl }}{{ post.url }}">More …</a>
|
31
|
+
{% endif %}
|
32
|
+
{% endif %}
|
33
|
+
{% if forloop.last == false %}
|
34
|
+
<hr>
|
35
|
+
{% endif %}
|
36
|
+
</li>
|
37
|
+
{% endfor %}
|
38
|
+
</ul>
|
39
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="mb4">
|
6
|
+
<div class="fw600 light-silver mt1">
|
7
|
+
{{ page.date | date_to_string }}
|
8
|
+
</div>
|
9
|
+
<h1 class="ttu f3 mt0 lh-title cb mb2">
|
10
|
+
{{ page.title }}
|
11
|
+
</h1>
|
12
|
+
<div>
|
13
|
+
{% assign tags_page = false %}
|
14
|
+
{% for node in site.pages %}
|
15
|
+
{% if node.layout == "tags" %}
|
16
|
+
{% assign tags_page = node %}
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
19
|
+
|
20
|
+
{% for tag in page.tags %}
|
21
|
+
•
|
22
|
+
<a href="{{ site.baseurl }}{{ tags_page.url }}#{{ tag }}"
|
23
|
+
class="link blue hover-mid-gray mt1">
|
24
|
+
{{ tag }}
|
25
|
+
</a>
|
26
|
+
{% endfor %}
|
27
|
+
</div>
|
28
|
+
|
29
|
+
{% if site.share %}
|
30
|
+
<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
|
31
|
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
32
|
+
<div class="fb-like" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-font="arial" data-action="like"></div>
|
33
|
+
{% endif %}
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div class="markdown-body">
|
37
|
+
{{ content }}
|
38
|
+
</div>
|
39
|
+
|
40
|
+
{% include signoff.html %}
|
41
|
+
{% include comments.html %}
|
data/_layouts/tags.html
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture tags %}
|
6
|
+
{% for tag in site.tags %}
|
7
|
+
{{ tag | first | downcase}}|{{ tag | first }}
|
8
|
+
{% unless forloop.last %},{% endunless %}
|
9
|
+
{% endfor %}
|
10
|
+
{% endcapture %}
|
11
|
+
{% assign sorted_tags = tags | split:',' | sort %}
|
12
|
+
|
13
|
+
<div>
|
14
|
+
{% for entry in sorted_tags %}
|
15
|
+
{% assign tag = entry | split:'|' | last | strip %}
|
16
|
+
<a href="#{{ tag | slugify }}"
|
17
|
+
class="link blue hover-mid-gray mr2 pv1">
|
18
|
+
<span>{{ tag }}</span>
|
19
|
+
<span>({{ site.tags[tag] | size }})</span>
|
20
|
+
</a>
|
21
|
+
{% endfor %}
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<hr/>
|
25
|
+
|
26
|
+
<div>
|
27
|
+
{% for entry in sorted_tags %}
|
28
|
+
{% assign tag = entry | split:'|' | last | strip %}
|
29
|
+
<div id="{{ tag | slugify }}" class="tagged-posts">
|
30
|
+
<h2>{{ tag }}</h2>
|
31
|
+
<ul class="list pa0">
|
32
|
+
{% for post in site.tags[tag] %}
|
33
|
+
<li class="mv2">
|
34
|
+
<a href="{{ site.url }}{{ post.url }}"
|
35
|
+
class="db pv1 link blue hover-mid-gray">
|
36
|
+
<time class="fr silver ttu">{{ post.date | date_to_string }}</time>
|
37
|
+
{{ post.title }}
|
38
|
+
</a>
|
39
|
+
</li>
|
40
|
+
{% endfor %}
|
41
|
+
</ul>
|
42
|
+
</div>
|
43
|
+
{% endfor %}
|
44
|
+
</div>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: Lorem Ipsum Dolor Sit Amet Consectetur Elit
|
4
|
+
date: 2013-05-06 15:27:31
|
5
|
+
tags: [one, two]
|
6
|
+
---
|
7
|
+
|
8
|
+
I am a placeholder post. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
|
9
|
+
|
10
|
+
> Sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Abore et dolore magna aliqua. Ut enim ad minim veniam, quis.
|
11
|
+
>
|
12
|
+
> – Akei Yue
|
13
|
+
|
14
|
+
1. List with code
|
15
|
+
|
16
|
+
```
|
17
|
+
not highlighted
|
18
|
+
multi line
|
19
|
+
```
|
20
|
+
|
21
|
+
2. List with code
|
22
|
+
```javascript
|
23
|
+
var dom = document.getElementById('boom')
|
24
|
+
console.log(dom);
|
25
|
+
```
|
26
|
+
|
27
|
+
---
|
28
|
+
|
29
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.
|
30
|
+
|
31
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
|
32
|
+
|
33
|
+
```html
|
34
|
+
<dialog>
|
35
|
+
<header>Headsup</header>
|
36
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.</p>
|
37
|
+
<button type="button" class="js-close-dialog">Close</button>
|
38
|
+
</dialog>
|
39
|
+
```
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: Scribble, a Jekyll theme
|
4
|
+
date: 2017-03-12 00:06:52
|
5
|
+
tags: [two, three]
|
6
|
+
---
|
7
|
+
|
8
|
+
Instruction as follows. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in.
|
9
|
+
|
10
|
+
## Get started
|
11
|
+
|
12
|
+
1. [Fork the repository](https://github.com/muan/scribble/fork)
|
13
|
+
|
14
|
+
2. Clone the repository: `git clone https://github.com/username/scribble`
|
15
|
+
|
16
|
+
3. Run `bundle install`
|
17
|
+
|
18
|
+
4. Run Jekyll: `jekyll serve -w`
|
19
|
+
|
20
|
+
5. Go to http://localhost:4000 for your site.
|
21
|
+
|
22
|
+
---
|
23
|
+
|
24
|
+
## Make it yours
|
25
|
+
|
26
|
+
1. Edit `_config.yml`, adn then rerun `jekyll serve -w`
|
27
|
+
|
28
|
+
2. Change `about.md` for blog intro
|
29
|
+
|
30
|
+
3. For domain settings see [the guide from GitHub](https://help.github.com/articles/setting-up-a-custom-domain-with-pages)
|
31
|
+
|
32
|
+
---
|
33
|
+
|
34
|
+
<a href="https://github.com/muan/scribble" class="pa3 tc ba br2 db">Get it on GitHub ♥</a>
|
35
|
+
|
36
|
+
---
|
37
|
+
|
38
|
+
## The end
|
39
|
+
|
40
|
+
Like it? [Tell me](http://twitter.com/muanchiou).<br/>
|
41
|
+
Problem? [Use GitHub Issues](https://github.com/muan/scribble).
|
data/about.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: About me
|
4
|
+
navbar: true
|
5
|
+
---
|
6
|
+
|
7
|
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Donec elementum ligula eu sapien consequat eleifend.
|
8
|
+
|
9
|
+
Donec nec dolor erat, condimentum sagittis sem. Praesent porttitor porttitor risus, dapibus rutrum ipsum gravida et. Integer lectus nisi, facilisis sit amet eleifend nec, pharetra ut augue. Integer quam nunc, consequat nec egestas ac, volutpat ac nisi.
|
10
|
+
|
11
|
+
Find me on [GitHub](https://github.com/muan) or [Twitter](https://twitter.com/muanchiou).
|
data/images/404.png
ADDED
Binary file
|
Binary file
|
Binary file
|
data/images/fav.png
ADDED
Binary file
|
data/images/line.png
ADDED
Binary file
|
data/index.html
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
@import "https://unpkg.com/tachyons@4.6.1/css/tachyons.min.css";
|
2
|
+
|
3
|
+
.bg-super-white { background: #f9f9f9; }
|
4
|
+
.top-50 { top: 50% }
|
5
|
+
.link:hover { background: url(/images/line.png) repeat-x left bottom; }
|
6
|
+
|
7
|
+
/* Markdown styles */
|
8
|
+
.markdown-body a {
|
9
|
+
text-decoration: none;
|
10
|
+
color: #357edd;
|
11
|
+
}
|
12
|
+
.markdown-body .highlighter-rouge {
|
13
|
+
padding: .25rem .5rem;
|
14
|
+
}
|
15
|
+
.markdown-body pre {
|
16
|
+
margin: 0;
|
17
|
+
overflow: auto;
|
18
|
+
}
|
19
|
+
.markdown-body > .highlighter-rouge,
|
20
|
+
.markdown-body > blockquote {
|
21
|
+
padding: .5rem 4rem;
|
22
|
+
margin: 2em -4rem;
|
23
|
+
}
|
24
|
+
.markdown-body hr {
|
25
|
+
margin: 2em -4rem;
|
26
|
+
border: 0;
|
27
|
+
border-bottom: 1px dotted #CCC;
|
28
|
+
}
|
29
|
+
.markdown-body blockquote {
|
30
|
+
background: #f9f9f9;
|
31
|
+
border-left: .2rem solid #ccc;
|
32
|
+
padding-left: 3.8rem;
|
33
|
+
}
|
34
|
+
/* end Markdown styles */
|
35
|
+
|
36
|
+
.tagged-posts {
|
37
|
+
display: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
.tagged-posts:target {
|
41
|
+
display: block;
|
42
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
.highlighter-rouge { background: #f4f4f4; }
|
2
|
+
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
3
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
4
|
+
.highlight .k { font-weight: bold } /* Keyword */
|
5
|
+
.highlight .o { font-weight: bold } /* Operator */
|
6
|
+
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
10
|
+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
11
|
+
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
|
12
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
13
|
+
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
14
|
+
.highlight .gh { color: #999999 } /* Generic.Heading */
|
15
|
+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
16
|
+
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
|
17
|
+
.highlight .go { color: #888888 } /* Generic.Output */
|
18
|
+
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
19
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
20
|
+
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
21
|
+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
22
|
+
.highlight .kc { font-weight: bold } /* Keyword.Constant */
|
23
|
+
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
|
24
|
+
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
|
25
|
+
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
|
26
|
+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
27
|
+
.highlight .m { color: #009999 } /* Literal.Number */
|
28
|
+
.highlight .s { color: #d14 } /* Literal.String */
|
29
|
+
.highlight .na { color: #008080 } /* Name.Attribute */
|
30
|
+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
31
|
+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
32
|
+
.highlight .no { color: #008080 } /* Name.Constant */
|
33
|
+
.highlight .ni { color: #800080 } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
36
|
+
.highlight .nn { color: #555555 } /* Name.Namespace */
|
37
|
+
.highlight .nt { color: #000080 } /* Name.Tag */
|
38
|
+
.highlight .nv { color: #008080 } /* Name.Variable */
|
39
|
+
.highlight .ow { font-weight: bold } /* Operator.Word */
|
40
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
41
|
+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
42
|
+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
43
|
+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
44
|
+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
45
|
+
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
|
46
|
+
.highlight .sc { color: #d14 } /* Literal.String.Char */
|
47
|
+
.highlight .sd { color: #d14 } /* Literal.String.Doc */
|
48
|
+
.highlight .s2 { color: #d14 } /* Literal.String.Double */
|
49
|
+
.highlight .se { color: #d14 } /* Literal.String.Escape */
|
50
|
+
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
|
51
|
+
.highlight .si { color: #d14 } /* Literal.String.Interpol */
|
52
|
+
.highlight .sx { color: #d14 } /* Literal.String.Other */
|
53
|
+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
54
|
+
.highlight .s1 { color: #d14 } /* Literal.String.Single */
|
55
|
+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
56
|
+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
57
|
+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
58
|
+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
59
|
+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
60
|
+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
data/tags.html
ADDED
metadata
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-caligraphy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- oxddr
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-12-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- janek99@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- 404.html
|
63
|
+
- LICENSE
|
64
|
+
- README.md
|
65
|
+
- _includes/comments.html
|
66
|
+
- _includes/footer.html
|
67
|
+
- _includes/head.html
|
68
|
+
- _includes/header.html
|
69
|
+
- _includes/nav_bar.html
|
70
|
+
- _includes/pagination.html
|
71
|
+
- _includes/signoff.html
|
72
|
+
- _layouts/default.html
|
73
|
+
- _layouts/index.html
|
74
|
+
- _layouts/page.html
|
75
|
+
- _layouts/post.html
|
76
|
+
- _layouts/tags.html
|
77
|
+
- _posts/2013-05-06-more-post.md
|
78
|
+
- _posts/2017-03-12-scribble-the-jekyll-theme.md
|
79
|
+
- about.md
|
80
|
+
- images/404.png
|
81
|
+
- images/default-logo-bottom.png
|
82
|
+
- images/default-logo.png
|
83
|
+
- images/fav.png
|
84
|
+
- images/line.png
|
85
|
+
- index.html
|
86
|
+
- stylesheets/style.css
|
87
|
+
- stylesheets/syntax.css
|
88
|
+
- tags.html
|
89
|
+
homepage: https://github.com/oxddr/caligraphy
|
90
|
+
licenses:
|
91
|
+
- MIT
|
92
|
+
metadata:
|
93
|
+
plugin_type: theme
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.6.13
|
111
|
+
signing_key:
|
112
|
+
specification_version: 4
|
113
|
+
summary: Simple Jekyll theme based on Scribble
|
114
|
+
test_files: []
|