Ensure external links open in new tab

Ensure noopener and norel via a plugin. Am I going to actually write a
test and check for this? Lol.
This commit is contained in:
Ian Adam Naval 2024-04-02 02:04:28 -04:00
parent b6411e8811
commit d66c5bfc15
Signed by: potato
GPG Key ID: D22B0F9008C43F2B
4 changed files with 91 additions and 1 deletions

View File

@ -1,4 +1,8 @@
FROM jekyll/builder:3.8 AS builder FROM docker.io/jekyll/builder:4 AS builder
COPY --chown=1000 ./Gemfile* /src/
WORKDIR /src/
RUN bundle install
COPY --chown=1000 . /src COPY --chown=1000 . /src
WORKDIR /src/ianonavy/ WORKDIR /src/ianonavy/

3
Gemfile Normal file
View File

@ -0,0 +1,3 @@
source 'https://rubygems.org'
gem 'jekyll-target-blank', '~> 2.0', '>= 2.0.2'

80
Gemfile.lock Normal file
View File

@ -0,0 +1,80 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (3.23.4)
http_parser.rb (0.8.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-target-blank (2.0.2)
jekyll (>= 3.0, < 5.0)
nokogiri (~> 1.10)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
mini_portile2 (2.8.5)
nokogiri (1.13.10)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.4)
racc (1.7.3)
rake (13.2.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.6)
rouge (3.30.0)
safe_yaml (1.0.5)
sass-embedded (1.58.3)
google-protobuf (~> 3.21)
rake (>= 10.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)
PLATFORMS
ruby
DEPENDENCIES
jekyll-target-blank (~> 2.0, >= 2.0.2)
BUNDLED WITH
1.17.2

View File

@ -25,3 +25,6 @@ github_username: ianonavy
# Build settings # Build settings
markdown: kramdown markdown: kramdown
plugins:
- jekyll-target-blank