Welcome to mirror list, hosted at ThFree Co, Russian Federation.

example.md « content « content « docs - github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fb9421af7730e835ef5cc5f1a491c44d65c65d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
title: "Example Content File"
date: "2013-07-01"
aliases: ["/doc/example/"]
linktitle: "Example"
menu:
    main:
        parent: 'content'
weight: 70
notoc: true
prev: '/content/ordering'
next: '/themes/overview'
---

Somethings are better shown than explained. The following is a very basic example of a content file:

**mysite/project/nitro.md  <- http://mysite.com/project/nitro.html**

    ---
    Title:       "Nitro : A quick and simple profiler for Go"
    Description: "Nitro is a simple profiler for you go lang applications"
    Tags:        [ "Development", "Go", "profiling" ]
    date:        "2013-06-19"
    Topics:      [ "Development", "Go" ]
    Slug:        "nitro"
    project_url: "http://github.com/spf13/nitro"
    ---

    # Nitro

    Quick and easy performance analyzer library for Go.

    ## Overview

    Nitro is a quick and easy performance analyzer library for Go.
    It is useful for comparing A/B against different drafts of functions
    or different functions.

    ## Implementing Nitro

    Using Nitro is simple. First use go get to install the latest version
    of the library.

        $ go get github.com/spf13/nitro

    Next include nitro in your application.