Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

aleksandarbasara/oc-hugo-dato-example

Repository files navigation

Hugo DatoCMS Starter

This repo contains a working static website written with Hugo, integrated with content coming from this DatoCMS administrative area.

This starter is based on DatoCMS Portfolio

Usage

First, install the dependencies of this project:

yarn install

Add an .env file containing the read-only API token of your DatoCMS site:

echo 'DATO_API_TOKEN=abc123' >> .env

Then, to run this website in development mode (with live-reload):

yarn start

To build the final, production ready static website:

yarn build

The final result will be saved in the public directory.

Licence

The source code is licensed MIT. The website content is licensed CC BY NC SA 4.0.