diff --git a/config/_default/config.toml b/config/_default/config.toml index 38b8349..92d0bb4 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -3,6 +3,8 @@ languageCode = 'en' paginate = 50 enableRobotsTXT = true googleAnalytics = "G-KK12E7TNEC" +enableEmoji = false +titleCaseStyle = 'none' [outputs] home = ["HTML", "RSS", "JSON"] diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index 55a6cae..6dd617d 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -1,6 +1,9 @@ title = "Zoe's blog" -[params.author] +[params] +# logo = "img/author.png" + +[author] name = "Zoe Roux" image = "img/author.png" headline = "I'm not a dev, I'm a sorceress." @@ -9,4 +12,5 @@ links = [ { github = "https://github.com/zoriya" }, { linkedin = "https://www.linkedin.com/in/zoe-roux/" }, { twitter = "https://twitter.com/zoriya_dev" }, + { rss = "https://zoriya.dev/index.xml" }, ] diff --git a/config/_default/menu.en.toml b/config/_default/menu.en.toml index d8f39e6..9d0c972 100644 --- a/config/_default/menu.en.toml +++ b/config/_default/menu.en.toml @@ -4,20 +4,21 @@ weight = 10 [[main]] - name = "GitHub" - url = "https://github.com/zoriya" - weight = 30 - [main.params] - icon = "github" - showName = false - target = "_blank" + name = "Tags" + pageRef = "tags" + weight = 10 + [[main]] - identifier = "search" - weight = 99 - [main.params] - action = "search" - icon = "search" + identifier = "github" + pre = "github" + url = "https://github.com/zoriya" + weight = 30 + +[[footer]] + name = "Blogs" + pageRef = "blogs" + weight = 20 [[footer]] name = "Tags" diff --git a/config/_default/module.toml b/config/_default/module.toml index 03049d0..db4530d 100644 --- a/config/_default/module.toml +++ b/config/_default/module.toml @@ -1,2 +1,2 @@ [[imports]] -path = "github.com/jpanther/congo/v2" +path = "github.com/nunocoracao/blowfish/v2" diff --git a/config/_default/params.toml b/config/_default/params.toml index 0429477..1e57879 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,13 +1,21 @@ -colorScheme = "sapphire" -# enableSearch = true +# colorScheme = "princess" +autoSwitchAppearance = true +enableSearch = true enableCodeCopy = true +smartTOC = true robots = "all" -footer.showAppearanceSwitcher = true homepage.layout = "profile" homepage.showRecent = true +footer.showAppearanceSwitcher = true + article.showTableOfContents = true article.showEdit = true article.editURL = "https://github.com/zoriya/blog/tree/master/content/" +article.showWordCount = false +article.showAuthorBottom = true +article.showTaxonomies = true +article.showRelatedContent = true +article.relatedContentLimit = 3 list.showSummary = false diff --git a/content/_index.md b/content/_index.md index 275e362..036bceb 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,5 @@ --- --- -I work on [Kyoo](https://github.com/zoriya/kyoo) or other nerdy projects at night. I love weird tools ([keyboard](https://github.com/zoriya/abyss) that I designed myself, [vim](./blogs/vim-superpowers/), tiling window manager like [dwl](https://codeberg.org/dwl/dwl) or [gaze](https://github.com/zoriya/gaze)). Feel free to reach out if you want to talk! +I work on [Kyoo](https://github.com/zoriya/kyoo) or other nerdy projects at night. I love weird tools (a [keyboard](https://github.com/zoriya/abyss) that I designed myself, [vim](./blogs/vim-superpowers/), tiling window manager like [dwl](https://codeberg.org/dwl/dwl) or [gaze](https://github.com/zoriya/gaze)). Feel free to reach out if you want to talk! diff --git a/content/blogs/transcoder/index.md b/content/blogs/transcoder/index.md index 463b6fb..fdce8fe 100644 --- a/content/blogs/transcoder/index.md +++ b/content/blogs/transcoder/index.md @@ -251,7 +251,7 @@ For example, hardware acceleration, aka using your graphics card for faster tran I iterated a lot on this transcoder, my first implementation was written in C and used ffmpeg's library directly (this was also my first C and low level project, I had never heard of a pointer before). Everybody told me this was a bad idea and I should just create a node process that would call ffmpeg. While this was the right call if I wanted to quickly create a transcoder, learning to read the ffmpeg's source code and how it worked inside gave me lots of insights. Insights I still use today when working in today's transcoder, after rewriting everything in Rust and then in Go. Each rewrite originated from perspective shift on how to process state and streams, leading to the current implementation that finally archived every goal. Kyoo's transcoder also has other features that resolve around video like extracting subtitles, fonts or media thumbnails for seeking (see picture below). -![thumbnail for seeking](./kyoo-thumbnail-seek.png) +![thumbnail for seeking](./kyoo-seek.png) It's still a moving project with new features coming, but the core transcoding process is done and fully working! The next feature that will probably come is intro/outro detection using audio fingerprints. diff --git a/content/blogs/transcoder/kyoo-thumbnail-seek.png b/content/blogs/transcoder/kyoo-seek.png similarity index 100% rename from content/blogs/transcoder/kyoo-thumbnail-seek.png rename to content/blogs/transcoder/kyoo-seek.png diff --git a/go.mod b/go.mod index 5d0e7f6..fe37787 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,7 @@ module github.com/zoriya/blog go 1.21.7 -require github.com/jpanther/congo/v2 v2.8.2 // indirect +require ( + github.com/jpanther/congo/v2 v2.8.2 // indirect + github.com/nunocoracao/blowfish/v2 v2.68.0 // indirect +) diff --git a/go.sum b/go.sum index c5a7146..e1f8664 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ github.com/jpanther/congo/v2 v2.8.2 h1:UNg7225ZqLSt9zu0xBOh5iM9TXnuNG1Ta9eSsioHTEE= github.com/jpanther/congo/v2 v2.8.2/go.mod h1:1S7DRoO1ZYS4YUdFd1LjTkdyjQwsjFWd8TqSfz3Jd+M= +github.com/nunocoracao/blowfish/v2 v2.68.0 h1:t6UNVY+EQgA5K3gLqnR/VLIxmjnbD7VpMyjW36T/C1c= +github.com/nunocoracao/blowfish/v2 v2.68.0/go.mod h1:4SkMc+Ht8gpQCwArqiHMBDP3soxi2OWuAhVney+cuyk=