Merge branch 'release/1.2.0'
This commit is contained in:
commit
e9a7679b47
22 changed files with 60 additions and 71 deletions
10
_config.yml
10
_config.yml
|
@ -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:
|
||||
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
@ -34,11 +34,11 @@
|
|||
|
||||
<div class="footer-wrap">
|
||||
<footer>
|
||||
{% include footer.html %}
|
||||
{% include _footer.html %}
|
||||
</footer>
|
||||
</div><!-- /.footer-wrap -->
|
||||
|
||||
{% include scripts.html %}
|
||||
{% include _scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -4,14 +4,14 @@
|
|||
<!--[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">
|
||||
|
@ -19,8 +19,8 @@
|
|||
</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>
|
||||
|
@ -32,11 +32,11 @@
|
|||
|
||||
<div class="footer-wrap">
|
||||
<footer>
|
||||
{% include footer.html %}
|
||||
{% include _footer.html %}
|
||||
</footer>
|
||||
</div><!-- /.footer-wrap -->
|
||||
|
||||
{% include scripts.html %}
|
||||
{% include _scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -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">
|
||||
|
@ -43,11 +43,11 @@
|
|||
|
||||
<div class="footer-wrap">
|
||||
<footer>
|
||||
{% include footer.html %}
|
||||
{% include _footer.html %}
|
||||
</footer>
|
||||
</div><!-- /.footer-wrap -->
|
||||
|
||||
{% include scripts.html %}
|
||||
{% include _scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -4,14 +4,14 @@
|
|||
<!--[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">
|
||||
|
@ -19,8 +19,8 @@
|
|||
</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">
|
||||
|
@ -32,7 +32,7 @@
|
|||
<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>
|
||||
|
@ -59,11 +59,11 @@
|
|||
<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
about.md
7
about.md
|
@ -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/).
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
layout: post-index
|
||||
permalink: /articles/index.html
|
||||
permalink: /articles/
|
||||
title: Articles
|
||||
tagline: A List of Posts
|
||||
tags: [blog, graphic design]
|
||||
|
|
2
assets/css/ie.min.css
vendored
2
assets/css/ie.min.css
vendored
File diff suppressed because one or more lines are too long
2
assets/css/main.min.css
vendored
2
assets/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -37,7 +37,7 @@
|
|||
.prefix(12,4);
|
||||
.suffix(12,3.5);
|
||||
}
|
||||
.article-author-top {
|
||||
.article-author-side {
|
||||
.grid(12,1.5);
|
||||
.prefix(12,2);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// TEXTURE ====================================================
|
||||
// ELEMENTS ===================================================
|
||||
// LAYOUT =====================================================
|
||||
.article-author-top,
|
||||
.article-author-side,
|
||||
.article-author-bottom {
|
||||
h3,
|
||||
.bio-photo,
|
||||
|
|
|
@ -75,7 +75,6 @@ body {
|
|||
h2 {
|
||||
margin-bottom: 4px;
|
||||
.font-rem(20);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
p {
|
||||
.font-rem(14);
|
||||
|
@ -118,7 +117,7 @@ body {
|
|||
clear: both;
|
||||
font-size: 80%;
|
||||
}
|
||||
.article-author-top,
|
||||
.article-author-side,
|
||||
.article-author-bottom {
|
||||
h3 {
|
||||
margin-bottom: 0;
|
||||
|
@ -151,7 +150,7 @@ body {
|
|||
.translate(0, 2px);
|
||||
}
|
||||
}
|
||||
.article-author-top {
|
||||
.article-author-side {
|
||||
display: none;
|
||||
}
|
||||
.article-author-bottom {
|
||||
|
@ -294,10 +293,7 @@ body {
|
|||
.container();
|
||||
.clearfix();
|
||||
clear: both;
|
||||
margin-top: 1em;
|
||||
padding-top: 2em;
|
||||
padding-bottom: 3em;
|
||||
background-color: @black;
|
||||
a,
|
||||
a:active,
|
||||
a:visited,
|
||||
|
@ -305,19 +301,9 @@ body {
|
|||
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);
|
||||
|
@ -336,7 +322,6 @@ body {
|
|||
}
|
||||
li {
|
||||
margin-bottom: 0;
|
||||
color: @white;
|
||||
}
|
||||
}
|
||||
.footer-icons {
|
||||
|
|
|
@ -103,7 +103,8 @@ blockquote {
|
|||
// --------------------------------------------------
|
||||
.footnotes {
|
||||
ol, li, p {
|
||||
.font-size(14);
|
||||
margin-bottom: 0;
|
||||
.font-rem(14);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 3.3 KiB |
|
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
Loading…
Reference in a new issue