diff options
author | Jordan <me@jordan.im> | 2022-01-15 10:56:09 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2022-01-15 10:56:09 -0700 |
commit | 35339a2918240c7948d2748b2e8d484ea5cd9a76 (patch) | |
tree | 544064385b20ac74fb879db7a632de4dae4d0e9d /templates/admin-edit.html | |
parent | ce063274e2711e615dc2eea1a44ff1f1867d9d0f (diff) | |
download | crane-35339a2918240c7948d2748b2e8d484ea5cd9a76.tar.gz crane-35339a2918240c7948d2748b2e8d484ea5cd9a76.zip |
http, templates: normalize paper metadata
Diffstat (limited to 'templates/admin-edit.html')
-rw-r--r-- | templates/admin-edit.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/admin-edit.html b/templates/admin-edit.html index d8805f9..d4c9196 100644 --- a/templates/admin-edit.html +++ b/templates/admin-edit.html @@ -65,7 +65,8 @@ {{ if $paper.Meta.Title }} <span class="title"> <input type="checkbox" id="{{ $path }}" name="paper" value="{{ $path }}"/> - <a href='/download/{{ $path }}' title='{{ $paper.Meta.Title }}'>{{ $paper.Meta.Title }}</a> + <a href='/download/{{ $path }}' title='{{ normalizeStr $paper.Meta.Title }}'> + {{- normalizeStr $paper.Meta.Title }}</a> </span> <br /> {{ else }} |