init
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Basic Startup"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
description: "this is meta description"
|
||||
---
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Basic Startup"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
description: "this is meta description"
|
||||
---
|
||||
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 3
|
||||
draft: false
|
||||
---
|
||||
|
||||
### Global site parameters
|
||||
|
||||
On top of [Hugo global configuration](https://gohugo.io/overview/configuration/), **Dot** lets you define the following parameters in your `config.toml` (here, values are default).
|
||||
|
||||
Note that some of these parameters are explained in details in other sections of this documentation.
|
||||
|
||||
```toml
|
||||
# base URL place here
|
||||
baseURL = "https://examplesite.com"
|
||||
# this is your site title
|
||||
title = "Hugo documentation theme"
|
||||
# theme should be `godocs`
|
||||
theme = "godocs"
|
||||
# disable language from here
|
||||
disableLanguages = ["fr"] # now franch language is disabled
|
||||
|
||||
|
||||
# add css plugin
|
||||
[[params.plugins.css]]
|
||||
link = "define plugins path"
|
||||
|
||||
# add js plugin
|
||||
[[params.plugins.js]]
|
||||
link = "define plugins path"
|
||||
|
||||
|
||||
# main menu
|
||||
[[menu.main]]
|
||||
name = "contact"
|
||||
url = "contact/"
|
||||
weight = 1
|
||||
|
||||
# Call to action is default enabled, if you want to disable it. just change the
|
||||
enable = false
|
||||
|
||||
####### Default parameters ###########
|
||||
[params]
|
||||
logo = "images/logo.png"
|
||||
# Meta data
|
||||
description = "This is meta description"
|
||||
author = "Themefisher"
|
||||
# contact form action
|
||||
contact_form_action = "#" # contact form works with https://formspree.io
|
||||
|
||||
```
|
||||
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 3
|
||||
draft: false
|
||||
---
|
||||
|
||||
### Global site parameters
|
||||
|
||||
On top of [Hugo global configuration](https://gohugo.io/overview/configuration/), **Dot** lets you define the following parameters in your `config.toml` (here, values are default).
|
||||
|
||||
Note that some of these parameters are explained in details in other sections of this documentation.
|
||||
|
||||
```toml
|
||||
# base URL place here
|
||||
baseURL = "https://examplesite.com"
|
||||
# this is your site title
|
||||
title = "Hugo documentation theme"
|
||||
# theme should be `godocs`
|
||||
theme = "godocs"
|
||||
# disable language from here
|
||||
disableLanguages = ["fr"] # now franch language is disabled
|
||||
|
||||
|
||||
# add css plugin
|
||||
[[params.plugins.css]]
|
||||
link = "define plugins path"
|
||||
|
||||
# add js plugin
|
||||
[[params.plugins.js]]
|
||||
link = "define plugins path"
|
||||
|
||||
|
||||
# main menu
|
||||
[[menu.main]]
|
||||
name = "contact"
|
||||
url = "contact/"
|
||||
weight = 1
|
||||
|
||||
# Call to action is default enabled, if you want to disable it. just change the
|
||||
enable = false
|
||||
|
||||
####### Default parameters ###########
|
||||
[params]
|
||||
logo = "images/logo.png"
|
||||
# Meta data
|
||||
description = "This is meta description"
|
||||
author = "Themefisher"
|
||||
# contact form action
|
||||
contact_form_action = "#" # contact form works with https://formspree.io
|
||||
|
||||
```
|
||||
@@ -0,0 +1,51 @@
|
||||
---
|
||||
title: "Customization"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 4
|
||||
draft: false
|
||||
---
|
||||
|
||||
**GoDocs** has been built to be as configurable as possible.
|
||||
|
||||
### Change the logo
|
||||
|
||||
In `config.toml` you will find a logo variable. you can change your logo there.
|
||||
|
||||
```toml
|
||||
logo = "images/logo.png"
|
||||
```
|
||||
|
||||
{{< notice "tip" >}}
|
||||
The size of the logo will adapt automatically
|
||||
{{< /notice >}}
|
||||
|
||||
### Change the favicon
|
||||
|
||||
If your favicon is a png, just drop off your image in your local `static/images/` folder and name it `favicon.png`
|
||||
|
||||
If you need to change this default behavior, create a new file in `layouts/partials/` named `head.html`. Then write something like this:
|
||||
|
||||
```html
|
||||
<link rel="shortcut icon" href="/images/favicon.png" type="image/x-icon" />
|
||||
```
|
||||
|
||||
### Change default colors
|
||||
|
||||
**GoDocs** support change color. You can change the colors from `assets/scss/variables.scss`. You can change the colors of the template as you want.
|
||||
|
||||
```scss
|
||||
/* Color Variables */
|
||||
$color-primary: #FF0043;
|
||||
$text-color: #333;
|
||||
$text-dark: #222;
|
||||
$text-light: #999;
|
||||
$body-bg: #fff;
|
||||
$border-color: #E2E2E2;
|
||||
$black: #000;
|
||||
$white: #fff;
|
||||
$light: #FBFBFB;
|
||||
|
||||
/* Font Variables */
|
||||
$font-primary: 'Montserrat', sans-serif;
|
||||
$font-icon: 'Font Awesome 5 Free';
|
||||
```
|
||||
@@ -0,0 +1,51 @@
|
||||
---
|
||||
title: "Customization"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 4
|
||||
draft: false
|
||||
---
|
||||
|
||||
**GoDocs** has been built to be as configurable as possible.
|
||||
|
||||
### Change the logo
|
||||
|
||||
In `config.toml` you will find a logo variable. you can change your logo there.
|
||||
|
||||
```toml
|
||||
logo = "images/logo.png"
|
||||
```
|
||||
|
||||
{{< notice "tip" >}}
|
||||
The size of the logo will adapt automatically
|
||||
{{< /notice >}}
|
||||
|
||||
### Change the favicon
|
||||
|
||||
If your favicon is a png, just drop off your image in your local `static/images/` folder and name it `favicon.png`
|
||||
|
||||
If you need to change this default behavior, create a new file in `layouts/partials/` named `head.html`. Then write something like this:
|
||||
|
||||
```html
|
||||
<link rel="shortcut icon" href="/images/favicon.png" type="image/x-icon" />
|
||||
```
|
||||
|
||||
### Change default colors
|
||||
|
||||
**GoDocs** support change color. You can change the colors from `assets/scss/variables.scss`. You can change the colors of the template as you want.
|
||||
|
||||
```scss
|
||||
/* Color Variables */
|
||||
$color-primary: #FF0043;
|
||||
$text-color: #333;
|
||||
$text-dark: #222;
|
||||
$text-light: #999;
|
||||
$body-bg: #fff;
|
||||
$border-color: #E2E2E2;
|
||||
$black: #000;
|
||||
$white: #fff;
|
||||
$light: #FBFBFB;
|
||||
|
||||
/* Font Variables */
|
||||
$font-primary: 'Montserrat', sans-serif;
|
||||
$font-icon: 'Font Awesome 5 Free';
|
||||
```
|
||||
@@ -0,0 +1,208 @@
|
||||
---
|
||||
title: "Elements"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 5
|
||||
draft: false
|
||||
---
|
||||
|
||||
#### Heading example
|
||||
|
||||
Here is example of hedings. You can use this heading by following markdownify rules. For example: use `#` for heading 1 and use `######` for heading 6.
|
||||
|
||||
# Heading 1
|
||||
## Heading 2
|
||||
### Heading 3
|
||||
#### Heading 4
|
||||
##### Heading 5
|
||||
###### Heading 6
|
||||
|
||||
<hr>
|
||||
|
||||
##### Emphasis
|
||||
|
||||
Emphasis, aka italics, with *asterisks* or _underscores_.
|
||||
|
||||
Strong emphasis, aka bold, with **asterisks** or __underscores__.
|
||||
|
||||
Combined emphasis with **asterisks and _underscores_**.
|
||||
|
||||
Strikethrough uses two tildes. ~~Scratch this.~~
|
||||
|
||||
<hr>
|
||||
|
||||
##### Link
|
||||
[I'm an inline-style link](https://www.google.com)
|
||||
|
||||
[I'm an inline-style link with title](https://www.google.com "Google's Homepage")
|
||||
|
||||
[I'm a reference-style link][Arbitrary case-insensitive reference text]
|
||||
|
||||
[I'm a relative reference to a repository file](../blob/master/LICENSE)
|
||||
|
||||
[You can use numbers for reference-style link definitions][1]
|
||||
|
||||
Or leave it empty and use the [link text itself].
|
||||
|
||||
URLs and URLs in angle brackets will automatically get turned into links.
|
||||
http://www.example.com or <http://www.example.com> and sometimes
|
||||
example.com (but not on Github, for example).
|
||||
|
||||
Some text to show that the reference links can follow later.
|
||||
|
||||
[arbitrary case-insensitive reference text]: https://www.themefisher.com
|
||||
[1]: https://gethugothemes.com
|
||||
[link text itself]: https://www.getjekyllthemes.com
|
||||
|
||||
<hr>
|
||||
|
||||
##### Paragraph
|
||||
|
||||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime corporis cumque totam aliquid nam sint inventore optio modi neque laborum officiis necessitatibus, facilis placeat pariatur! Voluptatem, sed harum pariatur adipisci voluptates voluptatum cumque, porro sint minima similique magni perferendis fuga! Optio vel ipsum excepturi tempore reiciendis id quidem? Vel in, doloribus debitis nesciunt fugit sequi magnam accusantium modi neque quis, vitae velit, pariatur harum autem a! Velit impedit atque maiores animi possimus asperiores natus repellendus excepturi sint architecto eligendi non, omnis nihil. Facilis, doloremque illum. Fugit optio laborum minus debitis natus illo perspiciatis corporis voluptatum rerum laboriosam.
|
||||
|
||||
<hr>
|
||||
|
||||
##### Ordered List
|
||||
|
||||
1. List item
|
||||
2. List item
|
||||
3. List item
|
||||
4. List item
|
||||
5. List item
|
||||
|
||||
<hr>
|
||||
|
||||
##### Unordered List
|
||||
|
||||
* List item
|
||||
* List item
|
||||
* List item
|
||||
* List item
|
||||
* List item
|
||||
|
||||
<hr>
|
||||
|
||||
#### Notice
|
||||
|
||||
{{< notice "note" >}}
|
||||
This is a simple note.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice "tip" >}}
|
||||
This is a simple tip.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice "info" >}}
|
||||
This is a simple info.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice "warning" >}}
|
||||
This is a simple warning.
|
||||
{{< /notice >}}
|
||||
|
||||
<hr>
|
||||
|
||||
#### Tab
|
||||
|
||||
{{< tabs "my-tab" >}}
|
||||
|
||||
{{< tab "first" >}}
|
||||
This is first tab
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab "second" >}}
|
||||
this is second tab
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab "third" >}}
|
||||
this is third tab
|
||||
{{< /tab >}}
|
||||
|
||||
{{</ tabs >}}
|
||||
|
||||
<hr>
|
||||
|
||||
### Collapse
|
||||
|
||||
{{< collapse "This is an Collapse" >}}
|
||||
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||
{{< /collapse >}}
|
||||
|
||||
{{< collapse "This is a dummy description text" >}}
|
||||
This is the start of dummy description text. You can change it whenever you want. It is used to test the responsiveness of the site. It is not used in the actual site.
|
||||
{{< /collapse >}}
|
||||
|
||||
<hr>
|
||||
|
||||
##### Code and Syntax Highlighting
|
||||
|
||||
Inline `code` has `back-ticks around` it.
|
||||
|
||||
```javascript
|
||||
var s = "JavaScript syntax highlighting";
|
||||
alert(s);
|
||||
```
|
||||
|
||||
```python
|
||||
s = "Python syntax highlighting"
|
||||
print s
|
||||
```
|
||||
|
||||
```html
|
||||
No language indicated, so no syntax highlighting.
|
||||
But let's throw in a <b>tag</b>.
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
##### Blockquote
|
||||
|
||||
> This is a blockquote example.
|
||||
|
||||
<hr>
|
||||
|
||||
##### Inline HTML
|
||||
|
||||
You can also use raw HTML in your Markdown, and it'll mostly work pretty well.
|
||||
|
||||
<dl>
|
||||
<dt>Definition list</dt>
|
||||
<dd>Is something people use sometimes.</dd>
|
||||
|
||||
<dt>Markdown in HTML</dt>
|
||||
<dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
|
||||
</dl>
|
||||
|
||||
<hr>
|
||||
|
||||
##### Tables
|
||||
|
||||
Colons can be used to align columns.
|
||||
|
||||
| Tables | Are | Cool |
|
||||
| ------------- |:-------------:| -----:|
|
||||
| col 3 is | right-aligned | $1600 |
|
||||
| col 2 is | centered | $12 |
|
||||
| zebra stripes | are neat | $1 |
|
||||
|
||||
There must be at least 3 dashes separating each header cell.
|
||||
The outer pipes (|) are optional, and you don't need to make the
|
||||
raw Markdown line up prettily. You can also use inline Markdown.
|
||||
|
||||
Markdown | Less | Pretty
|
||||
--- | --- | ---
|
||||
*Still* | `renders` | **nicely**
|
||||
1 | 2 | 3
|
||||
|
||||
<hr>
|
||||
|
||||
##### Image
|
||||
|
||||
{{< image src="img-1.jpg" alt="image" zoomable="true" >}}
|
||||
|
||||
<hr>
|
||||
|
||||
##### Youtube video
|
||||
|
||||
{{< youtube 8cdO5mJnPws >}}
|
||||
@@ -0,0 +1,208 @@
|
||||
---
|
||||
title: "Elements"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 5
|
||||
draft: false
|
||||
---
|
||||
|
||||
#### Heading example
|
||||
|
||||
Here is example of hedings. You can use this heading by following markdownify rules. For example: use `#` for heading 1 and use `######` for heading 6.
|
||||
|
||||
# Heading 1
|
||||
## Heading 2
|
||||
### Heading 3
|
||||
#### Heading 4
|
||||
##### Heading 5
|
||||
###### Heading 6
|
||||
|
||||
<hr>
|
||||
|
||||
##### Emphasis
|
||||
|
||||
Emphasis, aka italics, with *asterisks* or _underscores_.
|
||||
|
||||
Strong emphasis, aka bold, with **asterisks** or __underscores__.
|
||||
|
||||
Combined emphasis with **asterisks and _underscores_**.
|
||||
|
||||
Strikethrough uses two tildes. ~~Scratch this.~~
|
||||
|
||||
<hr>
|
||||
|
||||
##### Link
|
||||
[I'm an inline-style link](https://www.google.com)
|
||||
|
||||
[I'm an inline-style link with title](https://www.google.com "Google's Homepage")
|
||||
|
||||
[I'm a reference-style link][Arbitrary case-insensitive reference text]
|
||||
|
||||
[I'm a relative reference to a repository file](../blob/master/LICENSE)
|
||||
|
||||
[You can use numbers for reference-style link definitions][1]
|
||||
|
||||
Or leave it empty and use the [link text itself].
|
||||
|
||||
URLs and URLs in angle brackets will automatically get turned into links.
|
||||
http://www.example.com or <http://www.example.com> and sometimes
|
||||
example.com (but not on Github, for example).
|
||||
|
||||
Some text to show that the reference links can follow later.
|
||||
|
||||
[arbitrary case-insensitive reference text]: https://www.themefisher.com
|
||||
[1]: https://gethugothemes.com
|
||||
[link text itself]: https://www.getjekyllthemes.com
|
||||
|
||||
<hr>
|
||||
|
||||
##### Paragraph
|
||||
|
||||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime corporis cumque totam aliquid nam sint inventore optio modi neque laborum officiis necessitatibus, facilis placeat pariatur! Voluptatem, sed harum pariatur adipisci voluptates voluptatum cumque, porro sint minima similique magni perferendis fuga! Optio vel ipsum excepturi tempore reiciendis id quidem? Vel in, doloribus debitis nesciunt fugit sequi magnam accusantium modi neque quis, vitae velit, pariatur harum autem a! Velit impedit atque maiores animi possimus asperiores natus repellendus excepturi sint architecto eligendi non, omnis nihil. Facilis, doloremque illum. Fugit optio laborum minus debitis natus illo perspiciatis corporis voluptatum rerum laboriosam.
|
||||
|
||||
<hr>
|
||||
|
||||
##### Ordered List
|
||||
|
||||
1. List item
|
||||
2. List item
|
||||
3. List item
|
||||
4. List item
|
||||
5. List item
|
||||
|
||||
<hr>
|
||||
|
||||
##### Unordered List
|
||||
|
||||
* List item
|
||||
* List item
|
||||
* List item
|
||||
* List item
|
||||
* List item
|
||||
|
||||
<hr>
|
||||
|
||||
#### Notice
|
||||
|
||||
{{< notice "note" >}}
|
||||
This is a simple note.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice "tip" >}}
|
||||
This is a simple tip.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice "info" >}}
|
||||
This is a simple info.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice "warning" >}}
|
||||
This is a simple warning.
|
||||
{{< /notice >}}
|
||||
|
||||
<hr>
|
||||
|
||||
#### Tab
|
||||
|
||||
{{< tabs "my-tab" >}}
|
||||
|
||||
{{< tab "first" >}}
|
||||
This is first tab
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab "second" >}}
|
||||
this is second tab
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab "third" >}}
|
||||
this is third tab
|
||||
{{< /tab >}}
|
||||
|
||||
{{</ tabs >}}
|
||||
|
||||
<hr>
|
||||
|
||||
### Collapse
|
||||
|
||||
{{< collapse "This is an Collapse" >}}
|
||||
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||
{{< /collapse >}}
|
||||
|
||||
{{< collapse "This is a dummy description text" >}}
|
||||
This is the start of dummy description text. You can change it whenever you want. It is used to test the responsiveness of the site. It is not used in the actual site.
|
||||
{{< /collapse >}}
|
||||
|
||||
<hr>
|
||||
|
||||
##### Code and Syntax Highlighting
|
||||
|
||||
Inline `code` has `back-ticks around` it.
|
||||
|
||||
```javascript
|
||||
var s = "JavaScript syntax highlighting";
|
||||
alert(s);
|
||||
```
|
||||
|
||||
```python
|
||||
s = "Python syntax highlighting"
|
||||
print s
|
||||
```
|
||||
|
||||
```html
|
||||
No language indicated, so no syntax highlighting.
|
||||
But let's throw in a <b>tag</b>.
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
##### Blockquote
|
||||
|
||||
> This is a blockquote example.
|
||||
|
||||
<hr>
|
||||
|
||||
##### Inline HTML
|
||||
|
||||
You can also use raw HTML in your Markdown, and it'll mostly work pretty well.
|
||||
|
||||
<dl>
|
||||
<dt>Definition list</dt>
|
||||
<dd>Is something people use sometimes.</dd>
|
||||
|
||||
<dt>Markdown in HTML</dt>
|
||||
<dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
|
||||
</dl>
|
||||
|
||||
<hr>
|
||||
|
||||
##### Tables
|
||||
|
||||
Colons can be used to align columns.
|
||||
|
||||
| Tables | Are | Cool |
|
||||
| ------------- |:-------------:| -----:|
|
||||
| col 3 is | right-aligned | $1600 |
|
||||
| col 2 is | centered | $12 |
|
||||
| zebra stripes | are neat | $1 |
|
||||
|
||||
There must be at least 3 dashes separating each header cell.
|
||||
The outer pipes (|) are optional, and you don't need to make the
|
||||
raw Markdown line up prettily. You can also use inline Markdown.
|
||||
|
||||
Markdown | Less | Pretty
|
||||
--- | --- | ---
|
||||
*Still* | `renders` | **nicely**
|
||||
1 | 2 | 3
|
||||
|
||||
<hr>
|
||||
|
||||
##### Image
|
||||
|
||||
{{< image src="img-1.jpg" alt="image" zoomable="true" >}}
|
||||
|
||||
<hr>
|
||||
|
||||
##### Youtube video
|
||||
|
||||
{{< youtube 8cdO5mJnPws >}}
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "Child 1"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 1
|
||||
draft: false
|
||||
---
|
||||
|
||||
Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna turpis.
|
||||
|
||||
> Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet
|
||||
|
||||
Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "Child 1"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 1
|
||||
draft: false
|
||||
---
|
||||
|
||||
Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna turpis.
|
||||
|
||||
> Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet
|
||||
|
||||
Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "Child 2"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 1
|
||||
draft: false
|
||||
---
|
||||
|
||||
Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna turpis.
|
||||
|
||||
> Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet
|
||||
|
||||
Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "Child 2"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 1
|
||||
draft: false
|
||||
---
|
||||
|
||||
Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna turpis.
|
||||
|
||||
> Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet
|
||||
|
||||
Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "Child 3"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 1
|
||||
draft: false
|
||||
---
|
||||
|
||||
Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna turpis.
|
||||
|
||||
> Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet
|
||||
|
||||
Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "Child 3"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 1
|
||||
draft: false
|
||||
---
|
||||
|
||||
Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna turpis.
|
||||
|
||||
> Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet
|
||||
|
||||
Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.Etiam vestibulum risus vel arcu elementum eleifend. Cras at dolor eget urna varius faucibus tempus in elit. Cras a dui imperdiet, tempus metus quis, pharetra turpis. Phasellus at massa sit amet ante semper fermentum sed eget lectus. Quisque id dictum magna, et dapibus turpis.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@@ -0,0 +1,72 @@
|
||||
---
|
||||
title: "Installation"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 2
|
||||
draft: false
|
||||
---
|
||||
|
||||
The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
|
||||
|
||||
### Create your project
|
||||
|
||||
Hugo provides a `new` command to create a new website.
|
||||
|
||||
```html
|
||||
hugo new site <new_project>
|
||||
```
|
||||
|
||||
### Install the theme
|
||||
|
||||
Install the **GoDocs** theme by following [this documentation](https://gohugo.io/themes/installing/)
|
||||
|
||||
This theme's repository is: https://github.com/themefisher/godocs.git
|
||||
|
||||
Alternatively, you can [download the theme as .zip](https://github.com/themefisher/godocs/archive/master.zip) file and extract it in the `themes` directory
|
||||
|
||||
Or you can check this video documentation for installing this template:
|
||||
{{< youtube Srt3lTmRxzQ >}}
|
||||
|
||||
### Basic configuration
|
||||
|
||||
When building the website, you can set a theme by using `--theme` option. However, we suggest you modify the configuration file (`config.toml`) and set the theme as the default.
|
||||
|
||||
```toml
|
||||
# Change the default theme to be use when building the site with Hugo
|
||||
theme = "godocs"
|
||||
```
|
||||
|
||||
|
||||
### Create your first content pages
|
||||
|
||||
Then, create content pages inside the previously created chapter. Here are two ways to create content in the chapter:
|
||||
|
||||
```html
|
||||
hugo new installation/first-content.md
|
||||
hugo new installation/second-content/_index.md
|
||||
```
|
||||
|
||||
Feel free to edit thoses files by adding some sample content and replacing the `title` value in the beginning of the files.
|
||||
|
||||
### Launching the website locally
|
||||
|
||||
Launch by using the following command:
|
||||
|
||||
```toml
|
||||
hugo serve
|
||||
```
|
||||
|
||||
Go to `http://localhost:1313`
|
||||
|
||||
### Build the website
|
||||
|
||||
When your site is ready to deploy, run the following command:
|
||||
|
||||
```toml
|
||||
hugo
|
||||
```
|
||||
|
||||
A `public` folder will be generated, containing all static content and assets for your website. It can now be deployed on any web server.
|
||||
|
||||
{{< notice "info" >}}
|
||||
This website can be automatically published and hosted with [Netlify](https://www.netlify.com/) (Read more about [Automated HUGO deployments with Netlify](https://www.netlify.com/blog/2015/07/30/hosting-hugo-on-netlifyinsanely-fast-deploys/)). Alternatively, you can use [Github pages](https://gohugo.io/hosting-and-deployment/hosting-on-github/)
|
||||
{{< /notice >}}
|
||||
@@ -0,0 +1,72 @@
|
||||
---
|
||||
title: "Installation"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 2
|
||||
draft: false
|
||||
---
|
||||
|
||||
The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
|
||||
|
||||
### Create your project
|
||||
|
||||
Hugo provides a `new` command to create a new website.
|
||||
|
||||
```
|
||||
hugo new site <new_project>
|
||||
```
|
||||
|
||||
### Install the theme
|
||||
|
||||
Install the **GoDocs** theme by following [this documentation](https://gohugo.io/themes/installing/)
|
||||
|
||||
This theme's repository is: https://github.com/themefisher/godocs.git
|
||||
|
||||
Alternatively, you can [download the theme as .zip](https://github.com/themefisher/godocs/archive/master.zip) file and extract it in the `themes` directory
|
||||
|
||||
Or you can check this video documentation for installing this template:
|
||||
{{< youtube Srt3lTmRxzQ >}}
|
||||
|
||||
### Basic configuration
|
||||
|
||||
When building the website, you can set a theme by using `--theme` option. However, we suggest you modify the configuration file (`config.toml`) and set the theme as the default.
|
||||
|
||||
```toml
|
||||
# Change the default theme to be use when building the site with Hugo
|
||||
theme = "godocs"
|
||||
```
|
||||
|
||||
|
||||
### Create your first content pages
|
||||
|
||||
Then, create content pages inside the previously created chapter. Here are two ways to create content in the chapter:
|
||||
|
||||
```
|
||||
hugo new installation/first-content.md
|
||||
hugo new installation/second-content/_index.md
|
||||
```
|
||||
|
||||
Feel free to edit thoses files by adding some sample content and replacing the `title` value in the beginning of the files.
|
||||
|
||||
### Launching the website locally
|
||||
|
||||
Launch by using the following command:
|
||||
|
||||
```
|
||||
hugo serve
|
||||
```
|
||||
|
||||
Go to `http://localhost:1313`
|
||||
|
||||
### Build the website
|
||||
|
||||
When your site is ready to deploy, run the following command:
|
||||
|
||||
```
|
||||
hugo
|
||||
```
|
||||
|
||||
A `public` folder will be generated, containing all static content and assets for your website. It can now be deployed on any web server.
|
||||
|
||||
{{< notice "info" >}}
|
||||
This website can be automatically published and hosted with [Netlify](https://www.netlify.com/) (Read more about [Automated HUGO deployments with Netlify](https://www.netlify.com/blog/2015/07/30/hosting-hugo-on-netlifyinsanely-fast-deploys/)). Alternatively, you can use [Github pages](https://gohugo.io/hosting-and-deployment/hosting-on-github/)
|
||||
{{< /notice >}}
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "Requirments"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 1
|
||||
draft: false
|
||||
---
|
||||
|
||||
|
||||
Thanks to the simplicity of Hugo, this page is as empty as this theme needs requirements.
|
||||
|
||||
Just download latest version of [Hugo binary (> 0.60)](https://gohugo.io/getting-started/installing/) for your OS (Windows, Linux, Mac) : it's that simple.
|
||||
|
||||
{{< image src="hugo.jpg" >}}
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "Requirments"
|
||||
date: 2018-12-29T11:02:05+06:00
|
||||
weight: 1
|
||||
draft: false
|
||||
---
|
||||
|
||||
|
||||
Thanks to the simplicity of Hugo, this page is as empty as this theme needs requirements.
|
||||
|
||||
Just download latest version of [Hugo binary (> 0.60)](https://gohugo.io/getting-started/installing/) for your OS (Windows, Linux, Mac) : it's that simple.
|
||||
|
||||

|
||||
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Reference in New Issue
Block a user