Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5a0a2e585 | ||
|
|
e7489a139d | ||
|
|
985a6fd47d | ||
|
|
0498eb167c | ||
|
|
eddc18ccc0 | ||
|
|
d80b49f524 | ||
|
|
215308a831 | ||
|
|
8e55544e3e | ||
|
|
e33b45a7ad | ||
|
|
8dafa9a753 | ||
|
|
d43aeab685 | ||
|
|
f06b4c163d |
+2
-1
@@ -41,7 +41,7 @@ owner:
|
|||||||
ad-slot:
|
ad-slot:
|
||||||
bing-verify:
|
bing-verify:
|
||||||
github: #username
|
github: #username
|
||||||
stackoverflow: #http://stackoverflow.com/users/123456/username
|
stackoverflow: #123456/username from a "http://stackoverflow.com/users/123456/username" link
|
||||||
linkedin: #username
|
linkedin: #username
|
||||||
xing: #username
|
xing: #username
|
||||||
instagram: #username
|
instagram: #username
|
||||||
@@ -55,6 +55,7 @@ owner:
|
|||||||
soundcloud: #username
|
soundcloud: #username
|
||||||
weibo: #username
|
weibo: #username
|
||||||
flickr: #username
|
flickr: #username
|
||||||
|
codepen: #username
|
||||||
|
|
||||||
include: [".htaccess"]
|
include: [".htaccess"]
|
||||||
exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "README.md"]
|
exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "README.md"]
|
||||||
|
|||||||
@@ -31,4 +31,5 @@
|
|||||||
{% if author.soundcloud %}<a href="http://soundcloud.com/{{ author.soundcloud }}" class="author-social" target="_blank"><i class="fa fa-fw fa-soundcloud"></i> Soundcloud</a>{% endif %}
|
{% if author.soundcloud %}<a href="http://soundcloud.com/{{ author.soundcloud }}" class="author-social" target="_blank"><i class="fa fa-fw fa-soundcloud"></i> Soundcloud</a>{% endif %}
|
||||||
{% if author.weibo %}<a href="http://www.weibo.com/{{ author.weibo }}" class="author-social" target="_blank"><i class="fa fa-fw fa-weibo"></i> Weibo</a>{% endif %}
|
{% if author.weibo %}<a href="http://www.weibo.com/{{ author.weibo }}" class="author-social" target="_blank"><i class="fa fa-fw fa-weibo"></i> Weibo</a>{% endif %}
|
||||||
{% if author.flickr %}<a href="http://www.flickr.com/{{ author.flickr }}" class="author-social" target="_blank"><i class="fa fa-fw fa-flickr"></i> Flickr</a>{% endif %}
|
{% if author.flickr %}<a href="http://www.flickr.com/{{ author.flickr }}" class="author-social" target="_blank"><i class="fa fa-fw fa-flickr"></i> Flickr</a>{% endif %}
|
||||||
|
{% if author.codepen %}<a href="http://codepen.io/{{ author.codepen }}" class="author-social" target="_blank"><i class="fa fa-fw fa-codepen"></i> CodePen</a>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -34,16 +34,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="index">
|
<div id="index">
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
|
{% capture written_year %}'None'{% endcapture %}
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
{% unless post.next %}
|
|
||||||
<h3>{{ post.date | date: '%Y' }}</h3>
|
|
||||||
{% else %}
|
|
||||||
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
||||||
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
|
{% if year != written_year %}
|
||||||
{% if year != nyear %}
|
<h3>{{ year }}</h3>
|
||||||
<h3>{{ post.date | date: '%Y' }}</h3>
|
{% capture written_year %}{{ year }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endunless %}
|
|
||||||
<article>
|
<article>
|
||||||
{% if post.link %}
|
{% if post.link %}
|
||||||
<h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
|
<h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
|
||||||
|
|||||||
+2
-2
@@ -165,7 +165,7 @@ $button-size: 1.5rem;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Style the toggle menu link and hide it
|
// Style the toggle menu link and hide it
|
||||||
.nav .navtoogle {
|
.nav .navtoggle {
|
||||||
@include font-rem(18);
|
@include font-rem(18);
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
background-color: $black;
|
background-color: $black;
|
||||||
@@ -180,7 +180,7 @@ $button-size: 1.5rem;
|
|||||||
border: none;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
.navtoogle i {
|
.navtoggle i {
|
||||||
z-index:-1;
|
z-index:-1;
|
||||||
}
|
}
|
||||||
.icon-menu {
|
.icon-menu {
|
||||||
|
|||||||
+3
-3
@@ -13,11 +13,11 @@ var changeClass = function (r,className1,className2) {
|
|||||||
};
|
};
|
||||||
// Creating our button in JS for smaller screens
|
// Creating our button in JS for smaller screens
|
||||||
var menuElements = document.getElementById('site-nav');
|
var menuElements = document.getElementById('site-nav');
|
||||||
menuElements.insertAdjacentHTML('afterBegin','<button type="button" role="button" id="menutoggle" class="navtoogle navicon-lines-button x" aria-hidden="true"><span class="navicon-lines"></span>menu</button>');
|
menuElements.insertAdjacentHTML('afterBegin','<button type="button" role="button" id="menutoggle" class="navtoggle navicon-lines-button x" aria-hidden="true"><span class="navicon-lines"></span>menu</button>');
|
||||||
|
|
||||||
// Toggle the class on click to show / hide the menu
|
// Toggle the class on click to show / hide the menu
|
||||||
document.getElementById('menutoggle').onclick = function() {
|
document.getElementById('menutoggle').onclick = function() {
|
||||||
changeClass(this, 'navtoogle active', 'navtoogle');
|
changeClass(this, 'navtoggle active', 'navtoggle');
|
||||||
};
|
};
|
||||||
// http://tympanus.net/codrops/2013/05/08/responsive-retina-ready-menu/comment-page-2/#comment-438918
|
// http://tympanus.net/codrops/2013/05/08/responsive-retina-ready-menu/comment-page-2/#comment-438918
|
||||||
document.onclick = function(e) {
|
document.onclick = function(e) {
|
||||||
@@ -25,7 +25,7 @@ document.onclick = function(e) {
|
|||||||
buttonStyle = mobileButton.currentStyle ? mobileButton.currentStyle.display : getComputedStyle(mobileButton, null).display;
|
buttonStyle = mobileButton.currentStyle ? mobileButton.currentStyle.display : getComputedStyle(mobileButton, null).display;
|
||||||
|
|
||||||
if(buttonStyle === 'block' && e.target !== mobileButton && new RegExp(' ' + 'active' + ' ').test(' ' + mobileButton.className + ' ')) {
|
if(buttonStyle === 'block' && e.target !== mobileButton && new RegExp(' ' + 'active' + ' ').test(' ' + mobileButton.className + ' ')) {
|
||||||
changeClass(mobileButton, 'navtoogle active', 'navtoogle');
|
changeClass(mobileButton, 'navtoggle active', 'navtoggle');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes-theme",
|
"name": "minimal-mistakes-theme",
|
||||||
"author": "Michael Rose <michael@mademistakes.com>",
|
"author": "Michael Rose <michael@mademistakes.com>",
|
||||||
"homepage": "http://mmistakes.github.io/minima-mistakes/",
|
"homepage": "http://mmistakes.github.io/minimal-mistakes/",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/mmistakes/minimal-mistakes.git"
|
"url": "git://github.com/mmistakes/minimal-mistakes.git"
|
||||||
|
|||||||
Reference in New Issue
Block a user