github.com/shohhei1126/hugo@v0.42.2-0.20180623210752-3d5928889ad7/examples/blog/content/post/hello-hugo.md (about) 1 --- 2 title: "Hello Hugo!" 3 description: "Saying 'Hello' from Hugo" 4 date: "2014-09-01" 5 categories: 6 - "example" 7 - "hello" 8 tags: 9 - "example" 10 - "hugo" 11 - "blog" 12 --- 13 14 Hello from Hugo! If you're reading this in your browser, good job! The file `content/post/hello-hugo.md` has been 15 converted into a complete HTML document by Hugo. Isn't that pretty nifty? 16 17 A Section 18 --------- 19 20 Here's a simple titled section where you can place whatever information you want. 21 22 You can use inline HTML if you want, but really there's not much that Markdown can't do. 23 24 Showing off with Markdown 25 ------------------------- 26 27 A full cheat sheet can be found [here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) 28 or through [Google](https://google.com/). 29 30 There are some *easy* examples for styling, though. I can't **emphasize** that enough. 31 Creating [links](https://google.com/) or `inline code` blocks are very straightforward. 32 33 ``` 34 There are some *easy* examples for styling, though. I can't **emphasize** that enough. 35 Creating [links](https://google.com/) or `inline code` blocks are very straightforward. 36 ``` 37 38 Front Matter for Fun 39 -------------------- 40 41 This is the meta data for this post. It is located at the top of the `content/post/hello-hugo.md` markdown file. 42 43 ``` 44 --- 45 title: "Hello Hugo!" 46 description: "Saying 'Hello' from Hugo" 47 date: "2014-09-01" 48 categories: 49 - "example" 50 - "hello" 51 tags: 52 - "example" 53 - "hugo" 54 - "blog" 55 --- 56 ``` 57 58 This section, called 'Front Matter', is what tells Hugo about the content in this file: the `title` of the item, the 59 `description`, and the `date` it was posted. In our example, we've added two custom bits of data too. The `categories` and 60 `tags` sections are used in this example for indexing/grouping content. You will learn more about what that means by 61 examining the code in this example and through reading the Hugo [documentation](http://gohugo.io/overview/introduction).