hugo/docs/content/content/example.md
Anthony Fok 5dd3eaabee More proofreading and minor revisions to Hugo docs
Among the various changes, most instances of

    {{ template "partials/FILE.html" . }}

were changed to

    {{ partial "FILE.html" . }}

Also, in main.go, change "2013" to "2013-14".
2014-09-08 11:41:10 -04:00

1.2 KiB

aliases date linktitle menu next notoc prev title weight
/doc/example/
2013-07-01 Example
main
parent
content
/themes/overview true /content/ordering Example Content File 70

Some things 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.