Carbon Blog | HUGO

By - RedSparrowThemes

support@redsparrowthemes.com

Hi and welcome to Carbon Blog User Guide. This guide will cover all the information needed to make an awesome blog and deploy on your servers. If you still face any issue you can any time mail down the issue to support@redsparrowthemes.com and our support team will be glad to help you out.

You can navigate to different sections using the left navigation bar. Important sections are covered in this user guide.


Install

First step is to install HUGO on your specific OS. If you are new to HUGO you can read the HUGO Docs. These docs are great and updated to start with HUGO installation.

* Since we are using SCSS make sure you have the extended version of HUGO installed on your system.


Using Carbon Blog Template

There is no need to add the theme we have have added theme to the hugo structure itself. Once you extract the zip in desired location just run -

hugo server

Pages

This template has following pages currently -

  • Home
  • Categories
  • Blog Details
  • Say Hi

You can find these pages in the layout folder, where you can edit the strucutre of the page

You can edit edit the content of the pages from the content folder.


Blog Content

You can create a new blog using 2 methods.

First Method -

hugo new blog/my-first-post.md

Once you have created "my-first-post.md" through cli you can add some essentail front matter

---
title: "What wikipedia can't tell you about photography services"
date: 2020-10-02
categories:
- Travel
- Nature
- Solo
type: "blog"
image: 'https://via.placeholder.com/1920x1080'
---

Second Method

You can directly create a "my-first-post.md" in the blog folder and add the following front matter

---
title: "What wikipedia can't tell you about photography services"
date: 2020-10-02
categories:
- Travel
- Nature
- Solo
type: "blog"
image: '/images/CEq6fRnVn4c.jpg'
---



Categories

We have given a provision where you can add categories to a blog and you can get the sorted blog posts as per the category name.

You have to do is mention categories in the front matter of the blog posts.

---
title: "What wikipedia can't tell you about photography services"
date: 2020-10-02
categories:
- Travel
- Nature
- Solo
type: "blog"
image: '/images/CEq6fRnVn4c.jpg'
---

Now this blog will be available in 3 categories.

On categories page you will find 3 categories card and each will have this blog post