diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3f5b4b7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +public +resources/_gen +.hugo_build.lock diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/assets/img/author.png b/assets/img/author.png new file mode 100644 index 0000000..d520d8a Binary files /dev/null and b/assets/img/author.png differ diff --git a/config/_default/config.toml b/config/_default/config.toml new file mode 100644 index 0000000..b4a994c --- /dev/null +++ b/config/_default/config.toml @@ -0,0 +1,3 @@ +baseURL = 'https://zoriya.dev/' +languageCode = 'en' +paginate = 50 diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml new file mode 100644 index 0000000..9a1b06e --- /dev/null +++ b/config/_default/languages.en.toml @@ -0,0 +1,12 @@ +title = "Zoe's blog" + +[params.author] +name = "Zoe Roux" +image = "img/author.png" +headline = "I'm not a dev, I'm a sorceress." +bio = "A little bit about me" +links = [ + { github = "https://github.com/zoriya" }, + { linkedin = "https://www.linkedin.com/in/zoe-roux/" }, + { twitter = "https://twitter.com/zoriya_dev" }, +] diff --git a/config/_default/menu.en.toml b/config/_default/menu.en.toml new file mode 100644 index 0000000..d8f39e6 --- /dev/null +++ b/config/_default/menu.en.toml @@ -0,0 +1,25 @@ +[[main]] + name = "Blogs" + pageRef = "blogs" + weight = 10 + +[[main]] + name = "GitHub" + url = "https://github.com/zoriya" + weight = 30 + [main.params] + icon = "github" + showName = false + target = "_blank" + +[[main]] + identifier = "search" + weight = 99 + [main.params] + action = "search" + icon = "search" + +[[footer]] + name = "Tags" + pageRef = "tags" + weight = 20 diff --git a/config/_default/module.toml b/config/_default/module.toml new file mode 100644 index 0000000..03049d0 --- /dev/null +++ b/config/_default/module.toml @@ -0,0 +1,2 @@ +[[imports]] +path = "github.com/jpanther/congo/v2" diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..12b6f11 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,10 @@ +colorScheme = "sapphire" +# enableSearch = true +enableCodeCopy = true +footer.showAppearanceSwitcher = true + +homepage.layout = "profile" +homepage.showRecent = false + +article.showTableOfContents = true +list.showSummary = false diff --git a/blogs/vim.md b/content/blogs/vim/index.md similarity index 97% rename from blogs/vim.md rename to content/blogs/vim/index.md index 47f9bce..ae8d804 100644 --- a/blogs/vim.md +++ b/content/blogs/vim/index.md @@ -1,4 +1,10 @@ -# Vim features that IDE wish they could have +--- +title: "Vim features that IDE wish they could have" +description: "" +date: 2024-04-03T11:41:18.979+0200 +draft: true +tags: ["vim", "tools"] +--- This post is not here to convince you to use vim, but to show you what choices vim made 50 years ago that are still relevant today. Choices that bring benefits that moderns IDEs try to replicate the best they can with their own constraints. This post will also explain some points that make vim feels alien at first but might slowly become your favorite way of editing code. diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..c31ea26 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/zoriya/blog + +go 1.21.7 + +require github.com/jpanther/congo/v2 v2.8.1 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..c8823e3 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/jpanther/congo/v2 v2.8.1 h1:S8GuQXM/91DJdmmyjOTfHa4LUg08iNsKASSyX2RgeJU= +github.com/jpanther/congo/v2 v2.8.1/go.mod h1:1S7DRoO1ZYS4YUdFd1LjTkdyjQwsjFWd8TqSfz3Jd+M= diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..45a89cd --- /dev/null +++ b/shell.nix @@ -0,0 +1,7 @@ +{pkgs ? import {}}: + pkgs.mkShell { + packages = with pkgs; [ + hugo + go + ]; + }