~mjorgensen/jrgnsn.net

de7ad9d47b7645eae8b2b3b32f527df9a21e1207 — Matthew Jorgensen 8 days ago c2a9ebd
Use plugin jekyll-target-blank to handle external links

They do a MUCH better job than my hack ever did.
4 files changed, 6 insertions(+), 6 deletions(-)

M Gemfile
M Gemfile.lock
M _config.yml
M _layouts/bare.html
M Gemfile => Gemfile +1 -0
@@ 21,6 21,7 @@ group :jekyll_plugins do
  gem "jekyll-feed", "~> 0.6"
  gem "jekyll-paginate"
  gem "jekyll-seo-tag"
  gem "jekyll-target-blank"
  gem "nokogiri"
end


M Gemfile.lock => Gemfile.lock +4 -0
@@ 36,6 36,9 @@ GEM
      sassc (> 2.0.1, < 3.0)
    jekyll-seo-tag (2.7.1)
      jekyll (>= 3.8, < 5.0)
    jekyll-target-blank (2.0.0)
      jekyll (>= 3.0, < 5.0)
      nokogiri (~> 1.10)
    jekyll-watch (2.2.1)
      listen (~> 3.0)
    kramdown (2.3.1)


@@ 80,6 83,7 @@ DEPENDENCIES
  jekyll-feed (~> 0.6)
  jekyll-paginate
  jekyll-seo-tag
  jekyll-target-blank
  nokogiri
  tzinfo-data


M _config.yml => _config.yml +1 -0
@@ 8,6 8,7 @@ highlighter: rouge
plugins:
- jekyll-paginate
- jekyll-seo-tag
- jekyll-target-blank
- nokogiri
paginate: 5
paginate_path: "/page/:num"

M _layouts/bare.html => _layouts/bare.html +0 -6
@@ 5,12 5,6 @@
    <meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    {% if page._permalink %}
        <base target="{{ page._permalink }}">
    {% else %}
        <base target="_blank" />
    {% endif %}

    <!-- Page Meta -->
    <title>
        {% if page.title %}