hugo/examples/blog/content/post/hello-hugo.md
Anthony Fok efc98a3b1f Update example blog to Hugo v0.12 conventions
- Convert config.yaml to config.toml to follow what
  "hugo new site /path/to/site" generates
- Rename layouts/chrome to layouts/partials
- Convert "template" calls to "partial" calls
- Minor revisions to the text in example content
- Upgrade Bootswatch Yeti theme (3.1.1+1 → to 3.2.0+3)
- Upgrade Font Awesome (4.0.3 → 4.2.0)
- Upgrade jQuery (1.11.0 → 1.11.1)
2014-09-02 17:18:22 -04:00

1.9 KiB

title description date categories tags
Hello Hugo! Saying 'Hello' from Hugo 2014-09-01
example
hello
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 converted into a complete HTML document by Hugo. Isn't that pretty nifty?

A Section

Here's a simple titled section where you can place whatever information you want.

You can use inline HTML if you want, but really there's not much that Markdown can't do.

Showing off with Markdown

A full cheat sheet can be found here or through Google.

There are some easy examples for styling, though. I can't emphasize that enough. Creating links 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.

Front Matter for Fun

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"
date: "2014-09-01"
categories:
  - "example"
  - "hello"
tags:
  - "example"
  - "hugo"
  - "blog"
---

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 tags sections are used in this example for indexing/grouping content. You will learn more about what that means by examining the code in this example and through reading the Hugo documentation.