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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50b718e44dc5cdf5e53930a7cb2c66d099eefa9da786fc29de209fd146faaebe
4
- data.tar.gz: 5f9dc723417684f53b3e14dd27e4f54ef523d3815e99c4e47b498f7ef6c51211
3
+ metadata.gz: 313eb776f06001ad0314c2658876a8f8292ecf1076dbdda2b008dba00378a7df
4
+ data.tar.gz: 91b0e6aec4eebabf17952eb6716bdfa3cdc830b9f6aa71f4e707aae61a8910f6
5
5
  SHA512:
6
- metadata.gz: c7929ed0d5a653b85ad52477bf0660ed777277732deca51998c0f5bf991f7532e6051d97feba40b30bebff4d7b661c0a3cec8eddacabd8d621dbd7d349b3c4f2
7
- data.tar.gz: 85e10666a3ad44e4feb455b0d09734e11e57c6f9fc13f160ff4c43d5dc2271d590c81eafa31d6cf9a17c6fd85e4d4d1e511aac468e1e0f42573b6e3870f494e7
6
+ metadata.gz: 479914f3545101f640a8b17274ea61ad2abe016b3bf83551f2ebd28a10f596ae4ad5bedc7c9ee314823569eabec7fa1a5b22e20a474a13312b2b19a9cb74c343
7
+ data.tar.gz: '0396a9caaebbeaf72d4b6b8f437eb8c66900530b4be253e99ba3e853f6cb286302bb6bda2178ed09c0acb633f7c13b70095dccf53794e2ea467ceca0d0c4120e'
@@ -37,8 +37,9 @@
37
37
  <meta name="robots" content="noindex, nofollow">
38
38
  {% endif %}
39
39
 
40
+
40
41
  {% seo %}
41
42
 
42
43
  {% include head_custom.html %}
43
44
 
44
- </head>
45
+ </head>
@@ -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 tocNodes -%}
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 -%}
@@ -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.5
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-09-11 00:00:00.000000000 Z
11
+ date: 2020-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler