dendron-jekyll 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/default.html +15 -2
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 179dab9eca45698050d57fe443c0fed1ae42388138d69a80f224aa65bce552fc
4
- data.tar.gz: 2c09ab175cd91f107bd0e770c8191fc534c7fc6ec4f91281e3e0d60755f66233
3
+ metadata.gz: 89ba72eea854b6ed542db4ab906c2e5de88154374b7952f95f295352f7f6c8ef
4
+ data.tar.gz: 83850c335f5287dcde92fc65ff95bbfcc828d1d8b1aa30bc50679615ca255860
5
5
  SHA512:
6
- metadata.gz: 5438a789546185ef3faf861c102a63849388fffe1dbf1e597c9e6212008ce3219dbd67d274c83e4ff85e5d7a0a95d2199665c075de2f52a8645faeca4849ba1b
7
- data.tar.gz: a4cdcd5e3a38d0db7a5b7d163df7cb8cd3e28c8b324e13b237cff22fbd29fa045a543ad61bb2f4e3dcfe87f14ba90b64c5d310d876caf2e5176f25901e37926c
6
+ metadata.gz: fb4ae47cd98f93c5846e74dda8c199efafe972c0b79f43eaae9183b29a7bfb7ed4930dae075dd60cce681f81b86905b5fbb8147baa204cd496f1878668dd561a
7
+ data.tar.gz: 27ddc55047b498ab339264d4c9953b46fa71464b8c5630fc8c1ef7742405d595c4b15bebd0b982e51e21ae4c40b547d75c80dd2bfd05f2b7e20b6c08b6c717e4
@@ -98,17 +98,30 @@ layout: table_wrappers
98
98
  {% endunless %}
99
99
  <div id="main-content" class="main-content" role="main">
100
100
 
101
- {% if page.source %}
101
+ {% if page.sources %}
102
102
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
103
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
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
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
106
 
107
107
  <div class="alert alert-primary" role="alert">
108
- This material on this page is derived from content first created on <a href="{{page.source.url}}" target="_blank">{% if page.source.name %} {{page.source.name}} {% else %} {{page.source.url}} {% endif %}
108
+ This page was generated from content adapted from the following <a href="#" data-html="true" data-toggle="popover" title="Attributions">sources</a>
109
+
110
+ <a href="{{page.source.url}}" target="_blank">{% if page.source.name %} {{page.source.name}} {% else %} {{page.source.url}} {% endif %}
109
111
  </a>
110
112
  </div>
111
113
 
114
+ <script>
115
+ $(function () {
116
+ $('[data-toggle="popover"]').popover({content: `
117
+ <ul>
118
+ {% for source in page.sources %}
119
+ <li> <a href="{{source.url}}" target="_blank">{% if source.name %} {{source.name}} {% else %} {{source.url}} {% endif %} </li>
120
+ {% endfor %}
121
+ </ul>
122
+ `})
123
+ })
124
+ </script>
112
125
  {% endif %}
113
126
 
114
127
  {% if site.heading_anchors != false %}
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.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Lin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-16 00:00:00.000000000 Z
11
+ date: 2020-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,7 +72,7 @@ dependencies:
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
74
  version: 13.1.0
75
- description:
75
+ description:
76
76
  email:
77
77
  - kevin@thence.io
78
78
  executables:
@@ -224,7 +224,7 @@ homepage: https://github.com/dendronhq/dendron-jekyll
224
224
  licenses:
225
225
  - MIT
226
226
  metadata: {}
227
- post_install_message:
227
+ post_install_message:
228
228
  rdoc_options: []
229
229
  require_paths:
230
230
  - lib
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  requirements: []
242
242
  rubygems_version: 3.0.3
243
- signing_key:
243
+ signing_key:
244
244
  specification_version: 4
245
245
  summary: Dendron Jekyll Theme
246
246
  test_files: []