Skip to content

Commit

Permalink
feat: update theme
Browse files Browse the repository at this point in the history
  • Loading branch information
cssbbenlam committed Oct 13, 2024
1 parent 1d337ba commit 540edee
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 171 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
url = https://github.com/bemnlam/blog_posts.git
[submodule "blog/themes/blowfish"]
path = blog/themes/blowfish
url = https://github.com/nunocoracao/blowfish.git
url = https://github.com/bemnlam/blowfish-mod.git
branch = main
50 changes: 0 additions & 50 deletions blog/config/_default/languages.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,53 +12,3 @@ title = "log from home"
# secondaryLogo = "img/secondary-logo.png"
# description = "My awesome website"
# copyright = "Copy, _right?_ :thinking_face:"

[author]
name = "Bemn"
image = "img/profile.png"
headline = "Start blogging in the 2020 lockdown."
bio = "Hong Konger."
links = [
# { email = "mailto:hello@your_domain.com" },
# { link = "https://kobo.lofibean.cc/" },
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
# { apple = "https://www.apple.com" },
# { blogger = "https://username.blogspot.com/" },
# { codepen = "https://codepen.io/username" },
# { dev = "https://dev.to/username" },
# { discord = "https://discord.gg/invitecode" },
# { dribbble = "https://dribbble.com/username" },
# { facebook = "https://facebook.com/username" },
# { flickr = "https://www.flickr.com/photos/username/" },
# { foursquare = "https://foursquare.com/username" },
{ github = "https://github.com/bemnlam" },
{ gitlab = "https://gitlab.com/bemnlam" },
# { google = "https://www.google.com/" },
# { hashnode = "https://username.hashnode.dev" },
# { instagram = "https://instagram.com/username" },
# { keybase = "https://keybase.io/username" },
# { kickstarter = "https://www.kickstarter.com/profile/username" },
# { lastfm = "https://lastfm.com/user/username" },
{ linkedin = "https://linkedin.com/in/hmbenlam" },
# { mastodon = "https://mastodon.instance/@username" },
# { medium = "https://medium.com/username" },
# { microsoft = "https://www.microsoft.com/" },
# { orcid = "https://orcid.org/userid" },
# { patreon = "https://www.patreon.com/username" },
# { pinterest = "https://pinterest.com/username" },
# { reddit = "https://reddit.com/user/username" },
# { researchgate = "https://www.researchgate.net/profile/username" },
# { slack = "https://workspace.url/team/userid" },
# { snapchat = "https://snapchat.com/add/username" },
# { soundcloud = "https://soundcloud.com/username" },
{ stack-overflow = "https://stackoverflow.com/users/13742790/bemn" },
# { steam = "https://steamcommunity.com/profiles/userid" },
# { telegram = "https://t.me/username" },
# { tiktok = "https://tiktok.com/@username" },
# { tumblr = "https://username.tumblr.com" },
# { twitch = "https://twitch.tv/username" },
# { twitter = "https://twitter.com/username" },
# { whatsapp = "https://wa.me/phone-number" },
# { youtube = "https://youtube.com/username" },
# { ko-fi = "https://ko-fi.com/username" },
]
53 changes: 52 additions & 1 deletion blog/config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# https://blowfish.page/docs/configuration/#theme-parameters

colorScheme = "blowfish"
defaultContentLanguage="en"
defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true

Expand Down Expand Up @@ -41,7 +42,7 @@ disableImageOptimization = true
showRecentItems = 3
showMoreLink = true
showMoreLinkDest = "/posts"
cardView = false
cardView = true
cardViewScreenWidth = false
layoutBackgroundBlur = false # only used when layout equals background

Expand Down Expand Up @@ -73,6 +74,56 @@ disableImageOptimization = true
showWordCount = true
# sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]

[author]
name = "Bemn"
image = "img/profile.png"
headline = "Start blogging in the 2020 lockdown."
bio = "Hong Konger."
links = [
# { email = "mailto:hello@your_domain.com" },
# { link = "https://kobo.lofibean.cc/" },
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
# { apple = "https://www.apple.com" },
# { blogger = "https://username.blogspot.com/" },
# { codepen = "https://codepen.io/username" },
# { dev = "https://dev.to/username" },
# { discord = "https://discord.gg/invitecode" },
# { dribbble = "https://dribbble.com/username" },
# { facebook = "https://facebook.com/username" },
# { flickr = "https://www.flickr.com/photos/username/" },
# { foursquare = "https://foursquare.com/username" },
{ github = "https://github.com/bemnlam" },
{ gitlab = "https://gitlab.com/bemnlam" },
# { google = "https://www.google.com/" },
# { hashnode = "https://username.hashnode.dev" },
# { instagram = "https://instagram.com/username" },
# { keybase = "https://keybase.io/username" },
# { kickstarter = "https://www.kickstarter.com/profile/username" },
# { lastfm = "https://lastfm.com/user/username" },
{ linkedin = "https://linkedin.com/in/hmbenlam" },
# { mastodon = "https://mastodon.instance/@username" },
# { medium = "https://medium.com/username" },
# { microsoft = "https://www.microsoft.com/" },
# { orcid = "https://orcid.org/userid" },
# { patreon = "https://www.patreon.com/username" },
# { pinterest = "https://pinterest.com/username" },
# { reddit = "https://reddit.com/user/username" },
# { researchgate = "https://www.researchgate.net/profile/username" },
# { slack = "https://workspace.url/team/userid" },
# { snapchat = "https://snapchat.com/add/username" },
# { soundcloud = "https://soundcloud.com/username" },
{ stack-overflow = "https://stackoverflow.com/users/13742790/bemn" },
# { steam = "https://steamcommunity.com/profiles/userid" },
# { telegram = "https://t.me/username" },
# { tiktok = "https://tiktok.com/@username" },
# { tumblr = "https://username.tumblr.com" },
# { twitch = "https://twitch.tv/username" },
# { twitter = "https://twitter.com/username" },
# { whatsapp = "https://wa.me/phone-number" },
# { youtube = "https://youtube.com/username" },
# { ko-fi = "https://ko-fi.com/username" },
]

[list]
showHero = false
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
Expand Down
16 changes: 1 addition & 15 deletions blog/public/categories/index.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on The Blog</title>
<link>https://bemnlam.github.io/categories/</link>
<description>Recent content in Categories on The Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>&amp;copy; bemnlam</copyright>

<atom:link href="https://bemnlam.github.io/categories/index.xml" rel="self" type="application/rss+xml" />


</channel>
</rss>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on log from home</title><link>https://blog.lofibean.cc/categories/</link><description>Recent content in Categories on log from home</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2024</copyright><lastBuildDate>Mon, 30 Sep 2024 08:38:57 -0500</lastBuildDate><atom:link href="https://blog.lofibean.cc/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>Dev</title><link>https://blog.lofibean.cc/categories/dev/</link><pubDate>Mon, 30 Sep 2024 08:38:57 -0500</pubDate><guid>https://blog.lofibean.cc/categories/dev/</guid><description/></item><item><title>Readings</title><link>https://blog.lofibean.cc/categories/readings/</link><pubDate>Thu, 25 Feb 2021 17:10:25 +0800</pubDate><guid>https://blog.lofibean.cc/categories/readings/</guid><description/></item><item><title>Leisure</title><link>https://blog.lofibean.cc/categories/leisure/</link><pubDate>Fri, 05 Feb 2021 21:33:03 +0800</pubDate><guid>https://blog.lofibean.cc/categories/leisure/</guid><description/></item><item><title>Coffee</title><link>https://blog.lofibean.cc/categories/coffee/</link><pubDate>Thu, 31 Dec 2020 20:58:21 +0800</pubDate><guid>https://blog.lofibean.cc/categories/coffee/</guid><description/></item></channel></rss>
31 changes: 1 addition & 30 deletions blog/public/index.xml

Large diffs are not rendered by default.

31 changes: 1 addition & 30 deletions blog/public/posts/index.xml

Large diffs are not rendered by default.

29 changes: 1 addition & 28 deletions blog/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">

<url>
<loc>https://bemnlam.github.io/posts/</loc>
<lastmod>2020-04-16T10:55:25+08:00</lastmod>
</url>

<url>
<loc>https://bemnlam.github.io/</loc>
<lastmod>2020-04-16T10:55:25+08:00</lastmod>
</url>

<url>
<loc>https://bemnlam.github.io/posts/welcome/</loc>
<lastmod>2020-04-16T10:55:25+08:00</lastmod>
</url>

<url>
<loc>https://bemnlam.github.io/categories/</loc>
</url>

<url>
<loc>https://bemnlam.github.io/tags/</loc>
</url>

</urlset>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://blog.lofibean.cc/posts/debugging-nodejs-apps-using-vscode/</loc><lastmod>2024-09-30T08:38:57-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/</loc><lastmod>2024-09-30T08:38:57-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/</loc><lastmod>2024-09-30T08:38:57-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/learning-angular--eslint/</loc><lastmod>2024-05-16T08:30:00-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/avoid-multiple-lifecycle-hooks-in-azure-devops-deployment-job/</loc><lastmod>2024-05-15T09:00:00-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/note-on-angular-template-change-detection-viewchild/</loc><lastmod>2024-04-25T08:37:02-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/understanding-csp-for-azure-app-service/</loc><lastmod>2024-04-24T08:30:58-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/adding-audio-to-your-web-app-the-complete-guide/</loc><lastmod>2023-10-10T22:31:27-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/setting-up-nginx-for-local-development/</loc><lastmod>2023-08-17T07:59:39-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/learning-react-componentdidmount/</loc><lastmod>2023-07-17T08:12:01-05:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/vs-code-task/</loc><lastmod>2022-02-13T14:56:15+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/reading-factfulness/</loc><lastmod>2021-02-25T17:10:25+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/missing-cookie-in-iframe/</loc><lastmod>2021-02-16T19:08:15+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/fixing-ajaxcontroltoolkit-unexpected-page-reload-in-aspnet-webform-application/</loc><lastmod>2021-02-17T19:25:24+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/improving-my-blogging-workflow/</loc><lastmod>2021-02-05T21:33:03+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/notes-on-city-n-guilds-barista-exam/</loc><lastmod>2021-02-13T20:43:21+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/set-up-cloudflare-for-route53-domains/</loc><lastmod>2020-12-31T17:46:38+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/set-up-an-aws-ec2-with-ubuntu-gui-rdp-and-more/</loc><lastmod>2020-10-03T13:40:48+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/notes-on-atlassian-bamboo/</loc><lastmod>2021-02-05T21:06:24+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/ruby-cheatsheet/</loc><lastmod>2020-09-15T08:40:48+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/use-gravatar-everywhere/</loc><lastmod>2020-07-18T12:01:56+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/displaying-the-full-content-in-hugo-rss-feed/</loc><lastmod>2020-07-03T09:53:38+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/the-perks-of-being-a-mac-or-freebsd-user/</loc><lastmod>2020-06-28T22:30:38+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/battling-with-gulp-and-node/</loc><lastmod>2020-06-27T16:28:24+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/git-versioning-this-assembly-is-inaccessible-due-to-its-protection-level/</loc><lastmod>2020-06-28T11:10:24+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/documentation-makes-easy-with-mkdocs-and-gitlab-pages/</loc><lastmod>2020-06-12T19:37:00+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/a-tale-of-two-caches-redis-and-cache-helper/</loc><lastmod>2020-06-27T17:06:24+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/fantastic-beans-and-where-to-find-them/</loc><lastmod>2020-09-18T08:39:00+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/a-note-on-ssl/</loc><lastmod>2020-05-23T17:10:25+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/brewing-coffee/</loc><lastmod>2020-05-17T21:10:25+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/why-you-should-manage-your-energy-not-your-time/</loc><lastmod>2020-05-17T13:33:52+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/fredkins-paradox/</loc><lastmod>2020-05-17T12:41:12+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/creating-a-user-with-limited-privileges-in-postgres/</loc><lastmod>2020-04-16T20:01:15+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url><url><loc>https://blog.lofibean.cc/posts/welcome/</loc><lastmod>2020-04-16T10:55:25+08:00</lastmod><changefreq>daily</changefreq><priority>0.5</priority></url></urlset>
16 changes: 1 addition & 15 deletions blog/public/tags/index.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion blog/themes/blowfish
Submodule blowfish updated 2193 files

0 comments on commit 540edee

Please sign in to comment.