-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tag cloud and tweak style issues
- Loading branch information
1 parent
0b34f50
commit 4956fbf
Showing
22 changed files
with
182 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="textwidget">These days I'm either driving Industrial Open Source @ Microsoft or driving my Pro3 race car. Previously I spent a whack o' time writing code and books in the runtime parts of <a href="http://eclipse.org">Eclipse</a>, writing Smalltalk code and travelling about. | ||
<div class="textwidget">These days I'm either driving Open Source @ Microsoft or driving my <a href="http://pro3-racing.com">Pro3 race car</a>. Previously I spent a whack o' time writing code and books in the runtime parts of <a href="http://eclipse.org">Eclipse</a>, writing Smalltalk code, and travelling/living around the world. | ||
<br><a href="/about">Learn more...</a> | ||
</div> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div class="tag-cloud"> | ||
|
||
{% capture tags %} | ||
{% for tag in site.tags %} | ||
{{ tag[0] }} | ||
{% endfor %} | ||
{% endcapture %} | ||
{% assign sortedtags = tags | split:' ' | uniq | sort %} | ||
|
||
{% assign min = 1000 %} | ||
{% assign max = 0 %} | ||
{% for tag in site.tags %} | ||
{% if tag[1].size > max %} | ||
{% assign max = tag[1].size %} | ||
{% else %} | ||
{% if tag[1].size < min %} | ||
{% assign min = tag[1].size %} | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
{% assign range = max | minus: min | plus: 1 %} | ||
|
||
{% for tag in sortedtags %} | ||
{% assign count = site.tags[tag].size %} | ||
{% if range > 10 %} | ||
{% assign font = count | minus: min | times: 10 | divided_by: range | plus: 1 %} | ||
{% else %} | ||
{% assign font = 10 | minus: range | divided_by: 2 | plus: count %} | ||
{% endif %} | ||
<a href="/tags.html#{{ tag | first }}" class="tag-cloud-{{ font }}" >{{ tag }}</a> | ||
{% endfor %} | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: post | ||
title: "Testing. Testing.!" | ||
date: 2015-11-16 11:11:11 | ||
categories: jekyll update | ||
tags: foo testing | ||
--- | ||
this is a test to see if what another post looks like lkjdslf jdslk safjlkdsf jlkdsjflsf j;lkdsajfdsjfjdslks d;lkfjdsalf dsjf;lkds flkdsjflkds jfjlkdsaj foiewufoiew lknewfjn | ||
|
||
<!--more--> | ||
|
||
This s more text after the break lkjas fjdsalkfjsd ofoidsjffoidsfoidsjfoidsfodsjofijdsoifdsofndsoif oidsnfoidsnfnodsnfoindsfonoiw fowecnwkf newihiu gisckjsc dskjf dsk dsflkds fds f hdskj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,7 @@ a { | |
|
||
&:hover { | ||
color: $text-color; | ||
text-decoration: underline; | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.