From 2dd728846fdb27a50c0571705e0969ae147e98ee Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 12 May 2023 10:43:18 +0200 Subject: [PATCH] Publish sample post --- content/posts/hello-hugo.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/content/posts/hello-hugo.md b/content/posts/hello-hugo.md index b15491b..c91d943 100644 --- a/content/posts/hello-hugo.md +++ b/content/posts/hello-hugo.md @@ -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") +} +```