Retrieves all of your Greenhouse jobs and details so you can present them in your Gridsome site.
npm install gridsome-source-greenhouse
Add the plugin to gridsome.config.js
export default {
plugins: [
{
use: 'gridsome-source-greenhouse',
options: {
boardToken: 'companyname', // Greenhouse board token
}
}
]
}
GreenhouseJobs
- Content from the list jobs APIGreenhouseJobDetails
- Content from the retrieve job API
<static-query>
query GreenhouseJobDetails {
jobDetails: allGreenhouseJobDetails {
edges {
node {
title
content
}
}
}
}
</static query>
<div class="jobs" v-for="edge in $static.jobDetails.edges" :key="edge.node.id">
<h2>
{{ edge.node.title }}
</h2>
<div class="content">
{{ edge.node.content }}
</div>
</div>