summaryrefslogtreecommitdiff
path: root/util.rb
diff options
context:
space:
mode:
Diffstat (limited to 'util.rb')
-rw-r--r--util.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/util.rb b/util.rb
index 31c605f..cff8f1b 100644
--- a/util.rb
+++ b/util.rb
@@ -4,14 +4,14 @@ require 'erb'
require 'date'
$license_urls = {
- "CC BY-SA-3.0" => 'https://creativecommons.org/licenses/by-sa/3.0/',
+ "CC BY-SA 4.0" => 'https://creativecommons.org/licenses/by-sa/4.0/',
'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@sbcglobal.net",
+ "Luke T. Shumaker" => "lukeshu@lukeshu.com",
}
class Person
@@ -78,8 +78,8 @@ 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 license ; @license ||= License.new(pandoc['license'] || "CC BY-SA-3.0") ; end
+ def author ; @author ||= Person.new( pandoc['author'] || "Luke T. Shumaker") ; end
+ def license ; @license ||= License.new(pandoc['license'] || "CC BY-SA 4.0") ; end
def date ; @date ||= Date.parse(pandoc['date']) unless pandoc['date'].nil? ; end
def slug ; @slug ||= infile.sub(/\..*$/,'').sub(/^.*\//,'') ; end
def content ; @content ||= pandoc.to('html5') ; 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