mirror of
https://github.com/Crocmagnon/blog.git
synced 2024-11-25 17:28:02 +01:00
Publish sample post
This commit is contained in:
parent
39121679c0
commit
2dd728846f
1 changed files with 18 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: "Hello Hugo"
|
||||
date: 2023-05-12T10:14:52+02:00
|
||||
draft: true
|
||||
draft: false
|
||||
# weight: 1
|
||||
# aliases: ["/first"]
|
||||
tags: []
|
||||
|
@ -41,4 +41,21 @@ editPost:
|
|||
|
||||
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")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue