diff options
author | Franck Cuny <franck@fcuny.net> | 2023-12-03 13:14:59 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-12-03 13:14:59 -0800 |
commit | 45f8e2d134e3dd716c5a47d15ab55266cb354ec9 (patch) | |
tree | bfb29152a651e6693bce077620b2760e3de38cda /config.toml | |
parent | chore: update flake (#12) (diff) | |
download | fcuny.net-45f8e2d134e3dd716c5a47d15ab55266cb354ec9.tar.gz |
add `treefmt` and `pre-commit-hooks`
I can now run `nix fmt` or `nix flake check` to check the syntax for various files in this repository. Fixed a deprecation warning for `hugo`: ``` > WARN The author key in site configuration is deprecated. Use params.author.email instead. > WARN The author key in site configuration is deprecated. Use params.author.name instead. ```
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/config.toml b/config.toml index 9d8c464..22cbecc 100644 --- a/config.toml +++ b/config.toml @@ -5,70 +5,70 @@ publishDir = "docs" enableGitInfo = false [params] - homeText = "A collection of posts" +homeText = "A collection of posts" -[author] - name = "Franck Cuny" - email = "franck@fcuny.net" +[params.author] +name = "Franck Cuny" +email = "franck@fcuny.net" [taxonomies] - tag = "tags" +tag = "tags" [permalinks] - blog = "/blog/:slug/" - notes = "/notes/:slug/" - tags = "/tags/:slug/" +blog = "/blog/:slug/" +notes = "/notes/:slug/" +tags = "/tags/:slug/" [menu] - [[menu.main]] - identifier = "blog" - name = "blog" - title = "blog" - url = "/blog/" - weight = 110 +[[menu.main]] +identifier = "blog" +name = "blog" +title = "blog" +url = "/blog/" +weight = 110 - [[menu.main]] - identifier = "notes" - name = "notes" - title = "notes" - url = "/notes/" - weight = 120 +[[menu.main]] +identifier = "notes" +name = "notes" +title = "notes" +url = "/notes/" +weight = 120 - [[menu.main]] - identifier = "code" - name = "code" - title = "code" - url = "https://github.com/fcuny" - weight = 130 +[[menu.main]] +identifier = "code" +name = "code" +title = "code" +url = "https://github.com/fcuny" +weight = 130 - [[menu.main]] - identifier = "feed" - name = "feed" - title = "feed" - url = "/feed.xml" - weight = 140 +[[menu.main]] +identifier = "feed" +name = "feed" +title = "feed" +url = "/feed.xml" +weight = 140 [markup] - [markup.highlight] - anchorLineNos = false - codeFences = false - guessSyntax = false - hl_Lines = "" - lineAnchors = "" - lineNoStart = 1 - lineNos = false - lineNumbersInTable = false - noClasses = true - style = "pygments" - tabWidth = 4 +[markup.highlight] +anchorLineNos = false +codeFences = false +guessSyntax = false +hl_Lines = "" +lineAnchors = "" +lineNoStart = 1 +lineNos = false +lineNumbersInTable = false +noClasses = true +style = "pygments" +tabWidth = 4 [mediaTypes."application/atom"] - suffixes = ["xml"] +suffixes = ["xml"] [outputFormats.Atom] - mediaType = "application/atom" - baseName = "feed" - isPlainText = false +mediaType = "application/atom" +baseName = "feed" +isPlainText = false [outputs] - home = [ "HTML", "Atom" ] +home = ["HTML", "Atom"] |