Setup

How to add content and modules.

Modules

Edit config file

/config/_default/module.yaml

Required modules

imports:

# Core theme required
- path: github.com/hugolify/hugolify-theme

# CMS
- path: github.com/hugolify/hugolify-decap-cms

Add modules

Adds modules according to your needs.

Example 1

In this example, I have a website with a blog and portfolio to show my projects.

imports:

# Content
- path: github.com/hugolify/hugolify-theme-projects
- path: github.com/hugolify/hugolify-theme-posts-categories
- path: github.com/hugolify/hugolify-theme-posts

# Core theme required
- path: github.com/hugolify/hugolify-theme

# CMS
- path: github.com/hugolify/hugolify-decap-cms

Example 2

In this example, I have a website for to propose services and I would like to show my press publications.

imports:

# Content
- path: github.com/hugolify/hugolify-theme-services
- path: github.com/hugolify/hugolify-theme-publications

# Core theme required
- path: github.com/hugolify/hugolify-theme

# CMS
- path: github.com/hugolify/hugolify-decap-cms

Content

Use Decap CMS to add content in your website.

Or add it in content directory.

/content/