jekyll-autolinks 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/jekyll-autolinks.gemspec +1 -1
- data/lib/jekyll-autolinks.rb +5 -3
- 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: 7438241abe4d4a371162942780f02bcd78d8525b1cb5fae44acb8523216680c3
|
4
|
+
data.tar.gz: 9a3fc5d7c657cc50d8253f4be740cd68f68aa90800ac2069f5068b2a42cfb085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50576c3ac809ae4c7a917d205d9e241ad45d9852ef92633d7b90e6a2b25013c73ec1c23db09aeaa4f36f518652f4534b68c86c2037b3851f460c962a15bfd6a2
|
7
|
+
data.tar.gz: 21ca8c60a1c31d90d014b62d69328341f4b7e7495ab5cb8a00f4cb2fc853c47f494aa1d2e4997304ddff519c390a1ccc1b4299a392670067b1b513d5560d1276
|
data/Gemfile.lock
CHANGED
data/jekyll-autolinks.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "jekyll-autolinks"
|
7
|
-
spec.version = "0.2.
|
7
|
+
spec.version = "0.2.4"
|
8
8
|
spec.authors = ["ADoyle"]
|
9
9
|
spec.email = ["adoyle.h@gmail.com"]
|
10
10
|
spec.summary = "Autolink for your Jekyll site."
|
data/lib/jekyll-autolinks.rb
CHANGED
@@ -2,7 +2,9 @@ require 'jekyll'
|
|
2
2
|
require 'rinku'
|
3
3
|
|
4
4
|
Jekyll::Hooks.register :pages, :post_render do |page|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
if page.html?
|
6
|
+
link_attr = page.site.config['autolinks']['link_attr']
|
7
|
+
skip_tags = page.site.config['autolinks']['skip_tags']
|
8
|
+
page.output = Rinku.auto_link(page.output, :all, link_attr, skip_tags)
|
9
|
+
end
|
8
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-autolinks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ADoyle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|