Skip to content

Commit

Permalink
Merge branch 'release/1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Dec 9, 2013
2 parents a253f65 + 855ca19 commit e9a7679
Show file tree
Hide file tree
Showing 22 changed files with 60 additions and 71 deletions.
10 changes: 5 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
title: Site Title
tagline: A short tagline
description: Describe your website.
#Comment out url when working locally to resolve base urls correctly
url: http://your-site.com
# Your site's domain goes here. Leave localhost server or blank when working locally.
url: http://localhost:4000

# Owner/author information
owner:
Expand Down Expand Up @@ -31,11 +31,11 @@ bing_verify:
# For external links add external: true
links:
- title: About
url: /about
url: /about/
- title: Articles
url: /articles
url: /articles/
- title: Theme Setup
url: /theme-setup
url: /theme-setup/
- title: Made Mistakes
url: http://mademistakes.com
external: true
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 9 additions & 9 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
{% include head.html %}
{% include _head.html %}
</head>

<body class="home" itemscope itemtype="http://schema.org/WebPage">

{% include browser-upgrade.html %}
{% include _browser-upgrade.html %}

{% include navigation.html %}
{% include _navigation.html %}

{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
</div><!-- /.image-wrap -->{% endif %}

<div class="article-author-top">
{% include author-bio.html %}
<div class="article-author-side">
{% include _author-bio.html %}
</div>

<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<h3><a href="{{ site.url}}/articles">Articles</a></h3>
{% for post in site.categories.articles limit:5 %}
<h3><a href="{{ site.url}}/articles/">Articles</a></h3>
{% for post in site.posts limit:5 %}
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
<p itemprop="text">{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
Expand All @@ -34,11 +34,11 @@ <h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" ti

<div class="footer-wrap">
<footer>
{% include footer.html %}
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->

{% include scripts.html %}
{% include _scripts.html %}

</body>
</html>
14 changes: 7 additions & 7 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
{% include head.html %}
{% include _head.html %}
</head>

<body class="page" itemscope itemtype="http://schema.org/WebPage">

{% include browser-upgrade.html %}
{% include _browser-upgrade.html %}

{% include navigation.html %}
{% include _navigation.html %}

{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
</div><!-- /.image-wrap -->{% endif %}

<div id="main" role="main" itemprop="mainContentOfPage">
<div class="article-author-top">
{% include author-bio.html %}
<div class="article-author-side">
{% include _author-bio.html %}
</div>
<article itemscope itemtype="http://schema.org/CreativeWork">
<h1 itemprop="name">{{ page.title }}</h1>
Expand All @@ -32,11 +32,11 @@ <h1 itemprop="name">{{ page.title }}</h1>

<div class="footer-wrap">
<footer>
{% include footer.html %}
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->

{% include scripts.html %}
{% include _scripts.html %}

</body>
</html>
14 changes: 7 additions & 7 deletions _layouts/post-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
{% include head.html %}
{% include _head.html %}
</head>

<body class="articles" itemscope itemtype="http://schema.org/WebPage">

{% include browser-upgrade.html %}
{% include _browser-upgrade.html %}

{% include navigation.html %}
{% include _navigation.html %}

{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
</div><!-- /.image-wrap -->{% endif %}

<div class="article-author-top">
{% include author-bio.html %}
<div class="article-author-side">
{% include _author-bio.html %}
</div>

<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
Expand All @@ -43,11 +43,11 @@ <h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" ti

<div class="footer-wrap">
<footer>
{% include footer.html %}
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->

{% include scripts.html %}
{% include _scripts.html %}

</body>
</html>
16 changes: 8 additions & 8 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
{% include head.html %}
{% include _head.html %}
</head>

<body class="article" itemscope itemtype="http://schema.org/WebPage">

{% include browser-upgrade.html %}
{% include _browser-upgrade.html %}

{% include navigation.html %}
{% include _navigation.html %}

{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
{% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
</div><!-- /.image-wrap -->{% endif %}

<div id="main" role="main" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<div class="article-author-top">
{% include author-bio.html %}
<div class="article-author-side">
{% include _author-bio.html %}
</div>
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<div class="headline-wrap">
Expand All @@ -32,7 +32,7 @@ <h2>{{ page.tagline }}</h2>
<hr />
<footer role="contentinfo">
<div class="article-author-bottom">
{% include author-bio.html %}
{% include _author-bio.html %}
</div>
<p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}" itemprop="dateModified">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %} by <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name"><a href="{{ site.url }}/about" title="About {{ site.owner.name }}" itemprop="url">{{ site.owner.name }}</a></span></span>.</p>
</footer>
Expand All @@ -59,11 +59,11 @@ <h4>You might also enjoy <small class="pull-right">(<a href="{{ site.url }}/arti
<hr />
</div><!-- /.related-articles -->{% endif %}
<footer>
{% include footer.html %}
{% include _footer.html %}
</footer>
</div><!-- /.footer-wrap -->

{% include scripts.html %}
{% include _scripts.html %}

</body>
</html>
7 changes: 5 additions & 2 deletions about.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ Jekyll is pretty rad and figured releasing a cleaned up version of [my site](htt

* Responsive templates. Looking good on mobile, tablet, and desktop.
* Gracefully degrading in older browsers. Compatible with Internet Explorer 8+ and all modern browsers.
* Minimal embellishments. Content first --- other widget nonsense never.
* Minimal embellishments --- content first.
* Large feature images for posts and pages.
* Author sidebar to pimp your bio, photo[^2], and social media links.
* Simple and clear permalink structure *(ie: domain.com/category/post-title)*

<a markdown="0" href="{{ site.url }}/theme-setup" class="btn">Install Minimal Mistakes Theme</a>

[^1]: Since open sourcing this theme I have released a couple other Jekyll themes. My website [Made Mistakes](http://mademistakes.com) is currently using a modified version of my [So Simple Theme](http://mmistakes.github.io/so-simple-theme/).
[^1]: Since open sourcing this theme I have released a couple other Jekyll themes. My website [Made Mistakes](http://mademistakes.com) is currently using a modified version of my [So Simple Theme](http://mmistakes.github.io/so-simple-theme/).

[^2]: Fancy avatars provided by [Brandon Mathis](http://brandonmathis.com/projects/fancy-avatars/demo/) under a [Creative Commons Attribution 3.0 License](http://creativecommons.org/licenses/by/3.0/).
2 changes: 1 addition & 1 deletion articles.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post-index
permalink: /articles/index.html
permalink: /articles/
title: Articles
tagline: A List of Posts
tags: [blog, graphic design]
Expand Down
2 changes: 1 addition & 1 deletion assets/css/ie.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/less/1382.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
.prefix(12,4);
.suffix(12,3.5);
}
.article-author-top {
.article-author-side {
.grid(12,1.5);
.prefix(12,2);
}
Expand Down
2 changes: 1 addition & 1 deletion assets/less/600.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
.prefix(12,3);
.suffix(12,3);
}
.article-author-top {
.article-author-side {
display: block;
.grid(12,2);
.prefix(12,0.5);
Expand Down
2 changes: 1 addition & 1 deletion assets/less/992.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
.article-author-top,
.article-author-side,
.article-author-bottom {
h3,
.bio-photo,
Expand Down
19 changes: 2 additions & 17 deletions assets/less/page.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ body {
h2 {
margin-bottom: 4px;
.font-rem(20);
text-transform: uppercase;
}
p {
.font-rem(14);
Expand Down Expand Up @@ -118,7 +117,7 @@ body {
clear: both;
font-size: 80%;
}
.article-author-top,
.article-author-side,
.article-author-bottom {
h3 {
margin-bottom: 0;
Expand Down Expand Up @@ -151,7 +150,7 @@ body {
.translate(0, 2px);
}
}
.article-author-top {
.article-author-side {
display: none;
}
.article-author-bottom {
Expand Down Expand Up @@ -294,30 +293,17 @@ body {
.container();
.clearfix();
clear: both;
margin-top: 1em;
padding-top: 2em;
padding-bottom: 3em;
background-color: @black;
a,
a:active,
a:visited,
p,
h4,
h5,
h6,
span {
color: darken(@white, 25);
}
span {
.font-rem(14);
}
a {
border-bottom: 0 solid transparent;
&:hover {
color: @white;
border-bottom: 0 solid transparent;
}
}
footer {
.grid(12,10);
.prefix(12,1);
Expand All @@ -336,7 +322,6 @@ body {
}
li {
margin-bottom: 0;
color: @white;
}
}
.footer-icons {
Expand Down
3 changes: 2 additions & 1 deletion assets/less/typography.less
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ blockquote {
// --------------------------------------------------
.footnotes {
ol, li, p {
.font-size(14);
margin-bottom: 0;
.font-rem(14);
}
}

Expand Down
Binary file modified images/bio-photo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions theme-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ General notes and suggestions for customizing Minimal Mistakes.
{% highlight text %}
minimal-mistakes/
├── _includes/
| ├── author-bio.html #bio stuff goes here
| ├── browser-upgrade.html #displays on IE8 and less
| ├── footer.html #site footer
| ├── head.html #site head
| ├── navigation.html #site top nav
| └── scripts.html #jQuery, plugins, GA, etc.
| ├── _author-bio.html #bio stuff goes here
| ├── _browser-upgrade.html #displays on IE8 and less
| ├── _footer.html #site footer
| ├── _head.html #site head
| ├── _navigation.html #site top nav
| └── _scripts.html #jQuery, plugins, GA, etc.
├── _layouts/
| ├── home.html #homepage layout
| ├── page.html #page layout
Expand Down Expand Up @@ -69,7 +69,7 @@ Most of the variables found here are used in the .html files found in `_includes

#### Owner/Author Information

Change your name, bio, and avatar photo (100x100 pixels or larger), Twitter url, email, and Google+ url. If you want to link to an external image on Gravatar or something similiar you'll need to edit the path in `author-bio.html` since it assumes it is located in `\images`.
Change your name, bio, and avatar photo (100x100 pixels or larger), Twitter url, email, and Google+ url. If you want to link to an external image on Gravatar or something similiar you'll need to edit the path in `_author-bio.html` since it assumes it is located in `\images`.

Including a link to your Google+ profile has the added benefit of displaying [Google Authorship](https://plus.google.com/authorship) in Google search results if you've went ahead and applied for it. Don't have a Google+ account? Just leave it blank.

Expand Down Expand Up @@ -122,7 +122,7 @@ image:

#### Thumbnails for OG and Twitter Cards

Post and page thumbnails work the same way. These are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) meta tags found in *head.html*. If you don't assign a thumbnail the default graphic *(default-thumb.png)* is used. I'd suggest changing this to something more meaningful --- your logo or avatar are good options.
Post and page thumbnails work the same way. These are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) meta tags found in *_head.html*. If you don't assign a thumbnail the default graphic *(default-thumb.png)* is used. I'd suggest changing this to something more meaningful --- your logo or avatar are good options.

#### Table of Contents

Expand Down Expand Up @@ -180,6 +180,6 @@ Having a problem getting something to work or want to know why I setup something
This theme is free and open source software, distributed under the [GNU General Public License]({{ site.url }}/LICENSE) version 2 or later. So feel free to use this Jekyll theme on your site without linking back to me or including a disclaimer.


[^1]: Used to generate absolute urls in `sitemap.xml`, `feed.xml`, and for canonical urls in `head.html`. Don't include a trailing `/` in your base url ie: `http://mademistakes.com`. When developing locally remove or comment out this line so local .css, .js, and images are used.
[^1]: Used to generate absolute urls in `sitemap.xml`, `feed.xml`, and for canonical urls in `_head.html`. Don't include a trailing `/` in your base url ie: `http://mademistakes.com`. When developing locally remove or comment out this line so local .css, .js, and images are used.

[^2]: If you're using GitHub Pages to host your site be aware that plugins are disabled. So you'll need to build your site locally and then manually deploy if you want to use this sweet plugin.

0 comments on commit e9a7679

Please sign in to comment.