summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-08-19 22:31:58 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-08-19 22:31:58 -0700
commit99fc4f6c8c28179acc387c03b5e2862dde3cb1c5 (patch)
tree84815200b1593429c4d591515549b7784186c753 /templates
parent4002ac9a9f8ef4135f4dcb7256f6eb2d017dcce6 (diff)
downloadroseh.moe-99fc4f6c8c28179acc387c03b5e2862dde3cb1c5.tar.zst
Remove met art page
Diffstat (limited to 'templates')
-rw-r--r--templates/cmd-index.html.template4
-rw-r--r--templates/games/index.html.template6
-rw-r--r--templates/games/rms.html.template4
-rw-r--r--templates/index.html.template6
-rw-r--r--templates/login.html.template6
-rw-r--r--templates/mart/girl.html.template15
-rw-r--r--templates/mart/index.html.template14
-rw-r--r--templates/mart/set.html.template13
-rw-r--r--templates/note.html.template4
-rw-r--r--templates/outline.html.template4
-rw-r--r--templates/pkg-index.html.template4
-rw-r--r--templates/wormhole-success.html.template6
-rw-r--r--templates/wormhole.html.template4
13 files changed, 20 insertions, 70 deletions
diff --git a/templates/cmd-index.html.template b/templates/cmd-index.html.template
index e239ef0..16b89b0 100644
--- a/templates/cmd-index.html.template
+++ b/templates/cmd-index.html.template
@@ -1,8 +1,8 @@
-{{- define "head"}}
+{{define "head" -}}
<title>Commands</title>
{{- end}}
-{{- define "body"}}
+{{define "body" -}}
<section>
<p>Command index</p>
<ul>
diff --git a/templates/games/index.html.template b/templates/games/index.html.template
index f25c080..f235bd1 100644
--- a/templates/games/index.html.template
+++ b/templates/games/index.html.template
@@ -1,8 +1,6 @@
-{{- define "head"}}
- <title>Games</title>
-{{- end}}
+{{define "head"}}<title>Games</title>{{end}}
-{{- define "body"}}
+{{define "body" -}}
<section>
<ul>
<li><a href="/games/pong">Pong</a> (warning: loud)</li>
diff --git a/templates/games/rms.html.template b/templates/games/rms.html.template
index d6efdad..9f396fe 100644
--- a/templates/games/rms.html.template
+++ b/templates/games/rms.html.template
@@ -1,9 +1,9 @@
-{{- define "head"}}
+{{define "head" -}}
<title>RMS shooter</title>
<script src="/static/games/rms/rms.js" defer></script>
{{- end}}
-{{- define "body"}}
+{{define "body" -}}
<img id="sprite-sheet" src="/static/games/rms/sprite-sheet.webp" hidden>
<section>
diff --git a/templates/index.html.template b/templates/index.html.template
index 009083b..fcb74b6 100644
--- a/templates/index.html.template
+++ b/templates/index.html.template
@@ -1,8 +1,6 @@
-{{- define "head"}}
- <title>roseh.moe</title>
-{{- end}}
+{{define "head"}}<title>roseh.moe</title>{{end}}
-{{- define "body"}}
+{{define "body" -}}
<div style="background-image:url(/static/index/stars.webp);background-repeat:repeat;height:500px;display:flex">
<h1 style="margin:auto">roseh.moe</h1>
</div>
diff --git a/templates/login.html.template b/templates/login.html.template
index 49f392b..ce46bd1 100644
--- a/templates/login.html.template
+++ b/templates/login.html.template
@@ -1,8 +1,6 @@
-{{- define "head"}}
- <title>Login</title>
-{{- end}}
+{{define "head"}}<title>Login</title>{{end}}
-{{- define "body"}}
+{{define "body" -}}
<section>
{{- if .Error}}
<p class="login-error"><img class="inline" src="/static/angry.webp">Incorrect password</p>
diff --git a/templates/mart/girl.html.template b/templates/mart/girl.html.template
deleted file mode 100644
index bc82e4f..0000000
--- a/templates/mart/girl.html.template
+++ /dev/null
@@ -1,15 +0,0 @@
-{{- define "head"}}
- <title>{{.Name}}</title>
-{{- end}}
-
-{{- define "body"}}
- {{$girlURL := .URL}}
- {{- range .Sets}}
- <figure>
- <a href="/mart/{{$girlURL}}/{{.URL}}">
- <img src="/mart/photos/preview/{{.CoverID}}.jpeg">
- </a>
- <figcaption>{{.Name}}</figcaption>
- </figure>
- {{- end}}
-{{- end}}
diff --git a/templates/mart/index.html.template b/templates/mart/index.html.template
deleted file mode 100644
index 17365c1..0000000
--- a/templates/mart/index.html.template
+++ /dev/null
@@ -1,14 +0,0 @@
-{{- define "head"}}
- <title>Met Art Babes</title>
-{{- end}}
-
-{{- define "body"}}
- {{- range .Girls}}
- <figure>
- <a href="/mart/{{.URL}}/">
- <img src="/mart/photos/preview/{{.CoverID}}.jpeg">
- </a>
- <figcaption>{{.Name}}</figcaption>
- </figure>
- {{- end}}
-{{- end}}
diff --git a/templates/mart/set.html.template b/templates/mart/set.html.template
deleted file mode 100644
index dbe0f22..0000000
--- a/templates/mart/set.html.template
+++ /dev/null
@@ -1,13 +0,0 @@
-{{- define "head"}}
- <title>{{.Name}}</title>
-{{- end}}
-
-{{- define "body"}}
- <div class="fullwidth">
- {{- range .Photos}}
- <figure>
- <img src="/mart/photos/{{.}}.jpeg">
- </figure>
- {{- end}}
- </div>
-{{- end}}
diff --git a/templates/note.html.template b/templates/note.html.template
index cc9255e..ff72bdf 100644
--- a/templates/note.html.template
+++ b/templates/note.html.template
@@ -1,11 +1,11 @@
-{{- define "head"}}
+{{define "head" -}}
<script src="/static/htmx.min.js"></script>
<title>Notepad</title>
<meta name="viewport" content="interactive-widget=resizes-content"> <!-- https://stackoverflow.com/q/76026292 -->
{{- end}}
-{{- define "body"}}
+{{define "body" -}}
<form id="form" method="post">
<div class="save-indicator-container">
{{block "saveIndicator" ""}}<span id="save-indicator">{{.}}</span>{{end}}
diff --git a/templates/outline.html.template b/templates/outline.html.template
index 67dfa6d..6ef1fe0 100644
--- a/templates/outline.html.template
+++ b/templates/outline.html.template
@@ -4,9 +4,9 @@
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="/static/styles.css">
- {{- template "head" .}}
+ {{template "head" .}}
</head>
<body>
- {{- template "body" .}}
+ {{template "body" .}}
</body>
</html>
diff --git a/templates/pkg-index.html.template b/templates/pkg-index.html.template
index ae26686..fc88ed4 100644
--- a/templates/pkg-index.html.template
+++ b/templates/pkg-index.html.template
@@ -1,8 +1,8 @@
-{{- define "head"}}
+{{define "head" -}}
<title>Packages</title>
{{- end}}
-{{- define "body"}}
+{{define "body" -}}
<section>
<p>Package index</p>
<ul>
diff --git a/templates/wormhole-success.html.template b/templates/wormhole-success.html.template
index 89f9cf2..dbb997e 100644
--- a/templates/wormhole-success.html.template
+++ b/templates/wormhole-success.html.template
@@ -1,8 +1,6 @@
-{{- define "head"}}
- <title>Uploaded!</title>
-{{- end}}
+{{define "head"}}<title>Uploaded!</title>{{end}}
-{{- define "body"}}
+{{define "body" -}}
<div style="display:flex;flex-direction:column;align-items:center;font-size:50px">
<p><a href="{{.URL}}">{{.URL}}</a></p>
<img src="{{.QR}}" alt="QR code for {{.URL}}" width="500px">
diff --git a/templates/wormhole.html.template b/templates/wormhole.html.template
index e773bc0..9c770c1 100644
--- a/templates/wormhole.html.template
+++ b/templates/wormhole.html.template
@@ -1,8 +1,8 @@
-{{- define "head"}}
+{{define "head" -}}
<title>Wormhole</title>
{{- end}}
-{{- define "body"}}
+{{define "body" -}}
<form
method="post"
enctype="multipart/form-data"