Add skip links

This commit is contained in:
2025-12-01 18:19:46 +09:00
parent b912be9cc1
commit 7f67f70902
11 changed files with 109 additions and 56 deletions

View File

@@ -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.

View File

@@ -10,10 +10,11 @@
</head>
<body>
<div class="menu">
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/">Back</a>
</div>
</header>
<main id="main">
<h1>All</h1>
@@ -30,11 +31,11 @@
<a href="/?a=all&p={{.NextPage}}">Next</a>
</div>
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/">Back</a>
</div>
</footer>
</body>
</html>

View File

@@ -10,10 +10,12 @@
</head>
<body>
<div class="menu">
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/?a=upload">Back</a>
</div>
<a href="/?a=upload">Upload</a>
</header>
<main id="main">
<h1>All Images</h1>
@@ -35,11 +37,12 @@ URL: {{$.Base}}{{.}}<br />
<a href="/?a=allimgs&p={{.NextPage}}">Next</a>
</div>
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/?a=upload">Back</a>
</div>
<a href="/?a=upload">Upload</a>
</footer>
</body>
</html>

View File

@@ -16,6 +16,12 @@
</head>
<body>
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/{{.Name | pathescape}}">Cancel</a>
</header>
<main id="#main">
{{if .Previewed}}
<h1>Preview, Not Saved - <a href="/?a=search&t=content&w={{.SearchName | urlquery}}">{{.Title}}</a></h1>
@@ -40,10 +46,12 @@
{{end}}
</form>
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/{{.Name | pathescape}}">Cancel</a>
</div>
</footer>
</body>
</html>

View File

@@ -10,10 +10,11 @@
</head>
<body>
<div class="menu">
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/">Back</a>
</div>
</header>
<main id="main">
<h1>Info</h1>
@@ -154,11 +155,11 @@ Ratio = {{.Public.Gnome.Ratio}}
Recent = {{.Public.Gnome.Recent}}
</p>
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/">Back</a>
</div>
</footer>
</body>
</html>

View File

@@ -10,10 +10,11 @@
</head>
<body>
<div class="menu">
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/">Back</a>
</div>
</header>
<main id="main">
<h1>Recent Changes</h1>
@@ -32,11 +33,11 @@
<a href="/?a=recent&p={{.NextPage}}">Next</a>
</div>
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/">Back</a>
</div>
</footer>
</body>
</html>

View File

@@ -16,11 +16,13 @@
</head>
<body>
<div class="menu">
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/{{.Name | pathescape}}">Current</a>
<a href="/{{.Name | pathescape}}?a=revs">Rev.</a>
</div>
</header>
<main id="main">
<h1>Old Revision - <a href="/?a=search&t=content&w={{.SearchName | urlquery}}">{{.Title}}</a></h1>
@@ -39,12 +41,13 @@
<input type="submit" name="revert" value="Revert" />
</form>
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/{{.Name | pathescape}}">Current</a>
<a href="/{{.Name | pathescape}}?a=revs">Rev.</a>
</div>
</footer>
</body>
</html>

View File

@@ -11,10 +11,12 @@
</head>
<body>
<div class="menu">
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/{{.Name | pathescape}}">Current</a>
</div>
</header>
<main id="main">
<h1>Revisions - {{.Title}}</h1>
@@ -39,11 +41,12 @@ No revisions found.
<a href="/{{.Name | pathescape}}?a=revs&p={{.NextPage}}">Next</a>
</div>
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/{{.Name | pathescape}}">Current</a>
</div>
</footer>
</body>
</html>

View File

@@ -12,9 +12,17 @@
<body>
<a id="top"></a>
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/?a=recent">Recent</a>
<a href="/?a=all">All</a>
</header>
<main id="main">
<h1>Search</h1>
Name Search
<div>Name Search</div>
<form action="/?a=search" method="GET">
<input type="hidden" name="a" value="search" />
<input type="hidden" name="t" value="name" />
@@ -22,7 +30,7 @@ Name Search
<input type="submit" value="Go" />
</form>
Content Search
<div>Content Search</div>
<form action="/" method="GET">
<input type="hidden" name="a" value="search" />
<input type="hidden" name="t" value="content" />
@@ -30,13 +38,6 @@ Content Search
<input type="submit" value="Go" />
</form>
<div class="menu">
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/">Back</a>
<a href="/?a=recent">Recent</a>
<a href="/?a=all">All</a>
</div>
{{if .Word}}
<h2>Results for "{{.Word}}"</h2>
<ul>
@@ -53,9 +54,11 @@ Content Search
</div>
{{end}}
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="#top">Top</a>
</div>
</footer>
</body>
</html>

View File

@@ -11,6 +11,13 @@
</head>
<body>
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/?a=allimgs">All Imgs</a>
</header>
<main id="main">
<h1>Upload</h1>
<form action="/?a=upload" method="POST" enctype="multipart/form-data">
@@ -28,11 +35,11 @@ URL: {{.Base}}{{.Name}}<br />
</p>
{{end}}
<div class="menu">
</main>
<footer class="menu">
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/?a=allimgs">All Imgs</a>
<a href="/">Back</a>
</div>
</footer>
</body>
</html>

View File

@@ -23,7 +23,8 @@
</head>
<body>
<div class="menu">
<header class="menu">
<a href="#main">Skip</a>
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/{{.Name | pathescape}}?a=edit">Edit</a>
<a href="/{{.Name | pathescape}}?a=revs">Rev.</a>
@@ -32,7 +33,8 @@
<a href="/?a=all">All</a>
<a href="/?a=upload">Upload</a>
<a href="/?a=info">Info</a>
</div>
</header>
<main id="main">
{{if .Diff}}
<h1>Diff</h1>
@@ -45,7 +47,8 @@
{{.Rendered}}
</div>
<div class="menu">
</main>
<footer class="menu">
<br />
<a href="/"><img src="/logo.png?a=static" alt="{{.SiteName}}" /></a>
<a href="/{{.Name | pathescape}}?a=edit">Edit</a>
@@ -55,7 +58,7 @@
<a href="/?a=all">All</a>
<a href="/?a=upload">Upload</a>
<a href="/?a=info">Info</a>
</div>
</footer>
</body>
</html>