Skip to content

Docs: 404 error when using gists from the README #53

@DirtyF

Description

@DirtyF
Given I add the example gists from the README to a post

{% gist parkr/c08ee0f2726fd0e3909d %}
{% gist parkr/c08ee0f2726fd0e3909d test.md %}

When I run `bundle exec jekyll serve`
Then I get the following error message:

/Users/frank/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/jekyll-gist-1.4.1/lib/jekyll-gist/gist_tag.rb:96: warning: constant ::TimeoutError is deprecated
Liquid Exception: GET https://api.github.com/gists/parkr: 404 - Not Found // See: https://developer.github.com/v3/gists/#get-a-single-gist in 
/Users/frank/code/jekyll/tests/default/_posts/2017/2017-07-06-welcome-to-jekyll.markdown
jekyll 3.6.0 | Error:  GET https://api.github.com/gists/parkr: 404 - Not Found // See: https://developer.github.com/v3/gists/#get-a-single-gist

The message is not displayed if I omit the username in the gist tag:

{% gist c08ee0f2726fd0e3909d %}
{% gist c08ee0f2726fd0e3909d test.md %}

@jekyll/plugin-core Should we update the documentation?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions