jekyll-theme-munky 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +388 -0
- data/_includes/disqus_comments.html +17 -0
- data/_includes/footer.html +96 -0
- data/_includes/github_buttons.html +23 -0
- data/_includes/google_analytics.html +11 -0
- data/_includes/head.html +36 -0
- data/_includes/header.html +29 -0
- data/_includes/image.html +17 -0
- data/_includes/share_buttons.html +39 -0
- data/_includes/sidebar.html +77 -0
- data/_layouts/about.html +75 -0
- data/_layouts/blog.html +19 -0
- data/_layouts/default.html +54 -0
- data/_layouts/page.html +11 -0
- data/_layouts/photography.html +24 -0
- data/_layouts/post.html +89 -0
- data/_layouts/projects.html +41 -0
- data/_sass/font-awesome/_animated.scss +34 -0
- data/_sass/font-awesome/_bordered-pulled.scss +25 -0
- data/_sass/font-awesome/_core.scss +12 -0
- data/_sass/font-awesome/_fixed-width.scss +6 -0
- data/_sass/font-awesome/_icons.scss +789 -0
- data/_sass/font-awesome/_larger.scss +13 -0
- data/_sass/font-awesome/_list.scss +19 -0
- data/_sass/font-awesome/_mixins.scss +60 -0
- data/_sass/font-awesome/_path.scss +15 -0
- data/_sass/font-awesome/_rotated-flipped.scss +20 -0
- data/_sass/font-awesome/_screen-reader.scss +5 -0
- data/_sass/font-awesome/_stacked.scss +20 -0
- data/_sass/font-awesome/_variables.scss +800 -0
- data/_sass/font-awesome/font-awesome.scss +18 -0
- data/_sass/munky.scss +43 -0
- data/_sass/munky/_about.scss +20 -0
- data/_sass/munky/_base.scss +335 -0
- data/_sass/munky/_blog.scss +14 -0
- data/_sass/munky/_footer.scss +37 -0
- data/_sass/munky/_github-buttons.scss +19 -0
- data/_sass/munky/_header.scss +83 -0
- data/_sass/munky/_icons.scss +50 -0
- data/_sass/munky/_photography.scss +61 -0
- data/_sass/munky/_post.scss +74 -0
- data/_sass/munky/_projects.scss +65 -0
- data/_sass/munky/_share-buttons.scss +28 -0
- data/_sass/munky/_sidebar.scss +192 -0
- data/_sass/munky/_syntax-highlighting.scss +74 -0
- data/assets/css/main.scss +11 -0
- data/assets/css/simplelightbox.scss +289 -0
- data/assets/fonts/font-awesome/FontAwesome.otf +0 -0
- data/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
- data/assets/fonts/font-awesome/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
- data/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
- data/assets/images/logo-transparent.png +0 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/profile-small.jpg +0 -0
- data/assets/images/profile.jpg +0 -0
- data/assets/javascripts/gallery.js +5 -0
- data/assets/javascripts/jquery-3.1.1.min.js +4 -0
- data/assets/javascripts/simple-lightbox.min.js +5 -0
- metadata +176 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<ul class="github-buttons">
|
|
2
|
+
<li>
|
|
3
|
+
<a href="https://github.com/{{ site.github.username }}/{{ page.repo }}/"
|
|
4
|
+
class="btn-classic" rel="nofollow" title="Star on Github">
|
|
5
|
+
<i class="fa fa-github" aria-hidden="true"></i>
|
|
6
|
+
Star
|
|
7
|
+
</a>
|
|
8
|
+
</li>
|
|
9
|
+
<li>
|
|
10
|
+
<a href="https://github.com/{{ site.github.username }}/{{ page.repo }}/fork/"
|
|
11
|
+
class="btn-classic" rel="nofollow" title="Fork on Github">
|
|
12
|
+
<i class="fa fa-code-fork" aria-hidden="true"></i>
|
|
13
|
+
Fork
|
|
14
|
+
</a>
|
|
15
|
+
</li>
|
|
16
|
+
<li>
|
|
17
|
+
<a href="https://github.com/{{ site.github.username }}/{{ page.repo }}/archive/master.zip"
|
|
18
|
+
class="btn-classic" rel="nofollow" title="Download from Github">
|
|
19
|
+
<i class="fa fa-download" aria-hidden="true"></i>
|
|
20
|
+
Download
|
|
21
|
+
</a>
|
|
22
|
+
</li>
|
|
23
|
+
</ul>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
5
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
6
|
+
|
|
7
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
|
8
|
+
ga('send', 'pageview');
|
|
9
|
+
|
|
10
|
+
</script>
|
|
11
|
+
|
data/_includes/head.html
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
|
7
|
+
|
|
8
|
+
{% if page.custom_css %}
|
|
9
|
+
{% for stylesheet in page.custom_css %}
|
|
10
|
+
<link rel="stylesheet" href="/assets/css/{{ stylesheet }}.css" media="screen" type="text/css">
|
|
11
|
+
{% endfor %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
|
|
14
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
|
15
|
+
|
|
16
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
17
|
+
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
|
|
18
|
+
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
|
|
19
|
+
<link rel="manifest" href="/manifest.json">
|
|
20
|
+
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
|
21
|
+
<meta name="theme-color" content="#ffffff">
|
|
22
|
+
|
|
23
|
+
{% if jekyll.environment == 'production' and site.google_analytics %}
|
|
24
|
+
{% include google_analytics.html %}
|
|
25
|
+
{% endif %}
|
|
26
|
+
|
|
27
|
+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
28
|
+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
29
|
+
<!--[if lt IE 9]>
|
|
30
|
+
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
|
31
|
+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
32
|
+
<![endif]-->
|
|
33
|
+
|
|
34
|
+
{% seo %}
|
|
35
|
+
|
|
36
|
+
</head>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<header role="banner">
|
|
2
|
+
<a href="{{ "/" | relative_url}}">
|
|
3
|
+
<img src="{{ "/assets/images/logo-transparent.png" | relative_url }}" alt="{{ site.title | escape }}" class="center-block">
|
|
4
|
+
</a>
|
|
5
|
+
<nav role="navigation">
|
|
6
|
+
<ul>
|
|
7
|
+
<li>
|
|
8
|
+
<a href="/" {% if page.type == "post" or page.title == "Blog" %} class="active" {% endif %}>
|
|
9
|
+
Blog
|
|
10
|
+
</a>
|
|
11
|
+
</li>
|
|
12
|
+
<li>
|
|
13
|
+
<a href="/projects/" {% if page.type == "project" or page.title == "Projects" %} class="active" {% endif %}>
|
|
14
|
+
Projects
|
|
15
|
+
</a>
|
|
16
|
+
</li>
|
|
17
|
+
<li>
|
|
18
|
+
<a href="/photography/" {% if page.title == "Photography" %} class="active" {% endif %}>
|
|
19
|
+
Photography
|
|
20
|
+
</a>
|
|
21
|
+
</li>
|
|
22
|
+
<li>
|
|
23
|
+
<a href="/about/" {% if page.title == "About Me" %} class="active" {% endif %}>
|
|
24
|
+
About Me
|
|
25
|
+
</a>
|
|
26
|
+
</li>
|
|
27
|
+
</ul>
|
|
28
|
+
</nav>
|
|
29
|
+
</header>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{% if page.type == "post" %}
|
|
2
|
+
{% capture imagePath %}{{ page.date | date: "%Y-%m-%d" }}-{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
|
|
3
|
+
{% capture directory %}posts{% endcapture %}
|
|
4
|
+
{% elsif page.type == "project" %}
|
|
5
|
+
{% capture imagePath %}{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
|
|
6
|
+
{% capture directory %}projects{% endcapture %}
|
|
7
|
+
{% endif %}
|
|
8
|
+
{% if include.caption %}
|
|
9
|
+
<figure {% if include.center %} class="center" {% endif %}>
|
|
10
|
+
<img src="/assets/images/{{ directory }}/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} />
|
|
11
|
+
<figcaption>{{ include.caption }}</figcaption>
|
|
12
|
+
</figure>
|
|
13
|
+
{% else %}
|
|
14
|
+
<img src="/assets/images/{{ directory }}/{{ imagePath }}"
|
|
15
|
+
{% if include.alt %} alt="{{ include.alt }}" {% endif %}
|
|
16
|
+
{% if include.center %} class="center" {% endif %} />
|
|
17
|
+
{% endif %}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<h3>Share</h3>
|
|
2
|
+
|
|
3
|
+
<ul class="share-icons">
|
|
4
|
+
<li>
|
|
5
|
+
<a href="https://facebook.com/sharer.php?u={{ site.url }}{{ page.url }}"
|
|
6
|
+
rel="nofollow" title="Share on Facebook">
|
|
7
|
+
<i class="fa fa-facebook-official" aria-hidden="true"></i>
|
|
8
|
+
</a>
|
|
9
|
+
</li>
|
|
10
|
+
<li>
|
|
11
|
+
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}"
|
|
12
|
+
rel="nofollow" title="Share on Twitter">
|
|
13
|
+
<i class="fa fa-twitter-square" aria-hidden="true"></i>
|
|
14
|
+
</a>
|
|
15
|
+
</li>
|
|
16
|
+
<li>
|
|
17
|
+
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}"
|
|
18
|
+
rel="nofollow" title="Share on Google+">
|
|
19
|
+
<i class="fa fa-google-plus-square" aria-hidden="true"></i>
|
|
20
|
+
</a>
|
|
21
|
+
</li>
|
|
22
|
+
<li>
|
|
23
|
+
<a href="http://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ page.url }}&title={{ page.title }}&summary={{ page.excerp }}&source={{ site.url }}"
|
|
24
|
+
rel="nofollow" title="Share on LinkedIn">
|
|
25
|
+
<i class="fa fa-linkedin-square" aria-hidden="true"></i>
|
|
26
|
+
</a>
|
|
27
|
+
</li>
|
|
28
|
+
<li>
|
|
29
|
+
<a href="mailto:?subject=Shared%20from%20{{ site.url }}&body={{ site.url }}{{ page.url }}"
|
|
30
|
+
rel="nofollow" title="Share by mail">
|
|
31
|
+
<i class="fa fa-envelope-o" aria-hidden="true"></i>
|
|
32
|
+
</a>
|
|
33
|
+
</li>
|
|
34
|
+
<li>
|
|
35
|
+
<a rel="nofollow" href="javascript:window.print()" title="Print this page">
|
|
36
|
+
<i class="fa fa-print" aria-hidden="true"></i>
|
|
37
|
+
</a>
|
|
38
|
+
</li>
|
|
39
|
+
</ul>
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<div class="sidebar col-100">
|
|
2
|
+
<div itemscope="" itemtype="http://schema.org/Person">
|
|
3
|
+
<div class="author__avatar">
|
|
4
|
+
<img src="{{ "/assets/images/profile-small.jpg" | relative_url }}" class="author__avatar" alt="{{ site.author.name | escape }}" itemprop="image">
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div class="author__content">
|
|
8
|
+
<h3 class="author__name" itemprop="name">{{ site.author.name | escape }}</h3>
|
|
9
|
+
|
|
10
|
+
<p class="author__bio" itemprop="description">
|
|
11
|
+
{{ site.author.bio | escape }}
|
|
12
|
+
</p>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<div class="author__urls-wrapper">
|
|
16
|
+
<button class="btn">Follow</button>
|
|
17
|
+
<ul class="author__urls social-icons">
|
|
18
|
+
|
|
19
|
+
<li itemprop="homeLocation" itemscope="" itemtype="http://schema.org/Place">
|
|
20
|
+
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">{{ site.author.location | escape }}</span>
|
|
21
|
+
</li>
|
|
22
|
+
|
|
23
|
+
<li>
|
|
24
|
+
<a class="email reverse" href="" title="Send me an email" itemprop="sameAs">
|
|
25
|
+
<i class="fa fa-fw fa-envelope-o" aria-hidden="true"></i> Email
|
|
26
|
+
</a>
|
|
27
|
+
</li>
|
|
28
|
+
|
|
29
|
+
{% if site.linkedin.username %}
|
|
30
|
+
<li>
|
|
31
|
+
<a class="reverse" href="https://www.linkedin.com/in/{{ site.linkedin.username }}"
|
|
32
|
+
itemprop="sameAs" title="Follow me on LinkedIn">
|
|
33
|
+
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn
|
|
34
|
+
</a>
|
|
35
|
+
</li>
|
|
36
|
+
{% endif %}
|
|
37
|
+
|
|
38
|
+
{% if site.github.username %}
|
|
39
|
+
<li>
|
|
40
|
+
<a class="reverse" href="https://github.com/{{ site.github.username }}"
|
|
41
|
+
itemprop="sameAs" title="Follow me on GitHub">
|
|
42
|
+
<i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub
|
|
43
|
+
</a>
|
|
44
|
+
</li>
|
|
45
|
+
{% endif %}
|
|
46
|
+
|
|
47
|
+
{% if site.flickr.username %}
|
|
48
|
+
<li>
|
|
49
|
+
<a class="reverse" href="https://www.flickr.com/photos/{{ site.flickr.username }}/"
|
|
50
|
+
itemprop="sameAs" title="Connect with me on Flickr">
|
|
51
|
+
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr
|
|
52
|
+
</a>
|
|
53
|
+
</li>
|
|
54
|
+
{% endif %}
|
|
55
|
+
|
|
56
|
+
{% if site.twitter.username %}
|
|
57
|
+
<li>
|
|
58
|
+
<a class="reverse" href="https://twitter.com/{{ site.twitter.username }}/"
|
|
59
|
+
itemprop="sameAs" title="Follow me on Twitter">
|
|
60
|
+
<i class="fa fa-fw fa-twitter" aria-hidden="true"></i> Twitter
|
|
61
|
+
</a>
|
|
62
|
+
</li>
|
|
63
|
+
{% endif %}
|
|
64
|
+
|
|
65
|
+
{% if site.instagram.username %}
|
|
66
|
+
<li>
|
|
67
|
+
<a class="reverse" href="https://www.instagram.com/{{ site.instagram.username }}/"
|
|
68
|
+
itemprop="sameAs" title="Connect with me on Instagram">
|
|
69
|
+
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram
|
|
70
|
+
</a>
|
|
71
|
+
</li>
|
|
72
|
+
{% endif %}
|
|
73
|
+
|
|
74
|
+
</ul>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
data/_layouts/about.html
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<article id="about">
|
|
7
|
+
<figure>
|
|
8
|
+
<div class="col-50">
|
|
9
|
+
<img class="responsive" src="{{ "/assets/images/profile.jpg" | relative_url }}" alt="{{ site.author.name | escape }}">
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<figcaption class="col-50">
|
|
13
|
+
<h1>{{ page.title | escape }}</h1>
|
|
14
|
+
<h5>{{ page.caption }}</h5>
|
|
15
|
+
|
|
16
|
+
{{ content }}
|
|
17
|
+
|
|
18
|
+
<ul class="social-icons">
|
|
19
|
+
|
|
20
|
+
<li>
|
|
21
|
+
<a class="email" href="" itemprop="sameAs" title="Send me an email">
|
|
22
|
+
<i class="fa fa-fw fa-envelope-o" aria-hidden="true"></i>
|
|
23
|
+
</a>
|
|
24
|
+
</li>
|
|
25
|
+
|
|
26
|
+
{% if site.linkedin.username %}
|
|
27
|
+
<li>
|
|
28
|
+
<a href="https://www.linkedin.com/in/{{ site.linkedin.username }}"
|
|
29
|
+
itemprop="sameAs" title="Follow me on LinkedIn">
|
|
30
|
+
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i>
|
|
31
|
+
</a>
|
|
32
|
+
</li>
|
|
33
|
+
{% endif %}
|
|
34
|
+
|
|
35
|
+
{% if site.github.username %}
|
|
36
|
+
<li>
|
|
37
|
+
<a href="https://github.com/{{ site.github.username }}"
|
|
38
|
+
itemprop="sameAs" title="Follow me on GitHub">
|
|
39
|
+
<i class="fa fa-fw fa-github" aria-hidden="true"></i>
|
|
40
|
+
</a>
|
|
41
|
+
</li>
|
|
42
|
+
{% endif %}
|
|
43
|
+
|
|
44
|
+
{% if site.flickr.username %}
|
|
45
|
+
<li>
|
|
46
|
+
<a href="https://www.flickr.com/photos/{{ site.flickr.username }}/"
|
|
47
|
+
itemprop="sameAs" title="Connect with me on Flickr">
|
|
48
|
+
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i>
|
|
49
|
+
</a>
|
|
50
|
+
</li>
|
|
51
|
+
{% endif %}
|
|
52
|
+
|
|
53
|
+
{% if site.instagram.username %}
|
|
54
|
+
<li>
|
|
55
|
+
<a href="https://www.instagram.com/{{ site.instagram.username }}/"
|
|
56
|
+
itemprop="sameAs" title="Connect with me on Instagram">
|
|
57
|
+
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i>
|
|
58
|
+
</a>
|
|
59
|
+
</li>
|
|
60
|
+
{% endif %}
|
|
61
|
+
|
|
62
|
+
{% if site.twitter.username %}
|
|
63
|
+
<li>
|
|
64
|
+
<a href="https://twitter.com/{{ site.twitter.username }}/"
|
|
65
|
+
itemprop="sameAs" title="Follow me on Twitter">
|
|
66
|
+
<i class="fa fa-fw fa-twitter" aria-hidden="true"></i>
|
|
67
|
+
</a>
|
|
68
|
+
</li>
|
|
69
|
+
{% endif %}
|
|
70
|
+
|
|
71
|
+
</ul>
|
|
72
|
+
|
|
73
|
+
</figcaption>
|
|
74
|
+
</figure>
|
|
75
|
+
</article>
|
data/_layouts/blog.html
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<section id="articles">
|
|
6
|
+
|
|
7
|
+
{% for post in site.posts %}
|
|
8
|
+
<article class="col-100">
|
|
9
|
+
<h1 class="title"><a class="reverse" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h1>
|
|
10
|
+
<time datetime="{{post.date}}" pubdate="pubdate">
|
|
11
|
+
Published on
|
|
12
|
+
<span>{{ post.date | date: "%b %-d, %Y" }}</span>
|
|
13
|
+
</time>
|
|
14
|
+
<p>{{ post.excerpt | strip_html | truncatewords: 45, '...' }}</p>
|
|
15
|
+
<a href="{{ post.url | relative_url }}" class="more">Read More</a>
|
|
16
|
+
</article>
|
|
17
|
+
{% endfor %}
|
|
18
|
+
|
|
19
|
+
</section>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
|
3
|
+
|
|
4
|
+
{% include head.html %}
|
|
5
|
+
|
|
6
|
+
<body>
|
|
7
|
+
|
|
8
|
+
{% include header.html %}
|
|
9
|
+
|
|
10
|
+
<main role=main class="group {% if page.text %}text{% endif %}">
|
|
11
|
+
|
|
12
|
+
{% if page.sidebar %}
|
|
13
|
+
|
|
14
|
+
{% include sidebar.html %}
|
|
15
|
+
|
|
16
|
+
{% endif %}
|
|
17
|
+
|
|
18
|
+
{{ content }}
|
|
19
|
+
|
|
20
|
+
</main>
|
|
21
|
+
|
|
22
|
+
{% include footer.html %}
|
|
23
|
+
|
|
24
|
+
<script src="{{ "/assets/javascripts/jquery-3.1.1.min.js" | relative_url }}"></script>
|
|
25
|
+
|
|
26
|
+
{% if page.custom_js %}
|
|
27
|
+
{% for js_file in page.custom_js %}
|
|
28
|
+
<script src='/assets/javascripts/{{ js_file }}.js' type="text/javascript"></script>
|
|
29
|
+
{% endfor %}
|
|
30
|
+
{% endif %}
|
|
31
|
+
|
|
32
|
+
{% if page.sidebar %}
|
|
33
|
+
<script>
|
|
34
|
+
$('.author__urls-wrapper .btn').click(function() {
|
|
35
|
+
$(this).toggleClass("btn-active");
|
|
36
|
+
$('ul.author__urls').toggle();
|
|
37
|
+
});
|
|
38
|
+
</script>
|
|
39
|
+
{% endif %}
|
|
40
|
+
|
|
41
|
+
<script>
|
|
42
|
+
var last = "{{ site.email | split: '@' | last }}";
|
|
43
|
+
$('span#year').html(new Date().getFullYear());
|
|
44
|
+
var first = "{{ site.email | split: '@' | first }}";
|
|
45
|
+
$(document.links).filter(function() {
|
|
46
|
+
return this.hostname != window.location.hostname;
|
|
47
|
+
}).attr('target', '_blank');
|
|
48
|
+
var email = "mailto:" + first + '@' + last;
|
|
49
|
+
$('.email').attr("href", email);
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
</body>
|
|
53
|
+
|
|
54
|
+
</html>
|
data/_layouts/page.html
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<article class="col-100 heading">
|
|
6
|
+
|
|
7
|
+
<h1>{{ page.title | escape }}</h1>
|
|
8
|
+
|
|
9
|
+
{{ content }}
|
|
10
|
+
|
|
11
|
+
</article>
|
|
12
|
+
|
|
13
|
+
<section id="photos" class="group col-100">
|
|
14
|
+
{% for image in site.static_files %}
|
|
15
|
+
{% if image.path contains 'images/photography' and image.path contains 'thumb' %}
|
|
16
|
+
{% assign filename = image.path | replace: '_thumb', '' %}
|
|
17
|
+
<article class="gallery">
|
|
18
|
+
<a href="{{ site.baseurl }}{{ filename }}">
|
|
19
|
+
<img class="responsive" src="{{ site.baseurl }}{{ image.path }}" alt="image" />
|
|
20
|
+
</a>
|
|
21
|
+
</article>
|
|
22
|
+
{% endif %}
|
|
23
|
+
{% endfor %}
|
|
24
|
+
</section>
|
data/_layouts/post.html
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
<article class="article" itemscope itemtype="http://schema.org/BlogPosting">
|
|
5
|
+
|
|
6
|
+
{% if site.github.username and page.repo %}
|
|
7
|
+
<aside class="col-100 buttons">
|
|
8
|
+
|
|
9
|
+
{% include github_buttons.html %}
|
|
10
|
+
</aside>
|
|
11
|
+
{% elsif page.download %}
|
|
12
|
+
<aside class="col-100 buttons">
|
|
13
|
+
<a href="{{ "/assets/downloads/" | append: page.download | relative_url }}"
|
|
14
|
+
download target="_blank" class="btn-classic" rel="nofollow">
|
|
15
|
+
<i class="fa fa-download" aria-hidden="true"></i>
|
|
16
|
+
Download
|
|
17
|
+
</a>
|
|
18
|
+
</aside>
|
|
19
|
+
{% endif %}
|
|
20
|
+
|
|
21
|
+
<header class="col-100 heading">
|
|
22
|
+
|
|
23
|
+
<h1 class="title" itemprop="name headline">{{ page.title | escape }}</h1>
|
|
24
|
+
|
|
25
|
+
{% if page.type == "post" %}
|
|
26
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
|
27
|
+
Published on <span>{{ page.date | date: "%b %-d, %Y" }}</span>
|
|
28
|
+
</time>
|
|
29
|
+
{% endif %}
|
|
30
|
+
|
|
31
|
+
{% if page.last_modified_at %}
|
|
32
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
|
33
|
+
- Last modified on <span>{{ page.last_modified_at | date: "%b %-d, %Y" }}</span>
|
|
34
|
+
</time>
|
|
35
|
+
{% endif %}
|
|
36
|
+
|
|
37
|
+
{{ page.excerpt }}
|
|
38
|
+
|
|
39
|
+
</header>
|
|
40
|
+
|
|
41
|
+
<aside class="col-100">
|
|
42
|
+
{% include share_buttons.html %}
|
|
43
|
+
</aside>
|
|
44
|
+
|
|
45
|
+
<div class="col-100 post-content" itemprop="articleBody">
|
|
46
|
+
{{ content | remove_first:page.excerpt }}
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
{% if site.github.username and page.repo %}
|
|
50
|
+
<aside class="col-100 buttons bottom">
|
|
51
|
+
{% include github_buttons.html %}
|
|
52
|
+
</aside>
|
|
53
|
+
{% elsif page.download %}
|
|
54
|
+
<aside class="col-100 buttons bottom">
|
|
55
|
+
<a href="{{ "/assets/downloads/" | append: page.download | relative_url }}"
|
|
56
|
+
download target="_blank" class="btn-classic" rel="nofollow">
|
|
57
|
+
<i class="fa fa-download" aria-hidden="true"></i>
|
|
58
|
+
Download
|
|
59
|
+
</a>
|
|
60
|
+
</aside>
|
|
61
|
+
{% endif %}
|
|
62
|
+
|
|
63
|
+
<aside class="col-100">
|
|
64
|
+
{% include share_buttons.html %}
|
|
65
|
+
</aside>
|
|
66
|
+
|
|
67
|
+
{% if page.tags.size > 0 %}
|
|
68
|
+
<div class="tags-links col-100">
|
|
69
|
+
<span><i class="fa fa-tags"></i> Tags</span>
|
|
70
|
+
<span>{{ page.tags | join: ', ' }}</span>
|
|
71
|
+
</div>
|
|
72
|
+
{% endif %}
|
|
73
|
+
|
|
74
|
+
<div id="more" class="col-100">
|
|
75
|
+
{% if page.type == "post" %}
|
|
76
|
+
<a href="{{ site.baseurl }}{% link index.md %}" class="btn btn-secondary-reverse">
|
|
77
|
+
More Articles
|
|
78
|
+
</a>
|
|
79
|
+
{% elsif page.type == "project" %}
|
|
80
|
+
<a href="{{ site.baseurl }}{% link projects.md %}" class="btn btn-secondary-reverse">
|
|
81
|
+
More Projects
|
|
82
|
+
</a>
|
|
83
|
+
{% endif %}
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
{% if jekyll.environment == 'production' and site.disqus.shortname %}
|
|
87
|
+
{% include disqus_comments.html %}
|
|
88
|
+
{% endif %}
|
|
89
|
+
</article>
|