stackage-server/templates/stackage-home.hamlet
Jens Petersen 866fc23f79 include time in the date of a snapshot
(the time may actually be when the snapshot build started)
2025-02-02 23:15:31 +08:00

34 lines
1.1 KiB
Plaintext

$newline never
<div .container .content>
<h1>
#{snapshotTitle snapshot}
<p>
Published on #{yearMonthDayTime (snapshotCreated snapshot)}
<span .separator>
<span>
<a href=@{StackageDiffR previousSnapName name}>View changes
<p .stack-resolver-yaml><a href="https://docs.haskellstack.org/en/stable/GUIDE/#resolvers-and-changing-your-compiler-version">resolver</a>: #{toPathPiece name}
^{hoogleForm}
<h3>Packages (#{packageCount})
<p>
<a href=@{SnapshotR name DocsR}>View documentation by modules
<div .container .content>
<div .packages>
<table .table>
<thead>
<th>Package
<th>Synopsis
<tbody>
$forall pli <- packages
<tr>
<td>
<a class=package-name href=@{packageUrl name (pliName pli) (pliVersion pli)}>
#{pliName pli}-#{pliVersion pli}
<td>
#{strip $ pliSynopsis pli}