aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_commit.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-18 08:20:36 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-18 08:20:36 +0800
commit67a8db36a3b08e71f661ce629a7c4138eefd1d45 (patch)
tree726c3c6a3e534e30f62b5d4042455bf063ef01b5 /templates/repo_commit.tmpl
parentgit_hooks_client.c: Ignore SIGPIPE (diff)
downloadforge-67a8db36a3b08e71f661ce629a7c4138eefd1d45.tar.gz
forge-67a8db36a3b08e71f661ce629a7c4138eefd1d45.tar.zst
forge-67a8db36a3b08e71f661ce629a7c4138eefd1d45.zip
repo_commit.html: Move the commit message out of the table
Diffstat (limited to 'templates/repo_commit.tmpl')
-rw-r--r--templates/repo_commit.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl
index 8797092..f90a453 100644
--- a/templates/repo_commit.tmpl
+++ b/templates/repo_commit.tmpl
@@ -36,16 +36,15 @@
<td>{{ .commit_object.Committer.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</td>
</tr>
<tr>
- <th scope="row">Message</th>
- <td><pre>{{ .commit_object.Message }}</pre></td>
- </tr>
- <tr>
<th scope="row">Actions</th>
<td><pre><a href="{{ .commit_object.Hash }}.patch">Get patch</a></pre></td>
</tr>
</tbody>
</table>
</div>
+ <div class="padding-wrapper scroll" id="this-commit-message">
+ <pre>{{ .commit_object.Message }}</pre>
+ </div>
<div class="padding-wrapper">
{{ $parent_commit_hash := .parent_commit_hash }}
{{ $commit_object := .commit_object }}