Add Lynx theme with Hugo modules and optimized author image

- Configure Lynx theme as Hugo module
- Add high-quality author.png generated from vector EPS source
- Update hugo.yaml with author configuration and module imports
- Add _vendor/ to .gitignore (Hugo module cache)
- Include custom CSS placeholder for future styling
- Set up proper module structure with go.mod and go.sum
This commit is contained in:
Derek Slenk 2025-06-29 22:15:26 -04:00
parent 3e8cbdad6a
commit 95b37f1bef
7 changed files with 42 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
# Hugo specific files # Hugo specific files
/public/ /public/
/resources/ /resources/
/_vendor/
.hugo_build.lock .hugo_build.lock
# OS generated files # OS generated files

Binary file not shown.

BIN
assets/author.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

1
assets/css/custom.css Normal file
View file

@ -0,0 +1 @@
/* CSS positioning hacks removed - using vector-derived image */

5
go.mod Normal file
View file

@ -0,0 +1,5 @@
module github.com/derekslenk/angrymichigander
go 1.24.4
require github.com/jpanther/lynx v1.4.0 // indirect

2
go.sum Normal file
View file

@ -0,0 +1,2 @@
github.com/jpanther/lynx v1.4.0 h1:ymYkoVjFXkdzSD6YBjF6zsTUK3kSi3QTxtxpHtsnlhw=
github.com/jpanther/lynx v1.4.0/go.mod h1:nUK1+IfScKhRA3/jBH+YCYfpO3znP5Nsm6ROFGpma44=

View file

@ -1,3 +1,33 @@
baseURL: https://example.org/ module:
languageCode: en-us imports:
title: My New Hugo Site - path: github.com/jpanther/lynx
title: The Angry Michigander
enableEmoji: true
disableKinds:
- taxonomy
- term
params:
author:
name: The Angry Michigander
headline: Just a Michigander who has opinions
image: author.png
links:
- link:
href: 'https://cheatingchelsea.com'
text: Cheating Chelsea Smallwood
# icon: github
# - link:
# href: styles/
# text: All the link styles
# target: _self
# - github: 'https://github.com/jpanther/lynx'
# - x: 'https://x.com/jpanther'
# - font-awesome:
# href: 'https://fontawesome.com/'
# text: FontAwesome
markup:
highlight:
noClasses: false
goldmark:
renderer:
unsafe: true