From 8361d04318b0f4c4beb9d468da3116c52a506045 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Mon, 14 Dec 2015 09:38:21 -0800 Subject: [PATCH] Updated notes --- notes.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/notes.md b/notes.md index 52ce3a8b7..b0619d868 100644 --- a/notes.md +++ b/notes.md @@ -152,18 +152,12 @@ to: Jekyll "Cheat Sheet" === -Although I created image.html in the **_includes** folder, so that I could do this: +I created screenshot.html in the **_includes** folder, so that I could do this: - {% include image.html src="/devices/pc/machine/5150/cga/64kb/donkey/thumbnail.jpg" width="200" height="100" link="/devices/pc/machine/5150/cga/64kb/donkey/" alt="IBM PC running DONKEY.BAS" %} + {% include screenshot.html src="/devices/pc/machine/5150/cga/64kb/donkey/thumbnail.jpg" width="200" height="100" link="/devices/pc/machine/5150/cga/64kb/donkey/" title="IBM PC running DONKEY.BAS" %} instead of this: [](/devices/pc/machine/5150/cga/64kb/donkey/ "IBM PC running DONKEY.BAS") -I decided to stick with the latter, since it has a better chance of rendering as normal Markdown. - -Technically, the URLs in the latter should include: - - {{ site.baseurl }} - -but since I'm using a custom domain name (http://pcjs.net instead of http://jeffpar.github.io/pcjs), it's not necessary. +The latter is better for pure Markdown environments, but the former enables Jekyll to properly style screenshots.