Init hugo server

This commit inits a new Hugo repository with a default draft article,
but without a theme yet
This commit is contained in:
Melora Hugues 2023-06-19 13:19:59 +02:00
parent eb13935dc5
commit f7627ba6ea
8 changed files with 52 additions and 1 deletions

View file

@ -1,3 +1,17 @@
# hugo-relie
Personal blog using Hugo
Personal blog using Hugo
## Commands
Start the server in dev mode with drafts
```
hugo server -D
```
Publish the server in production mode
```
hugo
```

6
archetypes/default.md Normal file
View file

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

3
config.toml Normal file
View file

@ -0,0 +1,3 @@
baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"

View file

@ -0,0 +1,16 @@
---
title: "First Post"
date: 2023-06-19T11:37:35+02:00
draft: true
---
## Title
This is my content
```python
def method(args):
print("toto")
return args
```

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
{"Target":"bundle.min.6ef987806d02a788403c74a7a5019cdc0bf902b3025d5d32a9e3d666eacce28ba8948c0522fd4588277ac1e6ce37f030beabf3b42815bf2c8fdc36008971241b.js","MediaType":"application/javascript","Data":{"Integrity":"sha512-bvmHgG0Cp4hAPHSnpQGc3Av5ArMCXV0yqePWZurM4ouolIwFIv1FiCd6webON/AwvqvztCgVvyyP3DYAiXEkGw=="}}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
{"Target":"main.b78c3be9451dc4ca61ca377f3dc2cf2e6345a44c2bae46216a322ef366daa399.css","MediaType":"text/css","Data":{"Integrity":"sha256-t4w76UUdxMphyjd/PcLPLmNFpEwrrkYhajIu82bao5k="}}