Skip to content

Commit 5cba61f

Browse files
Merge pull request #254 from haskellfoundation/issue/253
Get rid of duplicate projects
2 parents cc5baf7 + de3c62e commit 5cba61f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

haskell-foundation.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cabal-version: 2.0
66
executable site
77
main-is: site.hs
88
build-depends: base == 4.*
9-
, hakyll ^>= 4.14
9+
, hakyll ^>= 4.14 || ^>= 4.15
1010
, monadlist
1111
, pandoc >=2.11 && <2.20
1212
, text

site.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ main = hakyll $ do
8282
route idRoute
8383
compile $ do
8484
sponsors <- buildBoilerplateCtx (Just "Projects")
85-
ctx <- projectsCtx . sortOn itemIdentifier <$> loadAll "projects/*.markdown"
85+
ctx <- projectsCtx . sortOn itemIdentifier <$> loadAll ("projects/*.markdown" .&&. hasNoVersion)
8686

8787
makeItem ""
8888
>>= loadAndApplyTemplate "templates/projects/list.html" ctx

0 commit comments

Comments
 (0)