all: Move to custom theme that uses lightweight SVG icons.

This commit is contained in:
William Floyd 2024-02-16 14:35:02 -06:00
parent 27d5811c30
commit 4d41fb76b5
Signed by untrusted user who does not match committer: william
GPG key ID: B3EEEDD81893CAF9
5 changed files with 32 additions and 11 deletions

8
.gitmodules vendored
View file

@ -1,6 +1,6 @@
[submodule "themes/KeepIt"]
path = themes/KeepIt
url = https://github.com/Fastbyte01/KeepIt.git
[submodule "themes/hugo-coder"]
path = themes/hugo-coder
url = https://github.com/luizdepra/hugo-coder.git
url = git@github.com:W-Floyd/hugo-coder-iconify.git
[submodule "assets/MaterialDesign-SVG"]
path = assets/MaterialDesign-SVG
url = git@github.com:Templarian/MaterialDesign-SVG.git

View file

@ -1,4 +1,4 @@
FROM klakegg/hugo:onbuild AS hugo
FROM floryn90/hugo:ext-alpine-onbuild AS hugo
FROM nginx:alpine-slim
COPY --from=hugo /target /usr/share/nginx/html

View file

@ -2,13 +2,15 @@ baseURL = "//notmy.space/"
languageCode = "en"
defaultContentLanguage = "en"
title = "William Floyd"
theme = "hugo-coder"
theme = "github.com/W-Floyd/hugo-coder-iconify"
[module]
[[module.mounts]]
source = 'content'
target = 'content'
excludeFiles = "**/media/src"
[[module.imports]]
path = 'github.com/hugomods/icons/vendors/mdi'
paginate = 20
@ -45,25 +47,25 @@ author = "authors"
[[params.social]]
name = "Github"
icon = "fa fa-2x fa-github"
icon = "github"
weight = 1
url = "https://github.com/W-Floyd/"
[[params.social]]
name = "LinkedIn"
icon = "fa fa-2x fa-linkedin"
icon = "linkedin"
weight = 2
url = "https://www.linkedin.com/in/william-floyd/"
[[params.social]]
name = "Email"
icon = "fa fa-2x fa-envelope"
icon = "email"
weight = 3
url = "mailto:contact@notmy.space"
[[params.social]]
name = "RSS"
icon = "fa fa-2x fa-rss"
icon = "rss"
weight = 4
url = "https://notmy.space/posts/index.xml"
rel = "alternate"
@ -78,6 +80,11 @@ weight = 1
url = "about/"
[[languages.en.menu.main]]
name = "Posts"
name = "Resume"
weight = 2
url = "https://github.com/W-Floyd/misc-job/releases/download/release/William.Floyd.pdf"
[[languages.en.menu.main]]
name = "Posts"
weight = 3
url = "posts/"

8
go.mod Normal file
View file

@ -0,0 +1,8 @@
module github.com/W-Floyd/blog
go 1.21.6
require (
github.com/W-Floyd/hugo-coder-iconify v0.0.0-20240129201341-4f3330156529 // indirect
github.com/hugomods/icons/vendors/mdi v0.3.2 // indirect
)

6
go.sum Normal file
View file

@ -0,0 +1,6 @@
github.com/W-Floyd/hugo-coder-iconify v0.0.0-20240129201341-4f3330156529 h1:PJEi8xBVqWrqny2HdiZ2str5lsUtnd8uEbtIgKm2meQ=
github.com/W-Floyd/hugo-coder-iconify v0.0.0-20240129201341-4f3330156529/go.mod h1:2QYy4+nngkg5dum3LHzrLqLpdGjpdrHin/5BuaJu2Jk=
github.com/hugomods/icons v0.6.0 h1:G6RU93okhPPRDh/jqcew9gwkcYpSpg0rCBv4S6yUAFw=
github.com/hugomods/icons v0.6.0/go.mod h1:cIkSvK6W0q6N4U6n9KGz+QfRWQXAW0INd+1P31gPNGg=
github.com/hugomods/icons/vendors/mdi v0.3.2 h1:59KlTgBNiKGlPXzaQ6zn+VLYstFb4zABKwlHfzL8ADY=
github.com/hugomods/icons/vendors/mdi v0.3.2/go.mod h1:yHIDYxNoBV8RCAc4Uordp6rr4GObPrtBAimShBBFdmc=