Giter VIP home page Giter VIP logo

Comments (8)

plusjade avatar plusjade commented on May 18, 2024

jb is meant to be fully compatable with github pages. github pages does not
support any plugins.

but plugins will work the same with jb if you have your own custom deploy
task set up.

from jekyll-bootstrap.

tullyliu avatar tullyliu commented on May 18, 2024

yes, I can use offline jekyll plugin locally
but I think liquid can also implement the gist integration like the JB way
may be like
{% assign gist.id = 111 %}
{% assign gist.file = aaa %}
{% include JB/gist %}

gist file content is

<div id="gist">
<script src="https://gist.github.com/{{ gist.id }}.js?file={{ gist.file }}"></script>
<noscript>
<pre>https://gist.github.com/{{gist.id}}.js?file={{gist.file}}</pre>
</noscript>
</div> 
{% assign gist.id = nil %}
{% assign gist.file = nil %}

from jekyll-bootstrap.

plusjade avatar plusjade commented on May 18, 2024

Ah I'll give that a look, that sounds good! Originally I responded on my phone so only gave this a quick look. You have a good idea though so I'll take a look once I get off work! thanks!

from jekyll-bootstrap.

plusjade avatar plusjade commented on May 18, 2024

Just pinging you that I know it's been 8 months but I'm going through the backlog and updating things as I can. This is definitely a good idea if it works so I'm reminding myself here to give it a try -- thank you!

from jekyll-bootstrap.

antitoxic avatar antitoxic commented on May 18, 2024

I would also like to see this. I'll be using gist scripts until then.

from jekyll-bootstrap.

groundh0g avatar groundh0g commented on May 18, 2024

Looking for low-hanging fruit to get my feet wet on this repo. Looks like a good candidate.

I'll poke around to see if this is still the preferred solution, then implement as a PR.

from jekyll-bootstrap.

groundh0g avatar groundh0g commented on May 18, 2024

Looks like Jekyll beat us to the punch ...

http://jekyllrb.com/docs/templates/#gist

from jekyll-bootstrap.

groundh0g avatar groundh0g commented on May 18, 2024

Stand-alone addition to utility functions. Low risk. Merged as #243.

from jekyll-bootstrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.