Initial commit: Add Hugo site structure and configuration
This commit is contained in:
commit
3e8cbdad6a
4 changed files with 59 additions and 0 deletions
30
.gitignore
vendored
Normal file
30
.gitignore
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Hugo specific files
|
||||||
|
/public/
|
||||||
|
/resources/
|
||||||
|
.hugo_build.lock
|
||||||
|
|
||||||
|
# OS generated files
|
||||||
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
._*
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
|
ehthumbs.db
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Editor files
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
*~
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
# Node.js (if using npm for themes or tools)
|
||||||
|
node_modules/
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# Temporary files
|
||||||
|
*.tmp
|
||||||
|
*.temp
|
21
README.md
Normal file
21
README.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# AngryMichigander
|
||||||
|
|
||||||
|
A Hugo website.
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
To run the site locally:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
hugo server -D
|
||||||
|
```
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
To build the site:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
hugo
|
||||||
|
```
|
||||||
|
|
||||||
|
The built site will be in the `public/` directory.
|
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
date: '{{ .Date }}'
|
||||||
|
draft: true
|
||||||
|
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
---
|
3
hugo.yaml
Normal file
3
hugo.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
baseURL: https://example.org/
|
||||||
|
languageCode: en-us
|
||||||
|
title: My New Hugo Site
|
Loading…
Add table
Add a link
Reference in a new issue