Skip to content

Commit

Permalink
Slight redesign (#6)
Browse files Browse the repository at this point in the history
A little redesign that's many years overdue.
  • Loading branch information
tetsuo13 authored Aug 28, 2024
1 parent d8e25f9 commit 920a4b2
Show file tree
Hide file tree
Showing 24 changed files with 291 additions and 417 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Editor configuration, see https://editorconfig.org

# Top-most EditorConfig file
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly

30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Continuous integration

on:
push:
paths-ignore:
- README.md

jobs:
build:
name: Build site
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3.0.0
with:
hugo-version: latest

- name: Build
run: hugo --minify --logLevel info

- name: Upload artifact
#if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}-${{ github.run_number }}
path: public/
retention-days: 1
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
public
# Generated files by hugo
/public/
/.hugo_build.lock
/.idea
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
This is the personal web site https://andreinicholson.com/
This is the personal website https://andreinicholson.com/

Generated with [Hugo](https://gohugo.io/).

5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
Loading

0 comments on commit 920a4b2

Please sign in to comment.