Skip to content

Commit 504dfc0

Browse files
author
jenniferhaigh
committed
Beginnings of a Blog
0 parents  commit 504dfc0

File tree

111 files changed

+7771
-0
lines changed

Some content is hidden

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

111 files changed

+7771
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site/
2+
.sass-cache/
3+
.jekyll-metadata

404.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: page
3+
title: "404"
4+
permalink: /404
5+
comments: false
6+
---
7+
<p>There doesn't appear to be anything here. Sorry about that.</p>
8+
<p>If you've followed a link expecting something to be here, you can <a href="mailto:{{ site.email }}?subject=Page%20not%20found">contact me</a>.</p>

Gemfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 3.2.1"
4+
gem "jekyll-sitemap"
5+
gem "jekyll-gist"
6+
gem 'jekyll-mentions'
7+
gem 'jekyll-feed'

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Taylan Tatlı
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.

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Moon Jekyll Theme [![Donate](https://img.shields.io/badge/paypal-donate-blue.svg)](https://www.paypal.me/taylantatli/0usd)
2+
3+
## `Sorry guys but there will be no update until I buy a new laptop.`
4+
5+
######(If you like this theme or using it, please give a :star: for motivation.)
6+
7+
**[Moon](https://taylantatli.github.io/Moon)** is a minimal, one column jekyll theme.
8+
9+
## Features
10+
* Minimal, you can focus on your content
11+
* Responsive
12+
* Disqus integration
13+
* Syntax highlighting
14+
* Optional post image
15+
* Social icons
16+
* Page for sharing projects
17+
* Optional background image
18+
* Simple navigation menu
19+
* MathJax support
20+
21+
## Preview
22+
23+
![screenshot of Moon](https://cloud.githubusercontent.com/assets/754514/14509720/61c61058-01d6-11e6-93ab-0918515ecd56.png)
24+
![screenshot of Moon](https://cloud.githubusercontent.com/assets/754514/14509716/61ac6c8e-01d6-11e6-879f-8308883de790.png)
25+
26+
See a [live version of Moon](https://taylantatli.github.io/Moon) hosted on GitHub.
27+
28+
## Getting Started
29+
30+
To learn how to install and use this theme check out the [Setup Guide](https://taylantatli.github.io/Moon/moon-theme/) for more information.

_config.yml

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Site
2+
title: Misadventures of a Baby Dev
3+
bio: 'I know how to code, sorta?'
4+
description: "A retelling of technical shenanigans and what was learned from them. In all seriousness, this is a blog to document what I've learned as a beginner developer and potentially help others."
5+
reading_time: true
6+
words_per_minute: 200
7+
logo: 'assets/img/logo.png'
8+
background: 'assets/img/placeholder-big.jpg'
9+
tiled_bg: false # Set this true if you want to tile your background image, otherwise it will be covered
10+
locale: en_US
11+
url: https://DebugSteven.github.io/
12+
13+
# Jekyll
14+
permalink: /:title/
15+
markdown: kramdown
16+
highlighter: rouge
17+
kramdown:
18+
auto_ids: true
19+
footnote_nr: 1
20+
entity_output: as_char
21+
toc_levels: 1..6
22+
enable_coderay: false
23+
mathjax: true
24+
sass:
25+
sass_dir: _sass
26+
style: compressed
27+
28+
# Comments
29+
#disqus_shortname: username
30+
31+
# Social
32+
# if you don't have any of social below, comment the line.
33+
#google:
34+
#plus: #username
35+
#analytics:
36+
#verify:
37+
#ad-client:
38+
#ad-slot:
39+
#bing-verify:
40+
41+
twitter: DebugSteven
42+
#facebook: username
43+
github-url: username
44+
#stackoverflow: 123456/username from a "http://stackoverflow.com/users/123456/username" link
45+
linkedin: j-haigh-a80988106
46+
#xing: username
47+
#instagram: username
48+
#lastfm: username
49+
#tumblr: username
50+
#medium: '@username'
51+
#pinterest: username
52+
#foursquare: username
53+
#steam: username
54+
#dribbble: username
55+
#youtube: username
56+
#youtube-channel: channel
57+
#soundcloud: username
58+
#weibo: username
59+
#flickr: username
60+
#codepen: username
61+
#keybase: username
62+
63+
#hackernews: username
64+
65+
# Gems
66+
gems:
67+
- jekyll-mentions
68+
- jekyll-feed
69+
- jekyll-sitemap
70+
- jekyll-gist
71+
72+
jekyll-mentions:
73+
base_url: https://twitter.com
74+
75+
# Exclude list
76+
exclude: [README.md, Gemfile, Gemfile.lock, node_modules, gulpfile.js, package.json, _site, src, vendor, CNAME, LICENSE, Rakefile]

_data/navigation.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Site navigation links
2+
3+
- title: Projects
4+
url: /projects/

_includes/disqus_comments.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{% if site.disqus_shortname %}
2+
<script type="text/javascript">
3+
var disqus_shortname = '{{ site.disqus_shortname }}';
4+
(function() {
5+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
6+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
7+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
8+
})();
9+
(function () {
10+
var s = document.createElement('script'); s.async = true;
11+
s.type = 'text/javascript';
12+
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
13+
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
14+
}());
15+
</script>
16+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
17+
{% endif %}

_includes/gallery

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{% assign images = include.images | split:" " %}
2+
{% assign caption = include.caption %}
3+
{% assign cols = include.cols %}
4+
5+
{% case cols %}
6+
{% when 1 %}
7+
{% assign class = "" %}
8+
{% when 2 %}
9+
{% assign class = "half" %}
10+
{% when 3 %}
11+
{% assign class = "third" %}
12+
{% else %}
13+
{% assign class = "" %}
14+
{% endcase %}
15+
16+
<figure {% if class != "" %}class="{{ class }}"{% endif %}>
17+
{% for image in images %}
18+
<a href="{{ image }}"><img src="{{ image }}" alt=""></a>
19+
{% endfor %}
20+
<figcaption>{{ caption }}</figcaption>
21+
</figure>

_includes/head.html

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<meta charset="UTF-8">
2+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
3+
<meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
4+
<title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}</title>
5+
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
6+
{% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %}
7+
<!-- Twitter Cards -->
8+
{% if page.feature %}{% capture feature %}{{ page.feature }}{% endcapture %}{% unless feature contains 'http://' or feature contains 'https://' %}{% capture feature %}{{ site.url }}/{{ feature }}{% endcapture %}{% endunless %}
9+
<meta name="twitter:card" content="summary_large_image">
10+
<meta name="twitter:image" content="{{ feature }}">
11+
{% else %}<meta name="twitter:card" content="summary">
12+
<meta name="twitter:image" content="{{ site.url }}/{{ site.logo }}">{% endif %}
13+
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
14+
{% if page.excerpt %}<meta name="twitter:description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
15+
{% if site.twitter %}<meta name="twitter:site" content="@{{ site.twitter }}">
16+
<meta name="twitter:creator" content="@{{ site.twitter }}">{% endif %}
17+
<!-- Open Graph -->
18+
<meta property="og:locale" content="{{ site.locale }}">
19+
<meta property="og:type" content="article">
20+
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
21+
{% if page.excerpt %}<meta property="og:description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
22+
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}">
23+
<meta property="og:site_name" content="{{ site.title }}">
24+
<meta property="og:image" content="{{ site.url }}/{{ site.logo }}">
25+
{% if site.google.verify %}
26+
<!-- Webmaster Tools verfication -->
27+
<meta name="google-site-verification" content="{{ site.google.verify }}">{% endif %}
28+
{% if site.bing-verify %} <meta name="msvalidate.01" content="{{ site.bing-verify }}">{% endif %}
29+
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
30+
<link rel="canonical" href="{{ canonical }}">
31+
<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
32+
<!-- Handheld -->
33+
<meta name="HandheldFriendly" content="True">
34+
<meta name="MobileOptimized" content="320">
35+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
36+
<!-- CSS -->
37+
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css">
38+
<!-- JS -->
39+
<script src="{{ site.url }}/assets/js/modernizr-3.3.1.custom.min.js"></script>
40+
<!-- Favicons -->
41+
<link rel="apple-touch-icon" href="{{ site.url }}/assets/img/favicons/apple-icon-precomposed.png">
42+
<link rel="apple-touch-icon" sizes="72x72" href="{{ site.url }}/assets/img/favicons/apple-icon-72x72.png">
43+
<link rel="apple-touch-icon" sizes="114x114" href="{{ site.url }}/assets/img/favicons/apple-icon-114x114.png">
44+
<link rel="apple-touch-icon" sizes="144x144" href="{{ site.url }}/assets/img/favicons/apple-icon-144x144.png">
45+
<link rel="shortcut icon" type="image/png" href="{{ site.url }}/favicon.png" />
46+
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico" />
47+
<!-- Background Image -->
48+
{% if site.background %}
49+
{% capture background %}{{ site.background }}{% endcapture %}
50+
{% unless background contains 'http://' or background contains 'https://' %}{% capture background %}{{ site.url }}/{{ background }}{% endcapture %}{% endunless %}
51+
<style type="text/css">body {background-image:url({{ background }}); {% unless site.tiled_bg %} background-repeat: no-repeat; background-size: cover; {% endunless %}}</style>
52+
{% endif %}
53+
<!-- Post Feature Image -->
54+
{% if page.feature %}
55+
{% capture feature %}{{ page.feature }}{% endcapture %}
56+
{% unless feature contains 'http://' or feature contains 'https://' %}{% capture feature %}{{ site.url }}/{{ feature }}{% endcapture %}{% endunless %}
57+
<style type="text/css">.feature {background-image:url({{ feature }});}</style>
58+
{% endif %}

_includes/meta.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<br>
2+
<hr>
3+
<span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags/#{{ tag }}" title="Pages tagged {{ tag }}" class="tag"><span class="term">{{ tag }}</span></a>{% unless forloop.last %}{% endunless %}{% endfor %}</span>
4+
<span class="social-share">
5+
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" title="Share on Facebook" class="tag">
6+
<span class="term"><i class="fa fa-facebook-square"></i> Share</span>
7+
</a>
8+
<a href="https://twitter.com/intent/tweet?text={{ site.url }}{{ page.url }}" title="Share on Twitter" class="tag">
9+
<span class="term"><i class="fa fa-twitter-square"></i> Tweet</span>
10+
</a>
11+
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" title="Share on Google+" class="tag">
12+
<span class="term"><i class="fa fa-google-plus-square"></i> +1</span>
13+
</a>
14+
</span>
15+
<div style="clear:both"></div>

_includes/nav.html

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<nav id="dl-menu" class="dl-menuwrapper" role="navigation">
2+
<button class="dl-trigger">Open Menu</button>
3+
<ul class="dl-menu">
4+
<li><a href="{{ site.url }}/">Home</a></li>
5+
<li>
6+
<a href="#">About</a>
7+
<ul class="dl-submenu">
8+
<li>
9+
<img src="{{ site.url }}/{{ site.logo }}" alt="{{ site.title }} photo" class="author-photo">
10+
<h4>{{ site.title }}</h4>
11+
<p>{{ site.description }}</p>
12+
</li>
13+
<li><a href="{{ site.url }}/about/"><span class="btn btn-inverse">Learn More</span></a></li>
14+
{% if site.email %}<li>
15+
<a href="mailto:{{ site.email }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-envelope-square"></i> Email</a>
16+
</li>{% endif %}
17+
{% if site.twitter %}<li>
18+
<a href="http://twitter.com/{{ site.twitter }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a>
19+
</li>{% endif %}
20+
{% if site.facebook %}<li>
21+
<a href="http://facebook.com/{{ site.facebook }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-facebook-square"></i> Facebook</a>
22+
</li>{% endif %}
23+
{% if site.google.plus %}<li>
24+
<a href="http://plus.google.com/+{{ site.google.plus }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-google-plus-square"></i> Google+</a>
25+
</li>{% endif %}
26+
{% if site.linkedin %}<li>
27+
<a href="http://linkedin.com/in/{{ site.linkedin }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-linkedin-square"></i> LinkedIn</a>
28+
</li>{% endif %}
29+
{% if site.xing %}<li>
30+
<a href="http://www.xing.com/profile/{{ site.xing }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-xing-square"></i> Xing</a>
31+
</li>{% endif %}
32+
{% if site.instagram %}<li>
33+
<a href="http://instagram.com/{{ site.instagram }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-instagram"></i> Instagram</a>
34+
</li>{% endif %}
35+
{% if site.tumblr %}<li>
36+
<a href="http://{{ site.tumblr }}.tumblr.com" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-tumblr-square"></i> Tumblr</a>
37+
</li>{% endif %}
38+
{% if site.github-url %}<li>
39+
<a href="http://github.com/{{ site.github-url }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-github"></i> Github</a>
40+
</li>{% endif %}
41+
{% if site.stackoverflow %}<li>
42+
<a href="http://stackoverflow.com/users/{{ site.stackoverflow }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-stack-overflow"></i> StackOverflow</a>
43+
</li>{% endif %}
44+
{% if site.lastfm %}<li>
45+
<a href="http://lastfm.com/user/{{ site.lastfm }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-music"></i> LastFm</a>
46+
</li>{% endif %}
47+
{% if site.dribbble %}<li>
48+
<a href="http://dribbble.com/{{ site.dribbble }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-dribbble"></i> Dribble</a>
49+
</li>{% endif %}
50+
{% if site.pinterest %}<li>
51+
<a href="http://www.pinterest.com/{{ site.pinterest }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-pinterest"></i> Pinterest</a>
52+
</li>{% endif %}
53+
{% if site.foursquare %}<li>
54+
<a href="http://foursquare.com/{{ site.foursquare }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-foursquare"></i> Foursquare</a>
55+
</li>{% endif %}
56+
{% if site.steam %}<li>
57+
<a href="http://steamcommunity.com/id/{{ site.steam }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-steam-square"></i> Steam</a>
58+
</li>{% endif %}
59+
{% if site.youtube %}<li>
60+
<a href="https://youtube.com/user/{{ site.youtube }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-youtube-square"></i> Youtube</a>
61+
</li>{% endif %}
62+
{% if site.youtube-channel %}<li>
63+
<a href="https://youtube.com/channel/{{ site.youtube-channel }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-youtube"></i> Youtube</a>
64+
</li>{% endif %}
65+
{% if site.soundcloud %}<li>
66+
<a href="http://soundcloud.com/{{ site.soundcloud }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-soundcloud"></i> SoundCloud</a>
67+
</li>{% endif %}
68+
{% if site.weibo %}<li>
69+
<a href="http://www.weibo.com/{{ site.weibo }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-weibo"></i> Weibo</a>
70+
</li>{% endif %}
71+
{% if site.flickr %}<li>
72+
<a href="http://www.flickr.com/{{ site.flickr }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-flickr"></i> Flickr</a>
73+
</li>{% endif %}
74+
{% if site.codepen %}<li>
75+
<a href="http://codepen.io/{{ site.codepen }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-codepen"></i> Codepen</a>
76+
</li>{% endif %}
77+
{% if site.keybase %}<li>
78+
<a href="https://keybase.io/{{ site.keybase }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-key"></i> Keybase</a>
79+
</li>{% endif %}
80+
{% if site.xmpp %}<li>
81+
<a href="xmpp:{{ site.xmpp }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-lightbulb-o"></i> XMPP</a>
82+
</li>{% endif %}
83+
{% if site.hackernews %}<li>
84+
<a href="https://news.ycombinator.com/user?id={{ site.hackernews }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-hacker-news"></i> Hacker News</a>
85+
</li>{% endif %}
86+
</ul><!-- /.dl-submenu -->
87+
</li>
88+
<li>
89+
<a href="#">Posts</a>
90+
<ul class="dl-submenu">
91+
<li><a href="{{ site.url }}/posts/">All Posts</a></li>
92+
<li><a href="{{ site.url }}/tags/">All Tags</a></li>
93+
</ul>
94+
</li>
95+
{% for link in site.data.navigation %}
96+
{% if link.url contains 'http' %}
97+
{% assign domain = '' %}
98+
{% else %}
99+
{% assign domain = site.url %}
100+
{% endif %}
101+
<li><a href="{{ domain }}{{ link.url }}" {% if link.url contains 'http' %}target="_blank" rel="noopener noreferrer"{% endif %}>{{ link.title }}</a></li>
102+
{% endfor %}
103+
</ul><!-- /.dl-menu -->
104+
</nav><!-- /.dl-menuwrapper -->

_includes/read-time.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% assign wpm = site.words_per_minute | append: '.0' %}
2+
{% assign readtime = content | strip_html | number_of_words | divided_by:wpm | round %}
3+
Reading time ~{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %}

0 commit comments

Comments
 (0)