diff --git a/config.yaml.example b/config.yaml.example index 223454b..8e590f3 100644 --- a/config.yaml.example +++ b/config.yaml.example @@ -84,8 +84,22 @@ filter: - Use a single-sentence-per-line layout. Each sentence should be followed by a line break instead of being grouped into paragraphs. This creates a clear rhythm and improves readability. + - Write using short, simple sentences. Do not combine multiple sentences into a single complex one. + + - Connection words (e.g., however, therefore, also, but, then, in other words) + must not be removed when they are necessary for preserving logical flow. + When a sentence naturally begins with a connection word, keep it. + Do not delete or replace a connection word if doing so weakens the logical continuity. + + - When a connection word is essential for meaning and cannot be expressed + without joining two closely-related clauses, you may produce a light compound sentence. + This exception applies only when: + 1. The sentence would become unclear without the connection word. + 2. The compound structure contains only one connection word. + Even in this case, output the result as a single line (one sentence). + - Treat blank lines as paragraph boundaries. Each paragraph should remain separated by one blank line. Keep all existing blank lines between paragraphs unchanged. @@ -131,13 +145,19 @@ gnome: You are **AiGnome**, an intelligent editor for HimeWiki. Your single mission is to provide **new perspectives** that enrich the text. + # Input format + - The input will always contain two fields: + - **title:** (a short string) + - **content:** (the main body of text to be edited) + - Only the value of **content:** should be rewritten. The title should remain unchanged. + # Operating principle - Always add at least one meaningful new viewpoint, angle, or conceptual layer. - Do not preserve the text as-is; your value is in expanding understanding. - Your contribution should feel like an insightful co-author introducing depth the original text did not explicitly contain. # Editing method - 1. **Identify** the main idea of the text. + 1. **Identify** the main idea of the content. 2. **Extend** it by introducing one or more of: - Alternative interpretations - Underlying assumptions @@ -148,9 +168,9 @@ gnome: 4. **Refine** the prose so the added perspectives read as a natural part of the text. # Output requirements - - Return the **full rewritten text**, including your injected perspectives. - - Do not keep the original text unchanged. - - Your edits must be clearly visible, but not disruptive. + - Return **only the rewritten content** (not the title, not any metadata). + - Do not output the original text. + - The new perspectives must be clearly noticeable, but not disruptive. # Tone - Calm, neutral, analytical. diff --git a/internal/util/templates/all.html b/internal/util/templates/all.html index 10096ea..c6c2644 100644 --- a/internal/util/templates/all.html +++ b/internal/util/templates/all.html @@ -10,10 +10,11 @@ - + +

All

@@ -30,11 +31,11 @@ Next -
+ diff --git a/internal/util/templates/allimgs.html b/internal/util/templates/allimgs.html index 4eea58e..603bc66 100644 --- a/internal/util/templates/allimgs.html +++ b/internal/util/templates/allimgs.html @@ -10,10 +10,12 @@ - +Upload + +

All Images

@@ -35,11 +37,12 @@ URL: {{$.Base}}{{.}}
Next -
+ diff --git a/internal/util/templates/edit.html b/internal/util/templates/edit.html index de54a12..48a014c 100644 --- a/internal/util/templates/edit.html +++ b/internal/util/templates/edit.html @@ -16,6 +16,12 @@ + +
{{if .Previewed}}

Preview, Not Saved - {{.Title}}

@@ -40,10 +46,12 @@ {{end}} -
+ diff --git a/internal/util/templates/info.html b/internal/util/templates/info.html index bcd40a8..5431b8e 100644 --- a/internal/util/templates/info.html +++ b/internal/util/templates/info.html @@ -10,10 +10,11 @@ - + +

Info

@@ -154,11 +155,11 @@ Ratio = {{.Public.Gnome.Ratio}} Recent = {{.Public.Gnome.Recent}}

-
+ diff --git a/internal/util/templates/recent.html b/internal/util/templates/recent.html index 6cfb52e..e5881e2 100644 --- a/internal/util/templates/recent.html +++ b/internal/util/templates/recent.html @@ -10,10 +10,11 @@ - + +

Recent Changes

@@ -32,11 +33,11 @@ Next -
+ diff --git a/internal/util/templates/revision.html b/internal/util/templates/revision.html index 13c2828..18f9f7e 100644 --- a/internal/util/templates/revision.html +++ b/internal/util/templates/revision.html @@ -16,11 +16,13 @@ - + +

Old Revision - {{.Title}}

@@ -39,12 +41,13 @@ -
+ diff --git a/internal/util/templates/revisions.html b/internal/util/templates/revisions.html index cb352f2..898d222 100644 --- a/internal/util/templates/revisions.html +++ b/internal/util/templates/revisions.html @@ -11,10 +11,12 @@ - + +

Revisions - {{.Title}}

@@ -39,11 +41,12 @@ No revisions found. Next -
+ diff --git a/internal/util/templates/search.html b/internal/util/templates/search.html index 3b0d86b..fd8376f 100644 --- a/internal/util/templates/search.html +++ b/internal/util/templates/search.html @@ -12,9 +12,17 @@ + +
+

Search

-Name Search +
Name Search
@@ -22,7 +30,7 @@ Name Search
-Content Search +
Content Search
@@ -30,13 +38,6 @@ Content Search
- - {{if .Word}}

Results for "{{.Word}}"

+ + diff --git a/internal/util/templates/upload.html b/internal/util/templates/upload.html index 8398be0..591e409 100644 --- a/internal/util/templates/upload.html +++ b/internal/util/templates/upload.html @@ -11,6 +11,13 @@ + +
+

Upload

@@ -28,11 +35,11 @@ URL: {{.Base}}{{.Name}}

{{end}} -
+ diff --git a/internal/util/templates/view.html b/internal/util/templates/view.html index 658a66e..2c0ac3b 100644 --- a/internal/util/templates/view.html +++ b/internal/util/templates/view.html @@ -23,7 +23,8 @@ - + +
{{if .Diff}}

Diff

@@ -45,7 +47,8 @@ {{.Rendered}} -
+