mirror of
https://github.com/Crocmagnon/blog.git
synced 2024-11-16 21:11:25 +01:00
61 lines
1.3 KiB
Markdown
61 lines
1.3 KiB
Markdown
---
|
|
title: "Hello Hugo"
|
|
date: 2023-05-12T10:14:52+02:00
|
|
draft: false
|
|
# weight: 1
|
|
# aliases: ["/first"]
|
|
tags: []
|
|
|
|
author: "Gabriel Augendre"
|
|
# author: ["Me", "You"] # multiple authors
|
|
showToc: true
|
|
TocOpen: false
|
|
hidemeta: false
|
|
comments: false
|
|
description: "Desc Text."
|
|
canonicalURL: "https://canonical.url/to/page"
|
|
disableHLJS: true # to disable highlightjs
|
|
disableShare: false
|
|
disableHLJS: false
|
|
hideSummary: false
|
|
searchHidden: true
|
|
ShowReadingTime: true
|
|
ShowBreadCrumbs: true
|
|
ShowPostNavLinks: true
|
|
ShowWordCount: true
|
|
ShowRssButtonInSectionTermList: true
|
|
UseHugoToc: true
|
|
cover:
|
|
image: "<image path/url>" # image path/url
|
|
alt: "<alt text>" # alt text
|
|
caption: "<text>" # display caption under cover
|
|
relative: false # when using page bundles set this to true
|
|
hidden: true # only hide on current single page
|
|
editPost:
|
|
URL: "https://github.com/<path_to_repo>/content"
|
|
Text: "Suggest Changes" # edit text
|
|
appendFilePath: true # to append file path to Edit link
|
|
---
|
|
|
|
## Hello world
|
|
|
|
This is an introduction post using **hugo**, a SSG written in *golang*.
|
|
|
|
```python
|
|
def hello(name: str = "World") -> str:
|
|
return f"Hello, {name}"
|
|
|
|
if __name__ == "__main__":
|
|
print(hello("Gabriel"))
|
|
```
|
|
|
|
```go
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
fmt.Println("Hello, world")
|
|
}
|
|
```
|
|
|