Init hugo/congo

This commit is contained in:
2024-04-03 12:03:10 +02:00
parent 4bd5e353b4
commit 5d33fcbc37
12 changed files with 81 additions and 1 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
public
resources/_gen
.hugo_build.lock

5
archetypes/default.md Normal file
View File

@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

BIN
assets/img/author.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1015 KiB

View File

@@ -0,0 +1,3 @@
baseURL = 'https://zoriya.dev/'
languageCode = 'en'
paginate = 50

View File

@@ -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" },
]

View File

@@ -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

View File

@@ -0,0 +1,2 @@
[[imports]]
path = "github.com/jpanther/congo/v2"

View File

@@ -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

View File

@@ -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. 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.

5
go.mod Normal file
View File

@@ -0,0 +1,5 @@
module github.com/zoriya/blog
go 1.21.7
require github.com/jpanther/congo/v2 v2.8.1 // indirect

2
go.sum Normal file
View File

@@ -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=

7
shell.nix Normal file
View File

@@ -0,0 +1,7 @@
{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
packages = with pkgs; [
hugo
go
];
}