blog/content/posts/hello-hugo.md

61 lines
1.3 KiB
Markdown
Raw Normal View History

2023-05-12 10:28:26 +02:00
---
title: "Hello Hugo"
date: 2023-05-12T10:14:52+02:00
2023-05-12 10:43:18 +02:00
draft: false
2023-05-12 10:28:26 +02:00
# weight: 1
# aliases: ["/first"]
2023-05-12 10:47:09 +02:00
tags: ["initial", "hello"]
2023-05-12 10:28:26 +02:00
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"
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*.
2023-05-12 10:43:18 +02:00
```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")
}
```
2023-05-12 10:28:26 +02:00