Code Monkey home page Code Monkey logo

Comments (7)

jordansissel avatar jordansissel commented on July 17, 2024

Yeah, that's a bug. I haven't actually implemented the 'include_code' plugin in jekyll yet, hehe

from cookbook.

gregburek avatar gregburek commented on July 17, 2024

Is this in Octopress or jekyll? For octopress, I think the fix is something like adding code_dir: recipes to config.yaml and prefixing the path names with proper dirs, like {% include_code rsyslog-agent/logstash.conf %}. I could be confusing octopress/jekyll configs though...

from cookbook.

jordansissel avatar jordansissel commented on July 17, 2024

I used octopress previously, its include_code plugin doesn't work the way I want (I want code relative to the directory the page is in, not relative to a single path in the project), and I had patched it. Also had to disable the code highlighting it did because of rubypython problems on my laptop.

I started from scratch a few days ago after fiddling around a bit, and the include_code plugin hasn't made its way back in just yet.

The site right now uses jekyll :)

from cookbook.

gregburek avatar gregburek commented on July 17, 2024

Ok cool. The code is, after all, accessible. Thanks for putting this cookbook up. Logstash seems like a really awesome project.

from cookbook.

jordansissel avatar jordansissel commented on July 17, 2024

Woo! Yeah the code's there, sorry about the funky template problems right now :)

from cookbook.

jordansissel avatar jordansissel commented on July 17, 2024

Fixed!

I ended up using javascript because it's probably not possible to make jekyll load plugins on github pages Works well :)

from cookbook.

gregburek avatar gregburek commented on July 17, 2024

Awesome! Thanks!

from cookbook.

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.