diff --git a/templates/package.hamlet b/templates/package.hamlet index f7b8caf..4d45bf4 100644 --- a/templates/package.hamlet +++ b/templates/package.hamlet @@ -31,6 +31,12 @@ $newline never #{prettyName (liSnapName li) (liGhc li)} (#{liVersion li}) + $if null latests +

+ This package is not currently in any snapshots. If you're interested in using it, we recommend # + adding it to Stackage Nightly + . Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks. +

diff --git a/templates/package.lucius b/templates/package.lucius index d257dd7..0bd3a83 100644 --- a/templates/package.lucius +++ b/templates/package.lucius @@ -245,3 +245,9 @@ div.plain-text { } } } + +.add-to-nightly { + border: 1px solid black; + padding: 0.5em; + background: #eef; +}