Giter Club home page Giter Club logo

jekyll-asset-path-plugin's People

Contributors

bryant1410 avatar edisonchee avatar eliottwiener avatar gtwiggs avatar oturpe avatar samrayner avatar stevecheckoway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jekyll-asset-path-plugin's Issues

Include post date into asset path

It seems it's not possible to add the post date to the path. Since the posts are in files that include the date, post names are not unique in my setup. Would including the date be a possible addition?

Inconsistent asset path for _drafts

While using this plugin, I like to work with drafts and regular posts. This works great for all .md files in the _posts folder, but when running jekyll serve --drafts and viewing assets on draft posts, they appear to be at a different path. When the draft post is moved to the published posts folder the asset path is correct.

Not sure if this is feature or a bug.

Make this a ruby gem

It would be awesome to see this worked into a ruby gem.

Skeleton can be generated with bundle gem jekyll-asset-path (more info)

Then installation can be setup like this

Not able to implement on Jekyll v3.3.1

Per the Jekyll Assets documentation, you need to use single quotes to add a liquid tag as an argument. I was getting errors before I added the single quotes.

{% asset_path '{{ file.download }}' /downloads %}

Even so, I'm not able to get the above to work i.e. the url is not prefixed by /downloads. Is there a way to check if the plugin is being loaded by Jekyll?

Github page build fails.

The page build failed with the following error:

The tag asset_path on line 39 in _posts/2016-07-09-X11.markdown is not a recognized Liquid tag.

This is the error that i obtained when i tried to copy the .rb file and use asset_path to add a image to page.

Not working with GitHub Pages?

Hi. I used your plugin in my Jekyll blog site. It works fine when I preview it in localhost, but when I publish the site to gh-pages, GitHub said:

Your site is having problems building: The tag asset_path on line 44 in _posts/2017-05-03-enable-direct3d-in-win2k-vbox.md is not a recognized Liquid tag. For more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error/.

Apparently it is mentioning this line ![img]({% asset_path true-kernel32-string.png %}) .

And when I read this, it said

Other plugins are not supported, so the only way to incorporate them in your site is to generate your site locally and then push your site's static files to your GitHub Pages site.

I thought I already generated the site locally when I run bundle exec jekyll serve? I'm confused now.

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.