Skip to content

Commit de3c62e

Browse files
Eliminate duplicated projects
1 parent ca3614e commit de3c62e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)