Sha256: 7fcbb18608db3910ae28a25915e344721fced5ae9d5ee3778613565b254bd257

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

<%
    entry = @entry
    @title = "#{entry.type_label} #{entry.label}"
    @description = @entry.description
    @edit_url = edit_url(@entry.source_location) if @conf[:edit_base_url] && @entry.source_location
%>
<% if @conf[:canonical_base_url] %>
<script type="application/ld+json">
<%=
  breadcrumb_json_ld(
    [
      {
        name: manual_home_name,
        url: absolute_url_to(@urlmapper.document_url('index'))
      },
      {
        name: _('All Functions'),
        url: absolute_url_to(function_index_url)
      },
      {
        name: "#{entry.name}#{' (static)' unless entry.public?}",
        url: canonical_url
      }
    ]
  )
%>
</script>
<% end %>
<header>
  <nav>
    <ol class="inline-breadcrumb-list">
      <li>
        <%= manual_home_link() %>
      </li>
      <li>
        <a href="<%= function_index_url() %>"><%= _('All Functions') %></a>
      </li>
      <li>
        <%=h entry.name %> <% unless entry.public? %>(static)<% end %>
      </li>
    </ol>
  </nav>
<% headline_init %>
<%= headline("#{entry.type_label} #{entry.label}", edit_url: @edit_url) %>
</header>

<main>
<dl class="functionlist">
<dt>
  <code><%= entry.header %></code>
</dt>
<dd>
<%= compile_function(entry) %>
</dd>
</dl>
</main>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bitclust-core-1.3.0 data/bitclust/template.offline/function
bitclust-core-1.2.6 data/bitclust/template.offline/function