all: Move to custom theme that uses lightweight SVG icons.
This commit is contained in:
parent
27d5811c30
commit
4d41fb76b5
5 changed files with 32 additions and 11 deletions
8
.gitmodules
vendored
8
.gitmodules
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
[submodule "themes/KeepIt"]
|
|
||||||
path = themes/KeepIt
|
|
||||||
url = https://github.com/Fastbyte01/KeepIt.git
|
|
||||||
[submodule "themes/hugo-coder"]
|
[submodule "themes/hugo-coder"]
|
||||||
path = 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
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
FROM klakegg/hugo:onbuild AS hugo
|
FROM floryn90/hugo:ext-alpine-onbuild AS hugo
|
||||||
|
|
||||||
FROM nginx:alpine-slim
|
FROM nginx:alpine-slim
|
||||||
COPY --from=hugo /target /usr/share/nginx/html
|
COPY --from=hugo /target /usr/share/nginx/html
|
||||||
|
|
|
||||||
19
config.toml
19
config.toml
|
|
@ -2,13 +2,15 @@ baseURL = "//notmy.space/"
|
||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
title = "William Floyd"
|
title = "William Floyd"
|
||||||
theme = "hugo-coder"
|
theme = "github.com/W-Floyd/hugo-coder-iconify"
|
||||||
|
|
||||||
[module]
|
[module]
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = 'content'
|
source = 'content'
|
||||||
target = 'content'
|
target = 'content'
|
||||||
excludeFiles = "**/media/src"
|
excludeFiles = "**/media/src"
|
||||||
|
[[module.imports]]
|
||||||
|
path = 'github.com/hugomods/icons/vendors/mdi'
|
||||||
|
|
||||||
paginate = 20
|
paginate = 20
|
||||||
|
|
||||||
|
|
@ -45,25 +47,25 @@ author = "authors"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "Github"
|
name = "Github"
|
||||||
icon = "fa fa-2x fa-github"
|
icon = "github"
|
||||||
weight = 1
|
weight = 1
|
||||||
url = "https://github.com/W-Floyd/"
|
url = "https://github.com/W-Floyd/"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "LinkedIn"
|
name = "LinkedIn"
|
||||||
icon = "fa fa-2x fa-linkedin"
|
icon = "linkedin"
|
||||||
weight = 2
|
weight = 2
|
||||||
url = "https://www.linkedin.com/in/william-floyd/"
|
url = "https://www.linkedin.com/in/william-floyd/"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "Email"
|
name = "Email"
|
||||||
icon = "fa fa-2x fa-envelope"
|
icon = "email"
|
||||||
weight = 3
|
weight = 3
|
||||||
url = "mailto:contact@notmy.space"
|
url = "mailto:contact@notmy.space"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "RSS"
|
name = "RSS"
|
||||||
icon = "fa fa-2x fa-rss"
|
icon = "rss"
|
||||||
weight = 4
|
weight = 4
|
||||||
url = "https://notmy.space/posts/index.xml"
|
url = "https://notmy.space/posts/index.xml"
|
||||||
rel = "alternate"
|
rel = "alternate"
|
||||||
|
|
@ -78,6 +80,11 @@ weight = 1
|
||||||
url = "about/"
|
url = "about/"
|
||||||
|
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
name = "Posts"
|
name = "Resume"
|
||||||
weight = 2
|
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/"
|
url = "posts/"
|
||||||
8
go.mod
Normal file
8
go.mod
Normal 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
6
go.sum
Normal 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=
|
||||||
Loading…
Add table
Reference in a new issue