<noscript> tag warning for gist when jekyll server starts

I turned on gist using {% gist octocat/0831f3fbd83ac4d46451 git-author-rewrite.sh %}, then I ran jekyll server, this warning came:

Regeneration: 1 file (s) changed on 2015-08-28 19:43:12
Warning: the tag for your gct octocat / 0831f3fbd83ac4d46451 cannot be generated. This will affect users who do not have JavaScript available or available in their browsers.
Warning. The tag for your gct octocat / 0831f3fbd83ac4d46451 could not be generated. This will affect users who do not have JavaScript available or accessible in browsers .... done in 7.157032 seconds.

And the page created looked weird: an extra word was added. The reason is unknown.
Gem jekyll-gist is already installed. What can i do with this? I google for a few hours but no luck.

Edit: Hmm, add pictures to show why this question came out:

  • Noscript tag warning:

enter image description here

  • the additional word "true" is displayed:

enter image description here

+4
source share
1 answer

To close this problem, let me add something.
Yes, this is due to proxies and jekyll (my version 2.5.3). In my case, I ran jekyll serverright after the http proxy, and jekyll threw a warning, generated this HTML code (I thought there might be something wrong):

<p>true<script src="https://gist.github.com/octocat/0831f3fbd83ac4d46451.js?file=git-author-rewrite.sh"></script></p>

, "true".

, script gist ( ):

<p><script src="https://gist.github.com/octocat/0831f3fbd83ac4d46451.js"></script></p>

script gist. : jekyll , gist .

+2

All Articles