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:
parent
3e8cbdad6a
commit
95b37f1bef
7 changed files with 42 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
# Hugo specific files
|
||||
/public/
|
||||
/resources/
|
||||
/_vendor/
|
||||
.hugo_build.lock
|
||||
|
||||
# OS generated files
|
||||
|
|
BIN
assets/COLOURBOX38167690.eps
Normal file
BIN
assets/COLOURBOX38167690.eps
Normal file
Binary file not shown.
BIN
assets/author.png
Normal file
BIN
assets/author.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 346 KiB |
1
assets/css/custom.css
Normal file
1
assets/css/custom.css
Normal file
|
@ -0,0 +1 @@
|
|||
/* CSS positioning hacks removed - using vector-derived image */
|
5
go.mod
Normal file
5
go.mod
Normal 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
2
go.sum
Normal 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=
|
36
hugo.yaml
36
hugo.yaml
|
@ -1,3 +1,33 @@
|
|||
baseURL: https://example.org/
|
||||
languageCode: en-us
|
||||
title: My New Hugo Site
|
||||
module:
|
||||
imports:
|
||||
- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue