diff options
author | Jeff King <peff@peff.net> | 2021-03-01 09:06:37 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2021-03-01 09:06:37 +0300 |
commit | 4f4b0110555f9cb5b55e9b09deff0d65a412ca04 (patch) | |
tree | f42a0725875091f39e5a807530f8ac1a2ddb350d /lib | |
parent | e560b5fb5a8c0bdf7c4495d624d3e76de6044fee (diff) |
book2: drop template_dir variable entirely
As of the previous commit, nobody looks at it anymore.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/book2.rake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/tasks/book2.rake b/lib/tasks/book2.rake index 1f113179..3f1537f8 100644 --- a/lib/tasks/book2.rake +++ b/lib/tasks/book2.rake @@ -31,8 +31,6 @@ task reset_book2: :environment do end def genbook(code, &get_content) - template_dir = Rails.root.join("templates") - nav = '<div id="nav"><a href="[[nav-prev]]">prev</a> | <a href="[[nav-next]]">next</a></div>' progit = get_content.call("progit.asc") |