We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
match
Steps to reproduce:
Make a file called .something with some content in your current file.
.something
Create hakyllExample.hs with the following content.
hakyllExample.hs
import Hakyll main :: IO () main = hakyll $ do match (fromGlob ".something") $ do route idRoute compile copyFileCompiler
Nothing is created in _site if you run runhaskell hakyllExample.hs build. Using fromRegex, escaping the period, and fromList all don't seem to work.
_site
runhaskell hakyllExample.hs build
fromRegex
fromList
Changing ".something" to "something" and changing the filename to something makes it work.
".something"
"something"
something
Strangely matches (fromGlob ".something") (fromFilePath ".something") is True.
matches (fromGlob ".something") (fromFilePath ".something")
True
The text was updated successfully, but these errors were encountered:
By default, Hakyll ignores all files starting with a .. You can tweak this by changing the configuration.
.
myConfig = defaultConfiguration {ignore = \_ -> False} -- Do not ignore anything main = hakyllWith myConfig $ do ...
Sorry, something went wrong.
Cool thanks!
No branches or pull requests
Steps to reproduce:
Make a file called
.something
with some content in your current file.Create
hakyllExample.hs
with the following content.Nothing is created in
_site
if you runrunhaskell hakyllExample.hs build
. UsingfromRegex
, escaping the period, andfromList
all don't seem to work.Changing
".something"
to"something"
and changing the filename tosomething
makes it work.Strangely
matches (fromGlob ".something") (fromFilePath ".something")
isTrue
.The text was updated successfully, but these errors were encountered: