diff --git a/templates/package.hamlet b/templates/package.hamlet index 62bb56e..3ee3112 100644 --- a/templates/package.hamlet +++ b/templates/package.hamlet @@ -18,10 +18,8 @@ $newline never #{pname}

#{piSynopsis} - \ # - $maybe url <- piHomepage - - #{url} + $maybe url <- piHomepage +

#{url} $maybe displayedVersion <- mdisplayedVersion @@ -99,52 +97,21 @@ $newline never #{renderEmail email} - $maybe sppi <- msppi $with spi <- sppiSnapshotPackageInfo sppi + $maybe pantryCabal <- sppiPantryCabal sppi +
+ This version can be pinned in stack with: + #{pantryCabal}

Module documentation for #{spiVersion spi} - $maybe pantryCabal <- sppiPantryCabal sppi -
- This version can be pinned in stack with: - #{pantryCabal} $if null (sppiModuleNames sppi)

There are no documented modules for this package. $else ^{hoogleForm (spiSnapName spi)} ^{renderModules sppi} -$if not (LT.null (LT.renderHtml piReadme)) -

-
-
-
- #{piReadme} -
- -$elseif not (LT.null (LT.renderHtml piDescription)) -
-
-
-
- #{piDescription} -
- - -$if not (LT.null (LT.renderHtml piChangelog)) -
-
-
-

Changes -
-
-
-
- #{piChangelog} -
- -
@@ -175,15 +142,32 @@ $if not (LT.null (LT.renderHtml piChangelog)) $if (sppiReverseDepsCount sppi > maxDisplayedDeps) , and many more +$if not (LT.null (LT.renderHtml piReadme)) +
+
+
+
+ #{piReadme} +
+ +$elseif not (LT.null (LT.renderHtml piDescription)) +
+
+
+
+ #{piDescription} +
+ -$# Too much spam on Disqus, remove it - -$#
-$#
-$#
-$#
-$#