GithubHelp home page GithubHelp logo

thedodobird2 / contentful-hugo Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 2.42 MB

A tool for Hugo that pulls content from the Contentful API

License: Apache License 2.0

Go 95.79% HTML 4.21%
go hugo contentful

contentful-hugo's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

swissbite

contentful-hugo's Issues

Cleanup folder by default

The output folder should be cleaned by default or at least the deleted assets should be removed.

#3 may enforce to delete the directory before fetch the data. But an option to skip cleanup (and just overwrite if a conflict happens) may be an option.

Having difficulties getting this to work with your README instructions

Is it possible, to put together a step by step to show how you get this work?

I have the config.json and the contentful-hugo file in the root folder at the same level of my hugo folder.

I get the following when following your instructions...

contentful-connector: command not found

then I try contentful-hugo instead, and I get...

contentful-hugo: command not found

How to use?

I have been looking for something like this. For a Go novice, how do I use this with Hugo?

Improve Generation of Filename for Content Entries

At the moment new content entries from Contentful are created with the filename being the same as the entry's ID. This ID can have upper and lowercase letters; this isn't what we want. Especially because of the URLs which are built (Hugo URLs are always all-lowercase).

Requirements for filename:

  • all lowercase
  • unique

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.