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:
parent
eb13935dc5
commit
f7627ba6ea
8 changed files with 52 additions and 1 deletions
14
README.md
14
README.md
|
@ -1,3 +1,17 @@
|
|||
# hugo-relie
|
||||
|
||||
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
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
3
config.toml
Normal file
3
config.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
baseURL = "http://example.org/"
|
||||
languageCode = "en-us"
|
||||
title = "My New Hugo Site"
|
16
content/posts/first-post.md
Normal file
16
content/posts/first-post.md
Normal 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
|
@ -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
|
@ -0,0 +1 @@
|
|||
{"Target":"main.b78c3be9451dc4ca61ca377f3dc2cf2e6345a44c2bae46216a322ef366daa399.css","MediaType":"text/css","Data":{"Integrity":"sha256-t4w76UUdxMphyjd/PcLPLmNFpEwrrkYhajIu82bao5k="}}
|
Loading…
Reference in a new issue