Skip to content

Commit f8422ec

Browse files
committed
Create initial Hugo site
1 parent 7cf867d commit f8422ec

File tree

8 files changed

+47
-22
lines changed

8 files changed

+47
-22
lines changed

.github/workflows/gh-pages.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
submodules: true
15+
fetch-depth: 0
16+
- name: Set up hugo
17+
uses: peaceiris/actions-hugo@v2
18+
with:
19+
hugo-version: latest
20+
- name: Build
21+
run: hugo --minify
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
if: github.ref == 'refs/heads/main'
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
publish_dir: ./public

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/public
2+
/resources
3+
.hugo_build.lock

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/WonderMod"]
2+
path = themes/WonderMod
3+
url = https://github.com/Wonderfall/hugo-WonderMod

archetypes/default.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

config.toml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
baseURL = "https://lberrymage.dev/"
2+
languageCode = "en-us"
3+
title = "Logan's Blog"
4+
theme = "WonderMod"
5+
6+
[params]
7+
defaultTheme = "dark"

index.html

-22
This file was deleted.

CNAME renamed to static/CNAME

File renamed without changes.

themes/WonderMod

Submodule WonderMod added at a190984

0 commit comments

Comments
 (0)