jekyll-theme-hydejack 6.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +45 -0
- data/README.md +87 -0
- data/_includes/about-short.html +8 -0
- data/_includes/about.html +15 -0
- data/_includes/comments.html +11 -0
- data/_includes/copyright-header +15 -0
- data/_includes/footer.html +14 -0
- data/_includes/head.html +87 -0
- data/_includes/link.html +5 -0
- data/_includes/menu.html +6 -0
- data/_includes/message.html +9 -0
- data/_includes/nav.html +16 -0
- data/_includes/page-style.html +19 -0
- data/_includes/pagination.html +19 -0
- data/_includes/post-list-item.html +10 -0
- data/_includes/post.html +35 -0
- data/_includes/pro/project-card.html +17 -0
- data/_includes/pro/styles/projects.scss +4 -0
- data/_includes/pro/styles/resume.scss +4 -0
- data/_includes/related.html +42 -0
- data/_includes/scripts.html +36 -0
- data/_includes/scripts/cssrelpreload.min.js +2 -0
- data/_includes/scripts/load-disqus.js +42 -0
- data/_includes/scripts/load-disqus.min.js +1 -0
- data/_includes/scripts/load-js-deferred.js +49 -0
- data/_includes/scripts/load-js-deferred.min.js +1 -0
- data/_includes/scripts/loadCSS.min.js +2 -0
- data/_includes/sidebar.html +22 -0
- data/_includes/social-list-item.html +22 -0
- data/_includes/social.html +6 -0
- data/_includes/srcset-img.html +23 -0
- data/_includes/styles/inline.scss +51 -0
- data/_includes/styles/style.scss +71 -0
- data/_includes/tag-list.html +26 -0
- data/_layouts/about.html +27 -0
- data/_layouts/base.html +54 -0
- data/_layouts/blog.html +10 -0
- data/_layouts/compress.html +26 -0
- data/_layouts/default.html +25 -0
- data/_layouts/list.html +32 -0
- data/_layouts/not-found.html +8 -0
- data/_layouts/page.html +10 -0
- data/_layouts/post.html +9 -0
- data/_sass/_jekyll-github.scss +67 -0
- data/_sass/_mixins.scss +35 -0
- data/_sass/_spinner.scss +87 -0
- data/_sass/_variables.scss +43 -0
- data/_sass/hydejack/_base-inline.scss +128 -0
- data/_sass/hydejack/_base.scss +132 -0
- data/_sass/hydejack/_content-inline.scss +26 -0
- data/_sass/hydejack/_drawer-inline.scss +19 -0
- data/_sass/hydejack/_drawer.scss +19 -0
- data/_sass/hydejack/_footer-inline.scss +14 -0
- data/_sass/hydejack/_katex.scss +28 -0
- data/_sass/hydejack/_me-inline.scss +22 -0
- data/_sass/hydejack/_menu-inline.scss +35 -0
- data/_sass/hydejack/_menu.scss +35 -0
- data/_sass/hydejack/_sidebar-inline.scss +121 -0
- data/_sass/hydejack/_sidebar.scss +121 -0
- data/_sass/hydejack/_social-inline.scss +27 -0
- data/_sass/hydejack/_social.scss +27 -0
- data/_sass/hydejack/_toc.scss +6 -0
- data/_sass/pooleparty/_base-inline.scss +59 -0
- data/_sass/pooleparty/_base.scss +59 -0
- data/_sass/pooleparty/_code.scss +86 -0
- data/_sass/pooleparty/_footer-inline.scss +3 -0
- data/_sass/pooleparty/_footnotes.scss +33 -0
- data/_sass/pooleparty/_layout-inline.scss +11 -0
- data/_sass/pooleparty/_message-inline.scss +13 -0
- data/_sass/pooleparty/_pagination.scss +62 -0
- data/_sass/pooleparty/_posts-inline.scss +26 -0
- data/_sass/pooleparty/_related-inline.scss +19 -0
- data/_sass/pooleparty/_table.scss +22 -0
- data/_sass/pooleparty/_type-inline.scss +97 -0
- data/_sass/pooleparty/_type.scss +93 -0
- data/assets/css/hydejack.css +4 -0
- data/assets/icomoon/Read Me.txt +7 -0
- data/assets/icomoon/demo-files/demo.css +152 -0
- data/assets/icomoon/demo-files/demo.js +30 -0
- data/assets/icomoon/demo.html +1190 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +82 -0
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +2047 -0
- data/assets/icomoon/style.css +243 -0
- data/assets/img/nap.jpg +0 -0
- data/assets/img/projects/hyde-v1.png +0 -0
- data/assets/img/projects/hyde-v1@0,25x.png +0 -0
- data/assets/img/projects/hyde-v1@0,5x.png +0 -0
- data/assets/img/projects/hyde-v2.png +0 -0
- data/assets/img/projects/hyde-v2@0,25x.png +0 -0
- data/assets/img/projects/hyde-v2@0,5x.png +0 -0
- data/assets/img/projects/hydejack-v3.jpg +0 -0
- data/assets/img/projects/hydejack-v3@0,25x.jpg +0 -0
- data/assets/img/projects/hydejack-v3@0,5x.jpg +0 -0
- data/assets/img/projects/hydejack-v4.jpg +0 -0
- data/assets/img/projects/hydejack-v4@0,25x.jpg +0 -0
- data/assets/img/projects/hydejack-v4@0,5x.jpg +0 -0
- data/assets/img/projects/hydejack-v5.jpg +0 -0
- data/assets/img/projects/hydejack-v5@0,25x.jpg +0 -0
- data/assets/img/projects/hydejack-v5@0,5x.jpg +0 -0
- data/assets/img/projects/hydejack-v6.jpg +0 -0
- data/assets/img/projects/hydejack-v6@0,25x.jpg +0 -0
- data/assets/img/projects/hydejack-v6@0,5x.jpg +0 -0
- data/assets/js/hydejack.js +26 -0
- data/assets/resume.json +3 -0
- data/assets/version.json +5 -0
- metadata +237 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6cf9d37d50e4cab33d59e273fe085dd000993f32
|
4
|
+
data.tar.gz: 59bf9eeac89a112534fed019a129da39439f4426
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 792b2a5e1acb1258e680b629278d0a789b41a093a3fc289b2dde89ff8ec1de0a6056eaa399b432d075da340260574f6184d4100a20f72e18d973b7f177ff0d4a
|
7
|
+
data.tar.gz: 378ed68af45d912eccf10526f66c8031283bb3c3f56e5dc1a1c6bbe7f2a5d983acb5b5420c906ad26efdd5139856ad16dc5e375aa0d8ae67889f300e02908a6c
|
data/LICENSE.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2016 Florian Klampfer.
|
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 all
|
13
|
+
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 THE
|
21
|
+
SOFTWARE.
|
22
|
+
|
23
|
+
---
|
24
|
+
|
25
|
+
MIT License
|
26
|
+
|
27
|
+
Copyright (c) 2013 Mark Otto.
|
28
|
+
|
29
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
30
|
+
of this software and associated documentation files (the "Software"), to deal
|
31
|
+
in the Software without restriction, including without limitation the rights
|
32
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
33
|
+
copies of the Software, and to permit persons to whom the Software is
|
34
|
+
furnished to do so, subject to the following conditions:
|
35
|
+
|
36
|
+
The above copyright notice and this permission notice shall be included in all
|
37
|
+
copies or substantial portions of the Software.
|
38
|
+
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
40
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
41
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
42
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
43
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
44
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
45
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
# Hydejack
|
2
|
+
|
3
|
+
Hydejack is a pretentious two-column [Jekyll](http://jekyllrb.com) theme, stolen by [`@qwtel`](https://twitter.com/qwtel) from [Hyde](http://hyde.getpoole.com). You could say it was.. [hydejacked](http://media3.giphy.com/media/makedRIckZBW8/giphy.gif).
|
4
|
+
|
5
|
+
## Features
|
6
|
+
Unlike Hyde, it's very opinionated about how you are going to use it.
|
7
|
+
|
8
|
+
Features include:
|
9
|
+
|
10
|
+
* Touch-enabled sidebar / drawer for mobile, including fallback when JS is disabled.
|
11
|
+
* Github Pages compatible tag support based on [this post][tag].
|
12
|
+
* Customizable link color and sidebar image, per-site, per-tag and per-post.
|
13
|
+
* Optional author section at the bottom of each post.
|
14
|
+
* Optional comment section powered by Disqus.
|
15
|
+
* Layout for posts grouped by year
|
16
|
+
* Wide array of social media icons on sidebar.
|
17
|
+
* Math blocks via [KaTeX](https://khan.github.io/KaTeX/).
|
18
|
+
|
19
|
+
## Download
|
20
|
+
Hydejack is developed on and hosted with GitHub. Head to the [GitHub repository](https://github.com/qwtel/hydejack) for downloads, bug reports, and feature requests.
|
21
|
+
|
22
|
+
## Sidebar
|
23
|
+
I love the original Hyde theme, but unfortunately the layout isn't as great on small screens.
|
24
|
+
Since the sidebar moves to the top, the user has to scroll down just to read the title of a blog post.
|
25
|
+
|
26
|
+
By using a drawer component I was able to retain the original two column layout. It's possible to move the drawer via touch input (with the help of a little JavaScript).
|
27
|
+
|
28
|
+
Since the background image contributes to the feel of the page I'm letting it peek over the edge a bit. This also provides a hint to the user that an interaction is possible.
|
29
|
+
|
30
|
+
## Manual
|
31
|
+
|
32
|
+
### Configuration
|
33
|
+
You can configure important aspects of the theme via [`_config.yml`](https://github.com/qwtel/hydejack/blob/master/_config.yml). This includes:
|
34
|
+
|
35
|
+
* the blog description in the sidebar
|
36
|
+
* the (optional) author description and photo
|
37
|
+
* default image and link color of the blog
|
38
|
+
* the github and twitter usernames
|
39
|
+
|
40
|
+
### How to Change the Image and Color of a Post
|
41
|
+
In the manifest of a blog post, simply add an url as `image` and a CSS color as `color`:
|
42
|
+
|
43
|
+
~~~yml
|
44
|
+
layout: post
|
45
|
+
title: Introducing Hydejack
|
46
|
+
image: https://qwtel.com/hydejack/public/img/hyde.jpg
|
47
|
+
color: '#949667'
|
48
|
+
~~~
|
49
|
+
|
50
|
+
### How to Add a New Tag
|
51
|
+
Tags are possible, but they are not meant to be used #instagram #style: #food #goodfood #happy #happylife #didimentionfood #yougetthepoint. Each tag requires some setup work. I tend to think of it as categories that can be combined.
|
52
|
+
|
53
|
+
1. Add an entry to `_data/tags.yml`, where the key represents a slug and provide at least a `name` value and optionally `image`, `color` and `description`.
|
54
|
+
|
55
|
+
Example `/_data/tags.yml`:
|
56
|
+
|
57
|
+
~~~yml
|
58
|
+
mytag:
|
59
|
+
name: My Tag
|
60
|
+
~~~
|
61
|
+
|
62
|
+
2. Make a new file in the `tag` folder, using the same name you've used as the key / slug and change the `tag` and `permalink` entries.
|
63
|
+
|
64
|
+
Example `/tag/mytag.md`:
|
65
|
+
|
66
|
+
~~~yml
|
67
|
+
layout: blog-by-tag
|
68
|
+
tag: mytag
|
69
|
+
permalink: /tag/mytag/
|
70
|
+
~~~
|
71
|
+
|
72
|
+
3. Tag your blog posts using the `tags` key (color and image will only depend on the first tag).
|
73
|
+
|
74
|
+
~~~yml
|
75
|
+
layout: post
|
76
|
+
title: Introducing My New Tag
|
77
|
+
tags: [mytag, othertag]
|
78
|
+
~~~
|
79
|
+
|
80
|
+
4. (optional) Add the tag to the sidebar, by adding it to `sidebar_tags` in `_config.yml`.
|
81
|
+
They will appear in the listed order.
|
82
|
+
|
83
|
+
~~~yml
|
84
|
+
sidebar_tags: [mytag, othertag]
|
85
|
+
~~~
|
86
|
+
|
87
|
+
[tag]: http://www.minddust.com/post/tags-and-categories-on-github-pages/
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% if page.author %}
|
2
|
+
{% assign author = site.data.authors[page.author] %}
|
3
|
+
{% elsif site.author.authors_key %}
|
4
|
+
{% assign author = site.data.authors[site.author.authors_key] %}
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
{% if author.about %}
|
8
|
+
<aside class="author" role="complementary">
|
9
|
+
{% capture heading %}<h2>About</h2>{% endcapture %}
|
10
|
+
{% include about-short.html heading=heading author=author %}
|
11
|
+
<div class="sidebar-social">
|
12
|
+
{% include social.html social=author.social %}
|
13
|
+
</div>
|
14
|
+
</aside>
|
15
|
+
{% endif %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<aside class="comments" role="complementary">
|
2
|
+
<h2>Comments</h2>
|
3
|
+
<hr/>
|
4
|
+
|
5
|
+
<div id="disqus_thread"></div>
|
6
|
+
|
7
|
+
<script>
|
8
|
+
{% include scripts/load-disqus.min.js %}
|
9
|
+
</script>
|
10
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
11
|
+
</aside>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/* __ __ __ __
|
2
|
+
* /\ \/\ \ /\ \ __ /\ \
|
3
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
4
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
5
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
6
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
7
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
8
|
+
* /\___/ \ \____/
|
9
|
+
* \/__/ \/___/
|
10
|
+
*
|
11
|
+
* Copyright (c) 2017 Florian Klampfer.
|
12
|
+
* Licensed under MIT.
|
13
|
+
* Design: Hydejack by @qwtel. Get it at: https://qwtel.com/hydejack
|
14
|
+
* Version: 6.0.0-alpha
|
15
|
+
*/
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<footer>
|
2
|
+
<hr/>
|
3
|
+
<p>
|
4
|
+
<span>{{ site.copyright | default:"© 2017. All rights reserved." }}</span>
|
5
|
+
<br/>
|
6
|
+
<a class="code" href="https://qwtel.com/hydejack">
|
7
|
+
Made with
|
8
|
+
<span class="icon-droplet" title="Blood" style="color:#de6767"></span><span class="icon-droplet" title="Sweat" style="color:#66dcff"></span><span class="icon-droplet" title="Tears" style="color:#66beff"></span>
|
9
|
+
<span class="sr-only">blood, sweat and tears</span>
|
10
|
+
by
|
11
|
+
@qwtel
|
12
|
+
</a>
|
13
|
+
</p>
|
14
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
<meta charset="utf-8">
|
2
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
|
3
|
+
<meta name="format-detection" content="telephone=no">
|
4
|
+
<meta http-equiv="x-rim-auto-match" content="none">
|
5
|
+
|
6
|
+
{% capture title %}
|
7
|
+
{% if page.url == "/" %}
|
8
|
+
{{ site.title }} · {{ site.tagline }}
|
9
|
+
{% elsif page.title.size > 0 %}
|
10
|
+
{{ page.title }} · {{ site.title }}
|
11
|
+
{% else %}
|
12
|
+
{{ site.title }}
|
13
|
+
{% endif %}
|
14
|
+
{% endcapture %}
|
15
|
+
|
16
|
+
<title>{{ title | strip }}</title>
|
17
|
+
|
18
|
+
{% if page.description.size > 0 %}
|
19
|
+
{% assign description = page.description | markdownify %}
|
20
|
+
{% elsif page.excerpt.size > 0 %}
|
21
|
+
{% assign description = page.excerpt %}
|
22
|
+
{% else %}
|
23
|
+
{% assign description = site.description | markdownify %}
|
24
|
+
{% endif %}
|
25
|
+
<meta name="description" content="{{ description | strip_html | truncatewords: 50 }}">
|
26
|
+
|
27
|
+
<!-- =============== -->
|
28
|
+
<!-- LINKS -->
|
29
|
+
<!-- =============== -->
|
30
|
+
<link rel="canonical" href="{{ page.url | absolute_url }}" />
|
31
|
+
|
32
|
+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }} Feed" href="{{ site.feed.path | default:'feed.xml' | absolute_url }}">
|
33
|
+
|
34
|
+
{% if page.previous %}
|
35
|
+
<link rel="prev" href="{{ page.previous.url | absolute_url }}">
|
36
|
+
{% endif %}
|
37
|
+
|
38
|
+
{% if page.next %}
|
39
|
+
<link rel="next" href="{{ page.next.url | absolute_url }}">
|
40
|
+
{% endif %}
|
41
|
+
|
42
|
+
<!-- =============== -->
|
43
|
+
<!-- STYLES -->
|
44
|
+
<!-- =============== -->
|
45
|
+
<!--[if gt IE 8]><!---->
|
46
|
+
<style>
|
47
|
+
{% capture include_to_scssify %}
|
48
|
+
{% include styles/inline.scss %}
|
49
|
+
{% endcapture %}
|
50
|
+
{{ include_to_scssify | scssify }}
|
51
|
+
</style>
|
52
|
+
|
53
|
+
{% capture style_url %}/assets/css/hydejack.css?v=6.0.0-alpha{% endcapture %}
|
54
|
+
<link rel="preload" href="{{ style_url | relative_url }}" as="style" onload="this.rel='stylesheet'">
|
55
|
+
|
56
|
+
{% include page-style.html %}
|
57
|
+
|
58
|
+
{% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
|
59
|
+
|
60
|
+
<noscript>
|
61
|
+
<link rel="stylesheet" href="{{ style_url | relative_url }}">
|
62
|
+
|
63
|
+
{% if google_fonts.size > 0 %}
|
64
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ site.google_fonts }}">
|
65
|
+
<style>
|
66
|
+
html { font-family: {{ site.font }} }
|
67
|
+
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ site.font_heading }} }
|
68
|
+
</style>
|
69
|
+
{% endif %}
|
70
|
+
|
71
|
+
<link rel="stylesheet" href="{{ '/assets/icomoon/style.css' | relative_url }}">
|
72
|
+
</noscript>
|
73
|
+
<!--<![endif]-->
|
74
|
+
|
75
|
+
<!-- =============== -->
|
76
|
+
<!-- SCRIPTS -->
|
77
|
+
<!-- =============== -->
|
78
|
+
<script>
|
79
|
+
window._version = '6.0.0-alpha';
|
80
|
+
{% include scripts/load-js-deferred.min.js %}
|
81
|
+
{% include scripts/loadCSS.min.js %}
|
82
|
+
{% include scripts/cssrelpreload.min.js %}
|
83
|
+
</script>
|
84
|
+
|
85
|
+
<!--[if lt IE 9]>
|
86
|
+
<script src="https://unpkg.com/html5shiv/dist/html5shiv.min.js"></script>
|
87
|
+
<![endif]-->
|
data/_includes/link.html
ADDED
data/_includes/menu.html
ADDED
data/_includes/nav.html
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
<span class="sr-only">Navigation:</span>
|
2
|
+
<ul>
|
3
|
+
{% assign pages = site.pages %}
|
4
|
+
|
5
|
+
{% for document in site.documents %}
|
6
|
+
{% assign pages = pages | push: document %}
|
7
|
+
{% endfor %}
|
8
|
+
|
9
|
+
{% assign pages = pages | where: "menu", true | sort: "order" %}
|
10
|
+
|
11
|
+
{% for node in pages %}
|
12
|
+
<li>
|
13
|
+
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url | relative_url }}">{{ node.title }}</a>
|
14
|
+
</li>
|
15
|
+
{% endfor %}
|
16
|
+
</ul>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<style id="_pageStyle">
|
2
|
+
.content a {
|
3
|
+
color: {{ color }};
|
4
|
+
}
|
5
|
+
|
6
|
+
:focus {
|
7
|
+
outline-color: {{ color }};
|
8
|
+
}
|
9
|
+
|
10
|
+
::selection {
|
11
|
+
color: #fff;
|
12
|
+
background: {{ color }};
|
13
|
+
}
|
14
|
+
|
15
|
+
::-moz-selection {
|
16
|
+
color: #fff;
|
17
|
+
background: {{ color }};
|
18
|
+
}
|
19
|
+
</style>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<h2 class="sr-only">Pagination</h2>
|
2
|
+
<nav class="pagination heading" role="navigation">
|
3
|
+
<ul>
|
4
|
+
<li class="pagination-item older" >
|
5
|
+
{% if paginator.next_page %}
|
6
|
+
<a rel="next" href="{{ paginator.next_page_path | relative_url }}">Older</a>
|
7
|
+
{% else %}
|
8
|
+
<span>Older</span>
|
9
|
+
{% endif %}
|
10
|
+
</li>
|
11
|
+
<li class="pagination-item newer" >
|
12
|
+
{% if paginator.previous_page %}
|
13
|
+
<a rel="prev" href="{{ paginator.previous_page_path | relative_url }}">Newer</a>
|
14
|
+
{% else %}
|
15
|
+
<span>Newer</span>
|
16
|
+
{% endif %}
|
17
|
+
</li>
|
18
|
+
</ul>
|
19
|
+
</nav>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% assign post = include.post %}
|
2
|
+
|
3
|
+
<li class="h4">
|
4
|
+
<a href="{{ post.url | relative_url }}" data-flip="title">
|
5
|
+
<span>{{ post.title }}</span>
|
6
|
+
</a>
|
7
|
+
<small><time datetime="{{ post.date | date_to_xmlschema }}">
|
8
|
+
{{ post.date | date: include.format }}
|
9
|
+
</time></small>
|
10
|
+
</li>
|
data/_includes/post.html
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
{% assign post = include.post %}
|
2
|
+
|
3
|
+
<article id="post-{{ post.id | slice: 1,9999 }}" class="post" role="article">
|
4
|
+
<header>
|
5
|
+
<h1 class="post-title">
|
6
|
+
{% if include.link_title %}<a href="{{ post.url | relative_url }}" data-flip="title">{% endif %}
|
7
|
+
{{ post.title }}
|
8
|
+
{% if include.link_title %}</a>{% endif %}
|
9
|
+
</h1>
|
10
|
+
|
11
|
+
{% capture categories_content %}
|
12
|
+
{% include tag-list.html tags=post.categories meta=site.featured_categories start_with="in " separator=" / " %}
|
13
|
+
{% endcapture %}
|
14
|
+
|
15
|
+
{% capture tags_content %}
|
16
|
+
{% include tag-list.html tags=post.tags meta=site.featured_tags start_with="on " separator=", " %}
|
17
|
+
{% endcapture %}
|
18
|
+
|
19
|
+
<p class="post-date heading">
|
20
|
+
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%m/%d/%y" }}</time>
|
21
|
+
<span>{{ categories_content }} {{ tags_content }}</span>
|
22
|
+
</p>
|
23
|
+
</header>
|
24
|
+
|
25
|
+
{% include message.html text=post.description %}
|
26
|
+
|
27
|
+
{% unless include.excerpt %}
|
28
|
+
{{ post.content }}
|
29
|
+
{% else %}
|
30
|
+
{{ post.excerpt }}
|
31
|
+
<hr/>
|
32
|
+
<span class="heading faded">Continue reading <a href="{{ post.url | relative_url }}" data-flip="title">{{ post.title }}</a> »</span>
|
33
|
+
{% endunless %}
|
34
|
+
|
35
|
+
</article>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{% assign project = include.project %}
|
2
|
+
|
3
|
+
<div class="card">
|
4
|
+
<a href="{{ project.url | relative_url }}" class="no-hover" data-flip="project">
|
5
|
+
<div class="img sixteen-nine">
|
6
|
+
{% if project.screenshot %}
|
7
|
+
{% include srcset-img.html img=project.screenshot alt="Thumbnail" sizes="(min-width: 608px) 22.5rem, 100vw" %}
|
8
|
+
{% endif %}
|
9
|
+
</div>
|
10
|
+
</a>
|
11
|
+
<h3 class="name">
|
12
|
+
<a href="{{ project.url | relative_url }}" data-flip="title">{{ project.title }}</a>
|
13
|
+
</h3>
|
14
|
+
{% if project.caption %}
|
15
|
+
<div class="caption">{{ project.caption | markdownify }}</div>
|
16
|
+
{% endif %}
|
17
|
+
</div>
|