Skip to content

Commit 6738560

Browse files
committed
Organized Theme › new include-folder called helper, corrected typography
1 parent d91e042 commit 6738560

29 files changed

+58
-136
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ font:
9696
# import: 'Gentium+Basic:400,400italic,700,700italic'
9797
# import: 'Fira+Sans:400,400italic,700,700italic|Fira+Mono'
9898
font-family-serif: 'Georgia, "Times New Roman", serif;'
99-
font-family-sans-serif: '"Source Sans", "Neue Helvetica", Arial, serif;'
100-
base-font-family: '"Source Sans", "Neue Helvetica", Arial, serif;'
99+
font-family-sans-serif: '"Source Sans Pro", "Neue Helvetica", Arial, serif;'
100+
base-font-family: '"Source Sans Pro", "Neue Helvetica", Arial, serif;'
101101
font-family-monospace: '"Source Code Pro", "Courier New", Monaco, monospace;'
102-
header-font-family: '"Source Sans", "Neue Helvetica", Arial, serif;'
102+
header-font-family: '"Source Sans Pro", "Neue Helvetica", Arial, serif;'
103103

104104

105105
# ______

_config_dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Start development with › $ jekyll serve --config _config.yml,_config_dev.yml
77

88
# url: 'http://localhost:4000'
9-
# baseurl: ''
9+
baseurl: ''
1010

1111
# See › https://github.com/jekyll/jekyll-gist#disabling-noscript-support
1212
gist:

_data/ui.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ en: &DEFAULT_EN
3737
subscribe_to_my_rss_feed : 'Subscribe to my RSS Feed'
3838
source : 'Source'
3939
check_out_link : 'Check out the link ›'
40+
enter_search_term : 'Enter search term and hit enter'
41+
search_results : 'Search Results'
42+
search : 'Search ›'
43+
search_input_placeholder : 'Search [Hit Tab and start writing]'
44+
try_404 : 'Try… '
45+
no_problem_404 : 'No Problem!'
46+
start_over_404 : '...to start over on the'
47+
search_below_404 : '...to **search** below '
48+
search_404 : 'Search'
4049

4150
en-US:
4251
<<: *DEFAULT_EN

_includes/_share.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

_includes/_1_head.html renamed to _includes/helper/_1_head.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
<link rel="stylesheet" href="{{ url }}/assets/css/simplicity.css">
3030
<link rel="canonical" href="{{ url }}{{ page.url }}">
3131
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ url }}/feed.xml">
32+
<link href='https://fonts.googleapis.com/css?family={{ site.font.import }}' rel='stylesheet' type='text/css'>
33+
3234

3335
<meta name="description" content="{{ description }}">
3436
<link type="text/plain" rel="author" href="{{ url }}/humans.txt">
@@ -58,7 +60,7 @@
5860
{% endif %}
5961

6062

61-
{% include _favicon.html %}
63+
{% include helper/_favicon.html %}
6264

6365
{% unless page.style == NULL %}<style type="text/css">{{ page.style }}</style>{% endunless %}
6466

File renamed without changes.

_includes/_4_footer.html renamed to _includes/helper/_4_footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<footer id="footer" class="row">
22
<nav id="navigation-footer" class="small-12 columns">
33
<ul class="inline-list">
4-
{% include _social_media_icons.html %}
4+
{% include helper/_social_media_icons.html %}
55
{% for nav in site.data.navigation_footer %}
66
{% if nav.url contains 'http' %}
77
{% assign domain = '' %}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

_includes/sitemap_collection.xml

Lines changed: 0 additions & 25 deletions
This file was deleted.

_layouts/archive.html

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
11
---
2-
layout: compress
2+
layout: default
33
format: archive
44
---
5-
{% include _1_head.html %}
6-
7-
{% include _2_topbar_navigation.html %}
8-
9-
{% include _3_masthead.html %}
10-
115
<div id="content" class="row">
12-
<div class="medium-8 medium-centered columns">
6+
<div class="medium-8 medium-centered columns">
137

14-
<h1>{{ page.title }}</h1>
8+
<h1>{{ page.title }}</h1>
159

16-
{{ content }}
10+
{{ content }}
1711

18-
<div class="bem2">
19-
{% include search %}
20-
</div>
12+
<div class="bem2">
13+
{% include search %}
14+
</div>
2115

22-
<ul class="toc">
23-
{% for post in site.posts %}
24-
<li><a href="{{ post.url | absolute_url }}">{% if post.subheadline %}<span>{{ post.subheadline }}</span>{% endif %}{{ post.title }}</a></li>
25-
{% endfor %}
26-
</ul>
16+
<ul class="toc">
17+
{% for post in site.posts %}
18+
<li><a href="{{ post.url | absolute_url }}">{% if post.subheadline %}<span>{{ post.subheadline }}</span>{% endif %}{{ post.title }}</a></li>
19+
{% endfor %}
20+
</ul>
2721

28-
</div>
22+
</div>
2923
</div><!-- /.row -->
30-
31-
{% include _4_footer.html %}
32-
33-
{% include _5_footer_scripts.html %}
34-
35-
</body>
36-
</html>

_layouts/default.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
layout: compress
33
---
4-
{% include _1_head.html %}
4+
{% include helper/_1_head.html %}
55

6-
{% include _2_topbar_navigation.html %}
6+
{% include helper/_2_topbar_navigation.html %}
77

8-
{% include _3_masthead.html %}
8+
{% include helper/_3_masthead.html %}
99

1010
{{ content }}
1111

12-
{% include _4_footer.html %}
12+
{% include helper/_4_footer.html %}
1313

14-
{% include _5_footer_scripts.html %}
14+
{% include helper/_5_footer_scripts.html %}
1515

1616
</body>
1717
</html>

_layouts/frontpage.html

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
---
2-
layout: compress
2+
layout: default
33
format: frontpage
44
---
5-
{% include _1_head.html %}
6-
7-
{% include _2_topbar_navigation.html %}
8-
9-
{% include _3_masthead.html %}
10-
115
<main role="main" id="content" class="row">
126
<div class="medium-8 medium-centered columns">
137

14-
158
{% for post in site.posts limit:site.posts_with_teaser_limit %}
169

1710
{% if post.video %}
@@ -88,10 +81,3 @@ <h2>{{ site.data.ui[site.lang].more_articles }}</h2>
8881
{{ content }}
8982
</div>
9083
</main><!-- /#content/.row -->
91-
92-
{% include _4_footer.html %}
93-
94-
{% include _5_footer_scripts.html %}
95-
96-
</body>
97-
</html>

_layouts/introduction.html

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
---
2-
layout: compress
2+
layout: default
33
format: introduction
44
---
5-
{% include _1_head.html %}
6-
7-
{% include _2_topbar_navigation.html %}
8-
9-
{% include _3_masthead.html %}
10-
115
<main role="main" id="content" class="row">
126
<div class="small-5 medium-4 columns">
137
{% if page.link %}
@@ -27,12 +21,4 @@
2721
<div class="introduction-text small-7 medium-7 end columns">
2822
{{ content }}
2923
</div>
30-
3124
</main><!-- /#content/.row -->
32-
33-
{% include _4_footer.html %}
34-
35-
{% include _5_footer_scripts.html %}
36-
37-
</body>
38-
</html>

_layouts/page.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta content="{{ site.data.ui[site.lang].html_language }}" itemprop="inLanguage" />
99
<header>
1010

11-
{% include _video_embed.html %}
11+
{% include helper/_video_embed.html %}
1212

1313
{% if page.video or page.embed %}
1414
{% elsif page.image %}
@@ -52,7 +52,7 @@ <h1 itemprop="name headline">{{ page.title | remove: '<p>' | remove: '</p>' }}</
5252

5353

5454
{% if page.comments == true %}
55-
{% include _comments.html %}
55+
{% include helper/_comments.html %}
5656
{% endif %}
5757

5858

@@ -67,7 +67,7 @@ <h1 itemprop="name headline">{{ page.title | remove: '<p>' | remove: '</p>' }}</
6767
{% endif %}
6868

6969

70-
{% include _pagination.html %}
70+
{% include helper/_pagination.html %}
7171
</article>
7272
</div>
7373
</main><!-- /.row -->

_posts/2015-11-03-images-alignment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ See how images align in your posts. To position them left, right or in the middl
99

1010
This is my gun, clyde! ever notice how sometimes you come across somebody you shouldn't have f!*ked with? well, i'm that guy. it's because i'm green isn't it! don't p!ss down my back and tell me it's raining. you want a guarantee, buy a toaster. dyin' ain't much of a livin', boy. what you have to ask yourself is, do i feel lucky. well do ya' punk? good morning, oh in case i don't see you, good afternoon, good evening and goodnight. dyin' ain't much of a livin', boy. when a naked man's chasing a woman through an alley with a butcher knife and a hard-on, i figure he's not out collecting for the red cross. well, do you have anything to say for yourself? i just heard about evans new position,good luck to you evan backstabber, bastard, i mean baxter.
1111

12-
<a href="{{ "/" | absolute_url }}"><img class="right" src="{{ "/images/" | absolute_url }}death-to-stock-photography-wild-7-300x200.jpg" alt=""></a>
12+
<a href="{{ "/" | absolute_url }}"><img class="right" src="https://placeholdit.imgix.net/~text?txtsize=33&txt=300%C3%97200&w=300&h=200" alt=""></a>
1313
Man's gotta know his limitations. look ma i'm road kill kinda hot in these rhinos. i just heard about evans new position,good luck to you evan backstabber, bastard, i mean baxter. we got no food we got no money and our pets heads are falling off! haaaaaaarry. here she comes to wreck the day. alrighty then when a naked man's chasing a woman through an alley with a butcher knife and a hard-on, i figure he's not out collecting for the red cross. this is the ak-47 assault rifle, the preferred weapon of your enemy; and it makes a distinctive sound when fired at you, so remember it. you want a guarantee, buy a toaster. are you feeling lucky punk this is my gun, clyde!
1414

15-
<img class="left" src="{{ "/images/" | absolute_url }}death-to-stock-photography-wild-4.jpg" alt="">
15+
<img class="left" src="https://placeholdit.imgix.net/~text?txtsize=33&txt=300%C3%97600&w=300&h=600" alt="">
1616
Man's gotta know his limitations. don't p!ss down my back and tell me it's raining. we're going for a ride on the information super highway. you see, in this world there's two kinds of people, my friend: those with loaded guns and those who dig. you dig. alrighty then excuse me, i'd like to ass you a few questions. brain freeze. ever notice how sometimes you come across somebody you shouldn't have f**ked with? well, i'm that guy. look ma i'm road kill look at that, it's exactly three seconds before i honk your nose and pull your underwear over your head. what you have to ask yourself is, do i feel lucky. well do ya' punk? you see, in this world there's two kinds of people, my friend: those with loaded guns and those who dig. you dig.
1717

1818
Look at that, it's exactly three seconds before i honk your nose and pull your underwear over your head. your entrance was good, his was better. here. put that in your report!" and "i may have found a way out of here. your entrance was good, his was better. hey, maybe i will give you a call sometime. your number still 911? we got no food we got no money and our pets heads are falling off! haaaaaaarry. well, do you have anything to say for yourself? it's because i'm green isn't it! here she comes to wreck the day. this is the ak-47 assault rifle, the preferred weapon of your enemy; and it makes a distinctive sound when fired at you, so remember it. hey, maybe i will give you a call sometime. your number still 911? kinda hot in these rhinos.

_posts/2015-11-25-post-with-image.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: 'Post with Image and Caption'
3-
image: 'death-to-the-stock-photography-3457.jpg'
4-
caption: 'Death to Stock Photography'
5-
caption_url: 'http://deathtothestockphoto.com/'
2+
title : 'Post with Image and Caption'
3+
image : 'unsplash-samuel-scrimshaw.jpg'
4+
caption : 'Samuel Scrimshaw'
5+
caption_url : 'https://www.instagram.com/samscrim/'
66
---
77
If you need a big image to open your post, add one line to front matter. *Simplicity* does the rest. If you want to add a caption, do it! The caption should link to the source of the photo? Add a link.
88
<!--more-->
99
{% highlight html %}
1010
---
11-
title: Post with Image and Caption
12-
image: death-to-the-stock-photography-3457.jpg
13-
caption: Death to Stock Photography
14-
caption_url: http://deathtothestockphoto.com/
11+
title : 'Post with Image and Caption'
12+
image : 'unsplash-samuel-scrimshaw.jpg'
13+
caption : 'Samuel Scrimshaw'
14+
caption_url : 'https://www.instagram.com/samscrim/'
1515
---
1616
{% endhighlight %}
-216 KB
Binary file not shown.
Binary file not shown.
-65.4 KB
Binary file not shown.

images/unsplash-samuel-scrimshaw.jpg

100 KB
Loading

pages/404.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ title: "Oops?!? This page is gone or moved or…"
55
sitemap: false
66
---
77

8-
## No problem!
8+
## {{ site.data.ui[site.lang].no_problem_404 | default: "No Problem!" }}
99

10-
Try…
11-
to start over on the [home page]({{ "/" | absolute_url }})
12-
…have a look into the [archive]({{ "/archive/" | absolute_url }})
13-
…try search!
10+
{{ site.data.ui[site.lang].try_404 | default: "Try… " }}
11+
{{ site.data.ui[site.lang].start_over_404 | default: "...to start over on the" }} [{{ site.data.ui[site.lang].home_page_404 | default: "home page" }}]({{ site.baseurl }}/).
12+
{{ site.data.ui[site.lang].search_below_404 | default: "...to **search** below " }} [{{ site.data.ui[site.lang].home_page_404 | default: "home page" }}]({{ site.baseurl }}/).
13+
{{ site.data.ui[site.lang].if_you_404 | default: "…if you can't find it, " }} [{{ site.data.ui[site.lang].ask_about_404 | default: "ask about it " }}]({{ site.baseurl }}/contact/).
1414

15-
## Search
16-
17-
{% include search %}
15+
### {{ site.data.ui[site.lang].search_404 | default: "Search" }}
1816

17+
{% include search %}

pages/navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Navigation"
33
permalink: /navigation/
44
show_meta: false
55
---
6-
{% include navigation.html %}
6+
{% include helper/navigation.html %}

0 commit comments

Comments
 (0)