1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Refactor tmpl and blob_excerpt (#32967)

1. do not use `{{/* */}}` to remove spaces, use `{{- -}}`
2. fix "blob_excerpt" endpoint, remove the legacy fragile code: have
tested commit diff and wiki diff
This commit is contained in:
wxiaoguang
2024-12-25 00:51:13 +08:00
committed by GitHub
parent 2a828e2798
commit b7260400f8
16 changed files with 108 additions and 132 deletions

View File

@@ -1,5 +1,4 @@
{{/*
Template Attributes:
{{/* Template Attributes:
* Release: the release
* IsLatest: boolean indicating whether this is the latest release, optional
*/}}