Sha256: ffd82881a01c6a51cb48a82dc827eeefbc9d5f8d0203ff805de29b36766b5db7
Contents?: true
Size: 1.82 KB
Versions: 5
Compression:
Stored size: 1.82 KB
Contents
<%# -*- coding: utf-8 -*- -%> <% Template.target_binary_version(1.0) -%> <%= processed_title %> <%= toc["author"] %> <%= cover_chuki %> [#区切り線] <% if toc["story"] != "" -%> あらすじ: <%= toc["story"] %> <% end -%> 掲載ページ: <a href="<%= Helper.ampersand_to_entity(toc["toc_url"]) %>"><%= toc["toc_url"] %></a> [#区切り線] <% sections.each_with_index do |section, i| -%> [#改ページ] <% if section["chapter"] != "" -%> [#ページの左右中央] [#ここから柱]<%= toc["title"] %>[#ここで柱終わり] <% if device && device.ibooks? -%> <%# ibooks だと左右中央が機能しないため -%> <%= "\n" * 6 -%> <% end -%> [#3字下げ][#大見出し]<%= section["chapter"] %>[#大見出し終わり] [#改ページ] <% end -%> [#3字下げ][#中見出し]<%= section["subtitle"].rstrip %>[#中見出し終わり] <% if section["element"]["introduction"] != "" -%> [#ここから前書き] <% introduction, illust_chuki_array = Helper.extract_illust_chuki(section["element"]["introduction"]) -%> <%= introduction %> [#ここで前書き終わり] <% if illust_chuki_array.count > 0 -%> <%= illust_chuki_array.join("\n") %> <% end -%> <% end -%> <%= section["element"]["body"] %> <% if section["element"]["postscript"] != "" -%> [#ここから後書き] <% postscript, illust_chuki_array = Helper.extract_illust_chuki(section["element"]["postscript"]) -%> <%= postscript %> [#ここで後書き終わり] <% if illust_chuki_array.count > 0 -%> <%= illust_chuki_array.join("\n") %> <% end -%> <% end -%> <% end -%> <% if setting.enable_display_end_of_book -%> [#ここから地付き][#小書き](本を読み終わりました)[#小書き終わり][#ここで地付き終わり] <% end -%>
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
narou-2.1.1.pre.test1 | template/novel.txt.erb |
narou-2.1.0 | template/novel.txt.erb |
narou-2.0.2 | template/novel.txt.erb |
narou-2.0.1 | template/novel.txt.erb |
narou-2.0.0 | template/novel.txt.erb |