dendron-jekyll 0.3.5 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/head.html +2 -1
- data/_includes/toc.html +2 -1
- data/_layouts/default.html +31 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 313eb776f06001ad0314c2658876a8f8292ecf1076dbdda2b008dba00378a7df
|
4
|
+
data.tar.gz: 91b0e6aec4eebabf17952eb6716bdfa3cdc830b9f6aa71f4e707aae61a8910f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 479914f3545101f640a8b17274ea61ad2abe016b3bf83551f2ebd28a10f596ae4ad5bedc7c9ee314823569eabec7fa1a5b22e20a474a13312b2b19a9cb74c343
|
7
|
+
data.tar.gz: '0396a9caaebbeaf72d4b6b8f437eb8c66900530b4be253e99ba3e853f6cb286302bb6bda2178ed09c0acb633f7c13b70095dccf53794e2ea467ceca0d0c4120e'
|
data/_includes/head.html
CHANGED
data/_includes/toc.html
CHANGED
@@ -2,8 +2,9 @@
|
|
2
2
|
{%- if tocNodes.size > 0 -%}
|
3
3
|
<hr>
|
4
4
|
<h2 class="text-delta">Table of contents</h2>
|
5
|
+
{%- assign sorted_nodes = tocNodes | sort_natural:"nav_order" -%}
|
5
6
|
<ul>
|
6
|
-
{%- for tocNode in
|
7
|
+
{%- for tocNode in sorted_nodes -%}
|
7
8
|
<li>
|
8
9
|
<a href="{{ tocNode.url | absolute_url }}">{{ tocNode.title }}</a>
|
9
10
|
{%- if tocNode.summary -%}
|
data/_layouts/default.html
CHANGED
@@ -97,6 +97,37 @@ layout: table_wrappers
|
|
97
97
|
{% endif %}
|
98
98
|
{% endunless %}
|
99
99
|
<div id="main-content" class="main-content" role="main">
|
100
|
+
|
101
|
+
{% if page.sources %}
|
102
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
|
103
|
+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
104
|
+
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
105
|
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
106
|
+
|
107
|
+
{% if site.enable_mathjax %}
|
108
|
+
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
109
|
+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
110
|
+
{% endif %}
|
111
|
+
|
112
|
+
|
113
|
+
<div class="alert alert-primary" role="alert">
|
114
|
+
This page was generated from content adapted from the following <a href="#" data-html="true" data-toggle="popover" title="Attributions">sources</a>
|
115
|
+
</a>
|
116
|
+
</div>
|
117
|
+
|
118
|
+
<script>
|
119
|
+
$(function () {
|
120
|
+
$('[data-toggle="popover"]').popover({content: `
|
121
|
+
<ul>
|
122
|
+
{% for source in page.sources %}
|
123
|
+
<li> <a href="{{source.url}}" target="_blank">{% if source.name and source.name != "" %} {{source.name}} {% else %} {{source.url}} {% endif %} </li>
|
124
|
+
{% endfor %}
|
125
|
+
</ul>
|
126
|
+
`})
|
127
|
+
})
|
128
|
+
</script>
|
129
|
+
{% endif %}
|
130
|
+
|
100
131
|
{% if site.heading_anchors != false %}
|
101
132
|
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" %}
|
102
133
|
{% else %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dendron-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Lin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|