From 5aedc33a683e5c1c6b5b85e600dcd3dcfe1c42cb Mon Sep 17 00:00:00 2001 From: Evgeni Kunev Date: Sat, 13 Jul 2024 00:35:36 +0300 Subject: [PATCH] Convert config to YAML --- config.toml | 56 ----------------------------------------------------- config.yml | 46 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 56 deletions(-) delete mode 100644 config.toml create mode 100644 config.yml diff --git a/config.toml b/config.toml deleted file mode 100644 index 76947aa..0000000 --- a/config.toml +++ /dev/null @@ -1,56 +0,0 @@ -baseUrl = "https://undef.me/" -languageCode = "bg-bg" -theme = "terminal" - -[params] -author = "Евгени Ку" -description = "[I have no kernel and I must segfault!]" -onionLink = "[undefmefotujyoeh.onion]" - -# terminal theme stuff -contentTypeName = "posts" -themeColor = "dark-green" -showMenuItems = 4 -showLanguageSelector = false -fullWidthTheme = false -centerTheme = true -autoCover = true -showLastUpdated = false -enableGitInfo = true - -[languages] - [languages.en.params] - title = "I have no kernel and I must segfault" - subtitle = "I break things to see how they (don't?) work" - - [languages.en.params.logo] - logoText = "undef.me" - logoHomeLink = "/" - -[menu] - [[menu.main]] - identifier = "rss" - name = "rss" - url = "/index.xml" - weight = -1 - - [[menu.main]] - name = "fediverse" - identifier = "fediverse" - url = "https://kitty.social/@kunev" - weight = 1 - [[menu.main]] - name = "sourcehut" - identifier = "sourcehut" - url = "https://git.sr.ht/~kunev" - weight = 2 - [[menu.main]] - name = "gitlab" - identifier = "gitlab" - url = "https://gitlab.com/kunev" - weight = 3 - [[menu.main]] - name = "github" - identifier = "github" - url = "https://github.com/kunev" - weight = 4 diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..61ba58c --- /dev/null +++ b/config.yml @@ -0,0 +1,46 @@ +baseUrl: https://undef.me/ +languageCode: bg-bg +theme: terminal +params: + author: Евгени Ку + description: '[I have no kernel and I must segfault!]' + onionLink: '[undefmefotujyoeh.onion]' + contentTypeName: posts + themeColor: dark-green + showMenuItems: 4 + showLanguageSelector: false + fullWidthTheme: false + centerTheme: true + autoCover: true + showLastUpdated: false + enableGitInfo: true +languages: + en: + params: + title: I have no kernel and I must segfault + subtitle: I break things to see how they (don't?) work + logo: + logoText: undef.me + logoHomeLink: / +menu: + main: + - identifier: rss + name: rss + url: /index.xml + weight: -1 + - name: fediverse + identifier: fediverse + url: https://kitty.social/@kunev + weight: 1 + - name: sourcehut + identifier: sourcehut + url: https://git.sr.ht/~kunev + weight: 2 + - name: gitlab + identifier: gitlab + url: https://gitlab.com/kunev + weight: 3 + - name: github + identifier: github + url: https://github.com/kunev + weight: 4 -- 2.45.2