From 9d0547db3d6839d7751b62c1e6107ff3df19df34 Mon Sep 17 00:00:00 2001 From: michivonah Date: Sun, 6 Apr 2025 10:16:24 +0200 Subject: [PATCH] fix wrong path of hugo.toml --- .pages.yml | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/.pages.yml b/.pages.yml index 94e0c2d..f63d8e8 100644 --- a/.pages.yml +++ b/.pages.yml @@ -7,7 +7,7 @@ content: label: General type: file format: toml - path: hugo/hugo.toml + path: hugo.toml icon: file-cog fields: - name: baseURL @@ -59,7 +59,7 @@ content: label: Twitter Username description: Eg. @username type: string - + - name: params label: Analytics type: object @@ -71,3 +71,34 @@ content: label: Umami Website ID type: string + + - name: projects + label: Projects + type: file + path: hugo/data/projects.yml + icon: panels-top-left + list: true + fields: + - name: title + label: Title + description: Project Name + type: string + required: true + - name: logo + label: Logo + type: image + required: true + options: + path: hugo/static/media/logos + categories: [ image ] + - name: backgroundImage + label: Background Image + type: image + required: true + options: + path: hugo/static/media/backgrounds + categories: [ image ] + - name: link + label: Link + type: string + required: false \ No newline at end of file