| 1 |
<h2>Welcome to the hugo mongodb docs theme.</h2> |
| 2 |
|
| 3 |
<p>You have two choices when it comes to managing this front page.</p> |
| 4 |
|
| 5 |
<h3>1. Markdown:</h3> |
| 6 |
|
| 7 |
<p>First create your own index page in content: <code>hugo new ./content/index.md</code></p> |
| 8 |
|
| 9 |
<p>Set a type in the <a href="http://gohugo.io/content/front-matter/">“front matter”</a> to <code>index</code> eg:</p> |
| 10 |
|
| 11 |
<pre><code>+++ |
| 12 |
date = "2015-03-17T15:36:56Z" |
| 13 |
draft = false |
| 14 |
title = "index" |
| 15 |
type = "index" |
| 16 |
+++ |
| 17 |
|
| 18 |
## Add your markdown content to your frontpage. |
| 19 |
|
| 20 |
Hello welcome to my driver docs |
| 21 |
</code></pre> |
| 22 |
|
| 23 |
<h3>2. HTML</h3> |
| 24 |
|
| 25 |
<p>Create your own <code>layouts\index.html</code> eg:</p> |
| 26 |
|
| 27 |
<pre><code>{{ partial "header.html" . }} |
| 28 |
|
| 29 |
<h2>Add your HTML content to your frontpage.</h2> |
| 30 |
|
| 31 |
{{ partial "footer.html" . }} |
| 32 |
</code></pre> |