{{ page.title }}
Posted: {{ page.date | date_to_string }}.
Filed under: {% for cat in page.categories %}
diff --git a/_plugins/markdown-tag.rb b/_plugins/markdown-tag.rb
new file mode 100644
index 0000000..cdbe824
--- /dev/null
+++ b/_plugins/markdown-tag.rb
@@ -0,0 +1,24 @@
+=begin
+ Jekyll tag to include Markdown text from _includes directory preprocessing with Liquid.
+ Usage:
+ {% markdown %}
+ Dependency:
+ - kramdown
+=end
+module Jekyll
+ class MarkdownTag < Liquid::Tag
+ def initialize(tag_name, text, tokens)
+ super
+ @text = text.strip
+ end
+ require "kramdown"
+ def render(context)
+ tmpl = File.read File.join Dir.pwd, "_includes", @text
+ site = context.registers[:site]
+ tmpl = (Liquid::Template.parse tmpl).render site.site_payload
+ html = Kramdown::Document.new(tmpl).to_html
+ end
+ end
+end
+Liquid::Template.register_tag('markdown', Jekyll::MarkdownTag)
+
diff --git a/about.html b/about.html
new file mode 100644
index 0000000..5865d41
--- /dev/null
+++ b/about.html
@@ -0,0 +1,9 @@
+---
+layout: default
+title: About
+date: 2014-05-01 11:08:23
+---
+
+
+ {% markdown about.md %}
+
diff --git a/css/main.css b/css/main.css
index b405ee6..2b7522f 100755
--- a/css/main.css
+++ b/css/main.css
@@ -85,18 +85,18 @@ h2 a:visited { color: #292929; }
margin-bottom: 20px;
}
-.post .title {
+.post h1 {
margin-top: 0px;
margin-bottom: 0px;
+ font-size: 1.2em;
+ color: #292929;
}
-.post .title a {
- font-size: 1.2em;
+.post h1 a {
text-decoration: none;
- color: #292929;
}
-.post .title a:visited {
+.post h1 a:visited {
color: #292929;
}
@@ -112,6 +112,7 @@ h2 a:visited { color: #292929; }
.post ul, .post ol {
margin-left: 1.35em;
+ margin-bottom: 20px;
}
.post code {
--
2.43.0