galliani / jekyll-airtable Goto Github PK
View Code? Open in Web Editor NEWJekyll plugin to easily integrate with Airtable
License: MIT License
Jekyll plugin to easily integrate with Airtable
License: MIT License
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!
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>
When I construct a file name in a template using the slugify
filter, phrases become hypenated-like-so, but the plugin creates filenames with underscores instead. Could this be a setting?
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.