New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

contentful-hugo

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-hugo - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"name": "contentful-hugo",
"version": "1.2.0",
"version": "1.2.1",
"description": "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.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -82,2 +82,3 @@ # Contentful Hugo

fileExtension: md
# this will generate a file named "_index.md" in the "content" directory

@@ -88,2 +89,3 @@ - id: siteSettings

fileExtension: yaml
# this will generate a file named settings.yaml in the "data" directory

@@ -118,4 +120,4 @@ repeatableTypes:

| fileName | required (single types only) | name of the file generated |
| fileExtension | optional (repeatable types only) | can be "md", "yml", or "yaml" (defaults to "md") |
| isHeadless | optional (repeated instances only) | turns all entries in a content type into headless leaf bundles (see [hugo docs](https://gohugo.io/content-management/page-bundles/#headless-bundle)) |
| fileExtension | optional | can be "md", "yml", or "yaml" (defaults to "md") |
| isHeadless | optional (repeatable types only) | turns all entries in a content type into headless leaf bundles (see [hugo docs](https://gohugo.io/content-management/page-bundles/#headless-bundle)) |
| mainContent | optional | field ID for field you want to be the main Markdown content. (Does not work with rich text fields)

@@ -199,3 +201,3 @@

```html
{{ with .Site.GetPage "<path-to-file>.md" }}
{{ with .Site.GetPage "<path-to-file>/<entry-id>.md" }}
{{ .Title }}

@@ -202,0 +204,0 @@ {{ end }}

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc