Remove acme urls, becuase of change in infra
This commit is contained in:
parent
04ae21e93e
commit
1520371af9
9
site.hs
9
site.hs
@ -45,12 +45,6 @@ main = hakyllWith config $ do
|
||||
>>= loadAndApplyTemplate "templates/default.html" postCtx
|
||||
>>= relativizeUrls
|
||||
|
||||
create [".well-known/acme-challenge/A96goqqkGG9GG5uEMboQiJF7-Rzt4bjEeyiopFAhFfg"] $ do
|
||||
route $ idRoute
|
||||
compile $ do
|
||||
makeItem "A96goqqkGG9GG5uEMboQiJF7-Rzt4bjEeyiopFAhFfg.WYInsgD-qpTaWfv5fxrTL8ig6eHuBRgPISh8KN3Ix8Y"
|
||||
>>= relativizeUrls
|
||||
|
||||
create ["archive.html"] $ do
|
||||
route idRoute
|
||||
compile $ do
|
||||
@ -83,7 +77,6 @@ main = hakyllWith config $ do
|
||||
|
||||
match "templates/*" $ compile templateBodyCompiler
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
extractTags :: Rules Tags
|
||||
extractTags = do
|
||||
@ -107,5 +100,3 @@ octoMangaling pathId = base </> year </> month </> day </> post </> "index.html"
|
||||
seps = splitRegex (mkRegex "-") $ takeBaseName p
|
||||
year:month:day:xs = seps
|
||||
post = tail $ foldl (\a b -> a ++ "-" ++ b) "" xs
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user