avatar

About me:

I am a .Net developer by day and a bookworm by night. My wife, Collin, is a starving artist and is designing a board game. We have two cats named Katy and Lottie, they're tuxedo cats so they are always dressed for formal affairs.

Sorry, I am not for hire.

rss RSS feed

Links in Jekyll.

If you read my post “Jekyll can be tricky business”, then you probably noticed a broken link in my list. After a few trial-and-error tests, I’ve determined that Jekyll does not process links in HTML lists.

A demonstration:

YAML code snippet:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
layout: post
title: "Jekyll links example."
date: 2013-09-08
---
 
For more woeful tales of Jekyll, refer to my [Github Page][link-name].
 
Let's reference the same link to my Github page, but in an unordered list:
<ul>
<li>[Github Page][link-name]</li>
</ul>
 
One more time but in an ordered list:
<ol>
<li>[Github Page][link-name]</li>
</ol>
 
[link-name]: campbeja.github.io

Output:

For more woeful tales of Jekyll, refer to my Github Page.

Let’s reference the same link to my Github page, but in an unordered list:

  • [Github Page][link-name]

One more time but in an ordered list:

  1. [Github Page][link-name]
comments powered by Disqus