diff options
Diffstat (limited to 'util.rb')
-rw-r--r-- | util.rb | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,10 +8,10 @@ $license_urls = { 'WTFPL-2' => "http://www.wtfpl.net/txt/copying/", } $person_uris = { - "Luke Shumaker" => "https://lukeshu.com/", + "Luke T. Shumaker" => "https://lukeshu.com/", } $person_emails = { - "Luke Shumaker" => "lukeshu@lukeshu.com", + "Luke T. Shumaker" => "lukeshu@lukeshu.com", } class Person @@ -78,7 +78,7 @@ class Page end def title ; @title ||= pandoc['title'] || input.split("\n",2).first ; end - def author ; @author ||= Person.new( pandoc['author'] || "Luke Shumaker") ; end + def author ; @author ||= Person.new( pandoc['author'] || "Luke T. Shumaker") ; end def license ; @license ||= License.new(pandoc['license'] || "CC BY-SA-3.0") ; end def date ; @date ||= Date.parse(pandoc['date']) unless pandoc['date'].nil? ; end def slug ; @slug ||= infile.sub(/\..*$/,'').sub(/^.*\//,'') ; end @@ -90,7 +90,7 @@ class Page end def breadcrumbs - @breadcrumbs ||= '<a href="/">Luke Shumaker</a> » ' + ( (slug == 'index') ? "blog" : "<a href=/blog>blog</a> » #{slug}" ) + @breadcrumbs ||= '<a href="/">Luke T. Shumaker</a> » ' + ( (slug == 'index') ? "blog" : "<a href=/blog>blog</a> » #{slug}" ) end end |