Giter Club home page Giter Club logo

jekyll-airtable's People

Contributors

galliani 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jekyll-airtable's Issues

Feature or documentation request: relational collections

It's been a while since I had a chance to work with this plugin and I must thank you again for putting it together.

One thing I'd like to do is to relate items in collections with other collections.

For example: "product x" in the "products" collection could link to "manufacturer x" in the "manufacturers" collection, and the latter "manufacturer x" page could list all products associated with it.

Right now the UIDs can probably make this possible but I'd like to auto-generate file names for the finished site from the titles of each entry. I did try creating a slug column in Airtable but it doesn't appear to create what I expected. Your thoughts would be welcomed!

Access attachments.yml within collection loop

Is it possible to access attachments within a collection loop? I am trying to do something like this, but am having no luck. Thanks!

<ul>
    {% for author in site.authors %}

        <h5>{{ author.name }}</h5>
        {% assign photo = site.data.airtable.attachments[author.image] %}
        <img src="{{ photo.url }}" />

    {% endfor %}
</ul>

undefined method `length' for nil:NilClass

love this plugin. Everything worked fine. But now, when the plugin syncs with airtable I get the following error:

jekyll 3.8.0 | Error: undefined method length' for nil:NilClass`

The the sync stops. And it seems to happened while the attachments get updated. Because all the new attachment won't sync. The listing are syncing fine.

I dont know if I have some buggy content in my airtable or if it is a bug. Or is there a limit on how many attachments are allowed?

###UPDATE####
the problem was: there was a blank record in the airtable. After I deleted it everything synced fine again!

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.