Module: JekyllSupport

Defined in:
lib/outline_tag.rb,
lib/outline_js.rb

Overview

This class generates output of the form, where NNN is an order value: <div class=“outer_posts”>

<h3 class="post_title clear" id="title_0">Django / Oscar Evaluation</h3>
<div id="posts_wrapper_0" class="clearfix">
  <div id="posts_0" class="posts">
    <span>2021-02-11</span> <span><a href="/collection/page1.html">Title 1</a></span>
    <span>2023-12-09</span> <span><a href="/collection/page2.html">Title 2</a></span>
  </div>
  <h3 class="post_title clear" id="title_NNN">Notes</h3>
  <div id="posts_wrapper_NNN" class="clearfix">
    <div id="posts_400" class="posts">
      <span>2021-04-14</span> <span><a href="/collection/page3.html">Title 3</a></span>
      <span>2021-03-29</span> <span><a href="/collection/page4.html">Title 4</a></span>
    </div>
  </div>
  <div id="jps_attribute_570007" class="jps_attribute">
    <div>
      <a href="https://www.mslinn.com/jekyll_plugins/jekyll_outline.html" target="_blank" rel="nofollow">
        Generated by the jekyll_outline v1.2.1 Jekyll plugin, written by Mike Slinn 2024-01-09.
      </a>
    </div>
  </div>
</div>

</div>

Subclasses, such as jekyll_toc.rb, might generate other output.

Defined Under Namespace

Classes: Header, OutlineJsTag, OutlineTag

Constant Summary collapse

PLUGIN_JS_NAME =
'outline_js'.freeze
PLUGIN_NAME =
'outline'.freeze
OutlineError =
JekyllSupport.define_error