diff --git a/src/Vervis/Widget.hs b/src/Vervis/Widget.hs index 5c07ded..3a624e5 100644 --- a/src/Vervis/Widget.hs +++ b/src/Vervis/Widget.hs @@ -46,6 +46,7 @@ breadcrumbsW = do revisionW :: WidgetFor site () revisionW = let rev = $gitDescribe :: Text + hash = $gitHash :: Text address = "^rjQ3E@vervis.peers.community" :: Text link = "https://vervis.peers.community/repos/rjQ3E" :: Text changes = $gitCommitCount :: Text diff --git a/templates/widget/revision.hamlet b/templates/widget/revision.hamlet index 8ad8eef..b77a9e8 100644 --- a/templates/widget/revision.hamlet +++ b/templates/widget/revision.hamlet @@ -14,6 +14,12 @@ $# . #{address} + + (mirror) ยป # -#{rev} (total: #{changes} patches) + + #{rev} + + (mirror) +(total: #{changes} commits)