diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-04-14 15:33:19 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-04-14 15:36:37 -0600 |
commit | 852304f6bc479a8279eebb3f011c2b15ec946d89 (patch) | |
tree | 393b5d2ddf3d46da6002145d99b9de2bf4d20b8e /util.rb | |
parent | 05d0d3ff62a68f181937e4ad247c4b35514c2553 (diff) |
Include my middle initial
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 |