X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=b.rb;h=c2dbc75bae6ff6f8b5839941f083e7ef19e49563;hp=6bd631d9c9d81489e3263da61b0a6349c61b6699;hb=a5d36b23813ae286ba3fb76e4f60ef6d267ba128;hpb=4d95c360b30ea22e81abfe967476ccf134cee611 diff --git a/b.rb b/b.rb index 6bd631d..c2dbc75 100644 --- a/b.rb +++ b/b.rb @@ -90,12 +90,12 @@ EOF #{content} -
+
#{o[:comments]}
@@ -125,15 +125,14 @@ EOF end def comment_html(comment, date) - inner = Redcarpet::Markdown.new(Redcarpet::Render::Safe, fenced_code_blocks: true).render(<#{Time.at(date).strftime("%b %-d '%y")} -EOF # I tried putting the time, %I:%M %p UTC, but it looks kinda # clunky, going against my simple theme. + user_input = Redcarpet::Markdown.new(Redcarpet::Render::Safe, + fenced_code_blocks: true).render(comment) < - #{inner} + #{user_input} +

#{Time.at(date).strftime("%b %-d '%y")}

EOF end @@ -243,7 +242,7 @@ EOF blog_toc_entry = "
  • #{title}
  • " com_section = < +
    #{com_section}
    EOF