Minor changes

This commit is contained in:
Giuseppe Pignataro
2019-02-25 00:43:14 +01:00
parent 0396b84fe6
commit b5ac0e87dc
11 changed files with 474 additions and 76 deletions

38
exampleSite/content/posts/hugoisforlovers.md Executable file → Normal file
View File

@@ -1,19 +1,31 @@
---
title: Getting Started with Hugo
cover: "/img/cover.jpg"
tags: ["go", "golang", "hugo", "development"]
categories: ["Uncategorized"]
date: "2014-04-02"
---
+++
title = "Getting Started with Hugo"
description = ""
type = ["posts","post"]
tags = [
"go",
"golang",
"hugo",
"development",
]
date = "2014-04-02"
categories = [
"Development",
"golang",
]
series = ["Hugo 101"]
[ author ]
name = "Hugo Authors"
+++
## Step 1. Install Hugo
Goto [hugo releases](https://github.com/spf13/hugo/releases) and download the
appropriate version for your os and architecture.
Go to [Hugo releases](https://github.com/spf13/hugo/releases) and download the
appropriate version for your OS and architecture.
Save it somewhere specific as we will be using it in the next step.
More complete instructions are available at [installing hugo](/overview/installing/)
More complete instructions are available at [Install Hugo](https://gohugo.io/getting-started/installing/)
## Step 2. Build the Docs
@@ -22,7 +34,7 @@ you are reading right now.
Follow the following steps:
1. Clone the [hugo repository](http://github.com/spf13/hugo)
1. Clone the [Hugo repository](http://github.com/spf13/hugo)
2. Go into the repo
3. Run hugo in server mode and build the docs
4. Open your browser to http://localhost:1313
@@ -42,7 +54,7 @@ Once you've gotten here, follow along the rest of this page on your local build.
## Step 3. Change the docs site
Stop the Hugo process by hitting ctrl+c.
Stop the Hugo process by hitting Ctrl+C.
Now we are going to run hugo again, but this time with hugo in watch mode.
@@ -72,7 +84,7 @@ Change and save this file.. Notice what happened in your terminal.
Refresh the browser and observe that the typo is now fixed.
Notice how quick that was. Try to refresh the site before it's finished building.. I double dare you.
Notice how quick that was. Try to refresh the site before it's finished building. I double dare you.
Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.
## Step 4. Have fun