Skip to content

Commit

Permalink
Move site files to site/ subdirectory
Browse files Browse the repository at this point in the history
It's rather messy otherwise, and in particular the `**/*.markdown`
rule matches `.markdown` files belonging to the source of dependent
packages in in the dist-newstyle directory.
  • Loading branch information
tomjaguarpaw committed Jan 4, 2022
1 parent af8601d commit 67722c9
Show file tree
Hide file tree
Showing 58 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion builder/site.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Testimonial

--------------------------------------------------------------------------------
main :: IO ()
main = mkContext >>= \ctx -> hakyll $ do
main = mkContext >>= \ctx -> hakyllWith configuration $ do
match "testimonials/logos/*" $ do
route idRoute
compile copyFileCompiler
Expand Down Expand Up @@ -65,6 +65,9 @@ main = mkContext >>= \ctx -> hakyll $ do
compile templateCompiler


configuration :: Configuration
configuration = defaultConfiguration{ providerDirectory = "site" }

parseTestimonialCompiler :: Compiler (Item Testimonial)
parseTestimonialCompiler = do
identifier <- getUnderlying
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 67722c9

Please sign in to comment.