UNPKG

contentful-hugo

Version:

Node module that pulls data from Contentful and turns it into markdown files for Hugo. Can be used with other Static Site Generators, but has some Hugo specific features.

12 lines (9 loc) 347 B
<!-- For all assets you have access to the following parameters through .Get "url", "assetType", "title", "description", "filename", "size", and "parentContentType" For image assets you have also have access to: "width", and "height" --> <a href='{{ .Get "url" }}' title='{{ .Get "title" }}' >{{ .Inner | markdownify }}</a >