Closed BuyMyMojo closed 2 years ago
I had the same problem and found the solution:
[Params]
useCDN=true # don't use CDNs for fonts and icons, instead serve them locally.
Icons must be loaded from a remote source.
I had the same problem and found the solution:
[Params] useCDN=true # don't use CDNs for fonts and icons, instead serve them locally.
Icons must be loaded from a remote source.
enabling CDN hasn't fixed the issue for me. there is still no sign of the icons in the corner for some reason
not missing images, just straight up no code for it appearing in the footer
setting useCDN=true
fixed the missing icons for me
I eventually fixed it but i don't know what example fixed it, I put capitals in the Params.Social section and indented the settings and it seems to work now but I'm not so sure. here is my current working setup:
baseurl = "https://wip.buymymojo.net/"
publishdir = "public"
title = "BuyMyMojo"
copyright = "© BuyMyMojo"
languageCode = "eng"
theme = "archie"
metaDataFormat = "yaml"
canonifyURLs = true
pygmentsstyle = "monokai"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
enableEmoji = true # https://www.webfx.com/tools/emoji-cheat-sheet/
enableRobotsTXT = true
paginate=4
[Author]
name = "Owen Quinlan"
email = "hello@buymymojo.net"
gitlab = "BuyMyMojo"
github = "BuyMyMojo"
linkedin = "owen-quinlan-b6b6431b7"
keybase = "bmmojo"
[sitemap]
changefreq = 'daily'
filename = 'sitemap.xml'
priority = 0.5
[Params]
og_image = "https://wip.buymymojo.net/img/og-image.png"
mode="dark"
useCDN=true # don't use CDNs for fonts and icons, instead serve them locally.
comments=false
subtitle = "Mojos for the masses" # This sub title was generated by github copilot lmao
logo = "android-chrome-512x512.png"
favicon = "img/favicon.ico"
[[Params.Social]]
name = "GitHub"
icon = "github"
url = "https://github.com/BuyMyMojo/"
[[Params.Social]]
name = "Mastodon"
icon = "radio"
url = "https://mstdn.social/@BuyMyMojo"
[[Params.Social]]
name = "Linux Mastodon"
icon = "radio"
url = "https://social.linux.pizza/@BuyMyMojo"
[[Params.Social]]
name = "Tabletop Mastodon"
icon = "radio"
url = "https://tabletop.social/@BuyMyMojo"
[[Params.Social]]
name = "Twitter"
icon = "twitter"
url = "https://twitter.com/OwenQuinlan7/"
[[Params.Social]]
name = "GitLab"
icon = "gitlab"
url = "https://gitlab.com/BuyMyMojo/"
[permalinks]
posts = "/posts/:year/:month/:day/:title/"
tags = "/tags/:title/"
[[menu.main]]
name = "home"
url = "/"
weight = 1
[[menu.main]]
name = "all posts"
title = "All Posts"
url = "/posts"
weight = 2
[[menu.main]]
name = "tags"
title = "Tags"
url = "/tags"
weight = 3
[[menu.main]]
name = "about"
title = "About"
url = "/posts/2021/12/09/about-me/"
weight = 4
For some reason the social icons aren't appearing
Page: https://buymymojo.gitlab.io/buymymojo-hugo/
config: