2014-04-12 16:04:17 -04:00
|
|
|
---
|
|
|
|
title: "Hello Hugo!"
|
|
|
|
description: "Saying 'Hello' from Hugo"
|
2014-09-02 15:05:20 -04:00
|
|
|
date: "2014-09-01"
|
2014-04-12 16:04:17 -04:00
|
|
|
categories:
|
|
|
|
- "example"
|
|
|
|
- "hello"
|
|
|
|
tags:
|
|
|
|
- "example"
|
|
|
|
- "hugo"
|
|
|
|
- "blog"
|
|
|
|
---
|
|
|
|
|
|
|
|
Hello from Hugo! If you're reading this in your browser, good job! The file `content/post/hello-hugo.md` has been
|
2014-09-02 15:05:20 -04:00
|
|
|
converted into a complete HTML document by Hugo. Isn't that pretty nifty?
|
2014-04-12 16:04:17 -04:00
|
|
|
|
|
|
|
A Section
|
|
|
|
---------
|
|
|
|
|
|
|
|
Here's a simple titled section where you can place whatever information you want.
|
|
|
|
|
2014-09-02 15:05:20 -04:00
|
|
|
You can use inline HTML if you want, but really there's not much that Markdown can't do.
|
2014-04-12 16:04:17 -04:00
|
|
|
|
2014-09-02 15:05:20 -04:00
|
|
|
Showing off with Markdown
|
2014-04-12 16:04:17 -04:00
|
|
|
-------------------------
|
|
|
|
|
|
|
|
A full cheat sheet can be found [here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)
|
2014-09-02 15:05:20 -04:00
|
|
|
or through [Google](https://google.com/).
|
2014-04-12 16:04:17 -04:00
|
|
|
|
|
|
|
There are some *easy* examples for styling, though. I can't **emphasize** that enough.
|
|
|
|
Creating [links](https://google.com/) or `inline code` blocks are very straightforward.
|
|
|
|
|
|
|
|
```
|
|
|
|
There are some *easy* examples for styling, though. I can't **emphasize** that enough.
|
|
|
|
Creating [links](https://google.com/) or `inline code` blocks are very straightforward.
|
|
|
|
```
|
|
|
|
|
2014-09-02 15:05:20 -04:00
|
|
|
Front Matter for Fun
|
2014-04-12 16:04:17 -04:00
|
|
|
--------------------
|
|
|
|
|
|
|
|
This is the meta data for this post. It is located at the top of the `content/post/hello-hugo.md` markdown file.
|
|
|
|
|
|
|
|
```
|
|
|
|
---
|
|
|
|
title: "Hello Hugo!"
|
|
|
|
description: "Saying 'Hello' from Hugo"
|
2014-09-02 15:05:20 -04:00
|
|
|
date: "2014-09-01"
|
2014-04-12 16:04:17 -04:00
|
|
|
categories:
|
|
|
|
- "example"
|
|
|
|
- "hello"
|
|
|
|
tags:
|
|
|
|
- "example"
|
|
|
|
- "hugo"
|
|
|
|
- "blog"
|
|
|
|
---
|
|
|
|
```
|
|
|
|
|
2014-09-02 15:05:20 -04:00
|
|
|
This section, called 'Front Matter', is what tells Hugo about the content in this file: the `title` of the item, the
|
|
|
|
`description`, and the `date` it was posted. In our example, we've added two custom bits of data too. The `categories` and
|
2014-04-12 16:04:17 -04:00
|
|
|
`tags` sections are used in this example for indexing/grouping content. You will learn more about what that means by
|
2014-09-27 03:35:42 -04:00
|
|
|
examining the code in this example and through reading the Hugo [documentation](http://gohugo.io/overview/introduction).
|