diff --git a/templates/stackage-home.hamlet b/templates/stackage-home.hamlet index 2c6435c..1556be8 100644 --- a/templates/stackage-home.hamlet +++ b/templates/stackage-home.hamlet @@ -5,37 +5,30 @@ $newline never
Published on #{yearMonthDay (snapshotCreated snapshot)}
+
+ stack #
+ Edit your stack.yaml and set the following:
+ resolver: #{toPathPiece name}
+ You can also use
- Note: #
- For a global installation, please use #
+ New to stack?
+ \ Check out the stack homepage
+
+
+ cabal users can either use the #
+
+ project specific cabal.config
+ \ (placed in your project directory, next to your .cabal file) or #
- the global configuration instructions
+ follow the global configuration instructions
resolver: #{toPathPiece name}
+
\cabal.config
Setup guide
-
cabal update
- cabal install
+ --resolver #{toPathPiece name} on the command line
Hoogle
^{hoogleForm}
diff --git a/templates/stackage-home.lucius b/templates/stackage-home.lucius
index 52ee5fc..aba44e7 100644
--- a/templates/stackage-home.lucius
+++ b/templates/stackage-home.lucius
@@ -84,3 +84,12 @@ p + ul {
.keyword { color: #366354 }
.url { color: #06537d }
+
+.stack-resolver-yaml {
+ font-size: 1.3em;
+ font-weight: 600;
+}
+
+.cabal {
+ font-size: 0.9em;
+}