diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-09-16 20:56:32 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-09-16 20:56:32 -0600 |
commit | a38d04936cd859711dfb0938d5cb998ffc9ce247 (patch) | |
tree | 54d97c42cadc7a36f8148456f84ec10df5f7cf37 /templates/ref.gmi | |
parent | 90fa2795ad177b9add2fe46382576993e96ece4b (diff) |
use short hashes in page titles
Diffstat (limited to 'templates/ref.gmi')
-rw-r--r-- | templates/ref.gmi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/ref.gmi b/templates/ref.gmi index e185ef1..909690f 100644 --- a/templates/ref.gmi +++ b/templates/ref.gmi @@ -1,6 +1,6 @@ -# {{.Repo.Name}} {{slice .Params.ref 0 8}} - {{ with .Repo.Commit .Ctx .Params.ref -}} +# {{.Repo.Name}} {{slice .Hash 0 8}} + ## {{.ShortMessage}} {{ with .RestOfMessage -}} |