From 3ce592799ee1f8f4f6688d148885582473887048 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 02 Nov 2025 16:11:53 +0000
Subject: [PATCH] update doc
---
exampleSite/config/_default/hugo.toml | 5 ++---
exampleSite/tina/collections/config.ts | 2 +-
exampleSite/config/_default/params.toml | 8 ++++----
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml
index 4f1cc7e..064c4ca 100644
--- a/exampleSite/config/_default/hugo.toml
+++ b/exampleSite/config/_default/hugo.toml
@@ -3,9 +3,8 @@
enableRobotsTXT = true
# this example loads the theme as hugo module
# comment out line below, and uncomment the line after it if you prefer to load the theme normally
-theme = [
- "github.com/onweru/compose",
-] # edit this if you'ld rather use a fork of this repo
+theme = ["github.com/onweru/compose"]
+# uncomment line below if using theme as a non-module. also edit https://github.com/onweru/compose/blob/master/exampleSite/tina/collections/config.ts#L29-L35
# theme = "compose"
enableGitInfo = true
diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml
index 24cc4fc..16d2e97 100644
--- a/exampleSite/config/_default/params.toml
+++ b/exampleSite/config/_default/params.toml
@@ -43,13 +43,13 @@
# Site logo
[logo]
-lightMode = "images/compose.svg"
-darkMode = "images/compose-light.svg"
+lightMode = "/images/compose.svg"
+darkMode = "/images/compose-light.svg"
[source]
name = "GitHub"
-iconLight = "images/GitHubMarkLight.svg"
-iconDark = "images/GitHubMarkDark.svg"
+iconLight = "/images/GitHubMarkLight.svg"
+iconDark = "/images/GitHubMarkDark.svg"
url = "https://github.com/onweru/compose/"
# optional
diff --git a/exampleSite/tina/collections/config.ts b/exampleSite/tina/collections/config.ts
index 3dcd79e..4da5ab8 100644
--- a/exampleSite/tina/collections/config.ts
+++ b/exampleSite/tina/collections/config.ts
@@ -30,7 +30,7 @@
type: "string",
name: "theme",
label: "Theme / Template Name",
- list: true,
+ list: true, // delete this line when using theme as a non module
description: "references theme as module"
},
{
--
Gitblit v1.10.0