@@ -120,6 +120,7 @@ data Experience = Experience
120120 , startDate :: String
121121 , endDate :: Maybe String
122122 , technologies :: [Technology ]
123+ , hasTechnologies :: Bool
123124 , content :: String
124125 }
125126 deriving (Generic , Eq , Show , FromJSON , Binary )
@@ -184,23 +185,23 @@ mdToHTML = markdownToHTMLWithOpts markdownOptions defaultHtml5Options
184185 Builders
185186------------------------------------------------}
186187buildExperience :: FilePath -> Action Experience
187- buildExperience srcPath = cacheAction (" build" :: T. Text , srcPath ) $ do
188+ buildExperience srcPath = cacheAction (" build experience " :: T. Text , srcPath ) $ do
188189 liftIO . putStrLn $ " Rebuilding aboutme/experience: " <> srcPath
189190 experienceContent <- readFile' srcPath
190191 -- load post content and metadata as JSON blob
191192 experienceData <- mdToHTML . T. pack $ experienceContent
192193 convert experienceData
193194
194195buildBio :: FilePath -> Action Bio
195- buildBio srcPath = cacheAction (" build" :: T. Text , srcPath ) $ do
196+ buildBio srcPath = cacheAction (" build bio " :: T. Text , srcPath ) $ do
196197 liftIO . putStrLn $ " Rebuilding aboutme/bio: " <> srcPath
197198 bioContent <- readFile' srcPath
198199 -- load post content and metadata as JSON blob
199200 bioData <- mdToHTML . T. pack $ bioContent
200201 convert bioData
201202
202203buildEducation :: FilePath -> Action Education
203- buildEducation srcPath = cacheAction (" build" :: T. Text , srcPath ) $ do
204+ buildEducation srcPath = cacheAction (" build education " :: T. Text , srcPath ) $ do
204205 liftIO . putStrLn $ " Rebuilding aboutme/education: " <> srcPath
205206 eduContent <- readFile' srcPath
206207 -- load post content and metadata as JSON blob
@@ -347,11 +348,6 @@ buildGithubIdentityClaim = do
347348 outputFolder <- ask
348349 lift $ copyFileChanged " site/github.html" $ outputFolder <> " github.html"
349350
350- buildForestXSLT :: SiteM ()
351- buildForestXSLT = do
352- outputFolder <- ask
353- lift $ copyFileChanged " site/forest.xsl" $ outputFolder <> " forest.xsl"
354-
355351{- -----------------------------------------------
356352 Shake Build
357353 ------------------------------------------------}
@@ -365,7 +361,6 @@ buildRules = do
365361 buildFeed allPosts
366362 buildCNAME
367363 buildGithubIdentityClaim
368- buildForestXSLT
369364 copyStaticFiles
370365
371366main :: IO ()
0 commit comments