Comments (3)
When using github-metadata
plugin for extracting site.url
from the GitHub repository for hosting with GitHub pages, this plugin crashes.
from jekyll-target-blank.
Bumping this. This is what caused the CloudFlare Pages build to fail: I didn't define url
in _config.yml
and the build would crash with an error whose root cause is as follows:
17:40:45.705 | /opt/buildhome/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/uri/rfc3986_parser.rb:15:in `split': undefined method `to_str' for nil:NilClass (NoMethodError)
-- | --
17:40:45.705 | ย
17:40:45.706 | uri = uri.to_str
17:40:45.706 | ^^^^^^^
17:40:45.706 | from /opt/buildhome/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/uri/rfc3986_parser.rb:71:in `parse'
17:40:45.706 | from /opt/buildhome/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/uri/common.rb:193:in `parse'
17:40:45.706 | from /opt/buildhome/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/jekyll-target-blank-2.0.2/lib/jekyll-target-blank.rb:196:in `external?'
The error went away after I added the production url
to _config.yml
. It even made the Preview deployment pass, which actually has a different url
than the one I specified in _config.yml
.
from jekyll-target-blank.
Hi guys.
The URL in the config is required for this plugin to work.
Thanks
from jekyll-target-blank.
Related Issues (20)
- 1.2.0 doesn't work with Jekyll v4 HOT 3
- Add hostname white list to skip adding rel attributes HOT 12
- Define path on own domain as external links HOT 3
- In 2.0.0: undefined method `match?' for "/":String (NoMethodError) HOT 2
- css tag for *not* modifying external links HOT 2
- Error: bad URI(is not URI?): http://localhost:4000 HOT 7
- Plugin isnโt working HOT 22
- do not ovewrite custom attributes e.g. {:rel="sponsored"} HOT 8
- Be able to exclude some pages
- Make the plugin work with Markdown only HOT 1
- Remove rel="noopener noreferrer" from default config HOT 2
- Intel Mac -- Arm64 Nokogiri... HOT 1
- Plugin not working unless the gem is added to the group :jekyll_plugins section HOT 3
- Not working (with Github Pages) HOT 1
- exclude specific external links HOT 2
- Remove CI checks so that we can merge the PRs. HOT 1
- Cannot build Jekyll site HOT 7
- Not working when URL constructed from site data HOT 3
- Causes HTML named character entities to be rendered incorrectly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-target-blank.