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
|
<h2>Welcome to the hugo mongodb docs theme.</h2>
<p>You have two choices when it comes to managing this front page.</p>
<h3>1. Markdown:</h3>
<p>First create your own index page in content: <code>hugo new ./content/index.md</code></p>
<p>Set a type in the <a href="http://gohugo.io/content/front-matter/">“front matter”</a> to <code>index</code> eg:</p>
<pre><code>+++
date = "2015-03-17T15:36:56Z"
draft = false
title = "index"
type = "index"
+++
## Add your markdown content to your frontpage.
Hello welcome to my driver docs
</code></pre>
<h3>2. HTML</h3>
<p>Create your own <code>layouts\index.html</code> eg:</p>
<pre><code>{{ partial "header.html" . }}
<h2>Add your HTML content to your frontpage.</h2>
{{ partial "footer.html" . }}
</code></pre>
|