aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/section.html.erb
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-12-23 23:27:09 +0900
committernsfisis <nsfisis@gmail.com>2023-03-06 01:46:04 +0900
commit88ba6cfe220216f371f8756921059fac51a21262 (patch)
treef272db2a0a3340f103df6618f19a101e65941b37 /templates/section.html.erb
parent8f988a6e899aed678406ddfac1be4ef105439274 (diff)
downloadblog.nsfisis.dev-88ba6cfe220216f371f8756921059fac51a21262.tar.gz
blog.nsfisis.dev-88ba6cfe220216f371f8756921059fac51a21262.tar.zst
blog.nsfisis.dev-88ba6cfe220216f371f8756921059fac51a21262.zip
AsciiDoc to DocBook
Diffstat (limited to 'templates/section.html.erb')
-rw-r--r--templates/section.html.erb19
1 files changed, 0 insertions, 19 deletions
diff --git a/templates/section.html.erb b/templates/section.html.erb
deleted file mode 100644
index 1510595..0000000
--- a/templates/section.html.erb
+++ /dev/null
@@ -1,19 +0,0 @@
-<% _level = level %>
-<% _role = role %>
-<% _id = id %>
-<% _title = caption ? captioned_title : title %>
-<% _content = content %>
-<section class="section-<%= _level %><%= _role ? " #{role}" : '' %>">
- <h<%= _level + 1 %> id="<%= _id %>" class="section-header">
- <% if _id %>
- <a href="#<%= _id %>">
- <%= _title %>
- </a>
- <% else %>
- <%= _title %>
- <% end %>
- </h<%= _level + 1 %>>
- <div class="section-body">
- <%= _content %>
- </div>
-</section>