diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index be5abbe..e0155ee 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -10,6 +10,7 @@ html { body { background: #f0f0f0; font-family: 'Lato', sans-serif; + font-size: 16px; margin-bottom: 4em; padding-bottom: 2em; } @@ -75,6 +76,5 @@ h1,h2,h3,h4,h5 { } .content { - font-size: 16px; line-height: 30px; } diff --git a/templates/home.hamlet b/templates/home.hamlet index 1c71fba..c273ab1 100644 --- a/templates/home.hamlet +++ b/templates/home.hamlet @@ -45,7 +45,7 @@ Stackage provides consistent sets of Haskell packages, known to build together and pass their tests before becoming Stackage Nightly snapshots and LTS (Long Term Support) releases.

- It is a distribution of a subset packages from Hackage, each package chosen at a version to make the set self-consistent. Note that Stackage does not patch any packages. + It is a distribution of a subset of packages from Hackage, each package chosen at a version to make the set self-consistent. Note that Stackage does not patch any packages.

We recommend using the stack tool, which makes using Stackage snapshots easy and convenient. But Stackage can also be used in other ways: as a source of consistent packages that work well together, or to ensure that Haskell packages you author or care about work well with others. 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 - -$#
-$#
-$#
-$#
-$#