Sha256: 18b32af63dd00d71eaef46a96f5378d9b0588d30ed19c9a0587f355688e587f7

Contents?: true

Size: 409 Bytes

Versions: 41

Compression:

Stored size: 409 Bytes

Contents

<%
wrap_layout :core do
  html = yield

  content_for(:toc_module, "in-page-navigation")

  content_for :sidebar do
    if config[:tech_docs][:multipage_nav] %>
      <%= multi_page_table_of_contents(sitemap.resources, current_page, config, html) %>
    <% else %>
      <%= single_page_table_of_contents(html, max_level: config[:tech_docs][:max_toc_heading_level]) %>
    <% end %>
  <%
  end

  html
end
%>

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
govuk_tech_docs-2.4.1 lib/source/layouts/layout.erb
govuk_tech_docs-2.4.0 lib/source/layouts/layout.erb
govuk_tech_docs-2.3.0 lib/source/layouts/layout.erb
govuk_tech_docs-2.2.2 lib/source/layouts/layout.erb
govuk_tech_docs-2.2.1 lib/source/layouts/layout.erb
govuk_tech_docs-2.2.0 lib/source/layouts/layout.erb
govuk_tech_docs-2.1.1 lib/source/layouts/layout.erb
govuk_tech_docs-2.1.0 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.13 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.12 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.11 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.10 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.9 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.8 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.7 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.6 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.5 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.4 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.3 lib/source/layouts/layout.erb
govuk_tech_docs-2.0.2 lib/source/layouts/layout.erb