summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-08-16 22:01:25 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-08-16 22:01:25 -0600
commit7bd7af44a99c81999b1650bf21dd720b3e67fef6 (patch)
tree0f0e8ceced7d74a576f1050aaf2536ca1dd7aeec
parent2144e9f2f113ff2e3ff6d1df96bb766fd8b79b94 (diff)
remove target:_blanks
-rw-r--r--srv/src/http/tpl/assets.html2
-rw-r--r--srv/src/http/tpl/edit-post.html2
-rw-r--r--srv/src/http/tpl/posts.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/srv/src/http/tpl/assets.html b/srv/src/http/tpl/assets.html
index 41d470c..346d125 100644
--- a/srv/src/http/tpl/assets.html
+++ b/srv/src/http/tpl/assets.html
@@ -27,7 +27,7 @@
{{ range .Payload.IDs }}
<tr>
- <td><a href="{{ AssetURL . }}" target="_blank">{{ . }}</a></td>
+ <td><a href="{{ AssetURL . }}">{{ . }}</a></td>
<td>
<form
action="{{ AssetURL . }}?method=delete"
diff --git a/srv/src/http/tpl/edit-post.html b/srv/src/http/tpl/edit-post.html
index 9a2f085..45e8f84 100644
--- a/srv/src/http/tpl/edit-post.html
+++ b/srv/src/http/tpl/edit-post.html
@@ -27,7 +27,7 @@
placeholder="e.g. how-to-fly-a-kite"
value="{{ .Payload.Post.ID }}" />
{{ else }}
- <a href="{{ PostURL .Payload.Post.ID }}" target="_blank">{{ .Payload.Post.ID }}</a>
+ <a href="{{ PostURL .Payload.Post.ID }}">{{ .Payload.Post.ID }}</a>
<input name="id" type="hidden" value="{{ .Payload.Post.ID }}" />
{{ end }}
</td>
diff --git a/srv/src/http/tpl/posts.html b/srv/src/http/tpl/posts.html
index 7416ee6..b908b08 100644
--- a/srv/src/http/tpl/posts.html
+++ b/srv/src/http/tpl/posts.html
@@ -17,7 +17,7 @@
{{ range .Payload.Posts }}
<tr>
<td>{{ .PublishedAt.Local.Format "2006-01-02 15:04:05 MST" }}</td>
- <td><a href="{{ PostURL .ID }}" target="_blank">{{ .Title }}</a></td>
+ <td><a href="{{ PostURL .ID }}">{{ .Title }}</a></td>
<td>
<a href="{{ PostURL .ID }}?edit">
<button>Edit</button>