Discussion:
[hakyll] Query regarding site.hs configuration
Abhishek Singh
2016-05-27 11:41:00 UTC
Permalink
Hi,

I am new to hakyll and trying to make a blog with hakyll. I already have a
template. Under 'posts' directory all posts should be written. I want to
make same thing for 'research' directory so I added same configuration for
'research' as it was written for 'posts' in site.hs. but it doesn't work.
What's could be the work around. here is
my site.hs https://dpaste.de/F8uD


Regards,
Abhishek
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sergey Bushnyak
2016-05-27 13:59:13 UTC
Permalink
I assume you're spiting your `research` directory by sub-directories, where
for each `index.md` exists, then you should use ** for `match "posts/**/
index.md"`
to go trough all of them.

On Fri, May 27, 2016 at 2:41 PM, Abhishek Singh <
Post by Abhishek Singh
Hi,
I am new to hakyll and trying to make a blog with hakyll. I already have a
template. Under 'posts' directory all posts should be written. I want to
make same thing for 'research' directory so I added same configuration for
'research' as it was written for 'posts' in site.hs. but it doesn't work.
What's could be the work around. here is
my site.hs https://dpaste.de/F8uD
Regards,
Abhishek
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Take care,
Sergey Bushnyak
CTO, Kelecorix, LLC
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Abhishek Singh
2016-05-27 16:05:16 UTC
Permalink
I made the changes but still 'html' files are not generated when I run
'./site build'
Post by Sergey Bushnyak
I assume you're spiting your `research` directory by sub-directories,
where for each `index.md` exists, then you should use ** for `match
"posts/**/index.md"`
to go trough all of them.
Post by Abhishek Singh
Hi,
I am new to hakyll and trying to make a blog with hakyll. I already have
a template. Under 'posts' directory all posts should be written. I want to
make same thing for 'research' directory so I added same configuration for
'research' as it was written for 'posts' in site.hs. but it doesn't work.
What's could be the work around. here is
my site.hs https://dpaste.de/F8uD
Regards,
Abhishek
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Take care,
Sergey Bushnyak
CTO, Kelecorix, LLC
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sergey Bushnyak
2016-05-27 21:33:02 UTC
Permalink
I moved your code to 4.8 and made test files for it and get successful run,
you can check it out here
https://www.dropbox.com/s/xbtd8thb3spcat4/test.tar.gz?dl=0.
It's stack based project, run `stack build` , `stack install` , `test
build`

```
├── _site
│ ├── archive.html
│ ├── configuring-clojure-mode-for-emacs-2.html
│ ├── configuring-clojure-mode-for-emacs.html
│ ├── posts
│ │ ├── test1
│ │ │ └── index.html
│ │ └── test2
│ │ └── index.html
│ └── research
│ ├── sc1
│ │ └── index.html
│ └── sc2
└── index.html
```

On Fri, May 27, 2016 at 7:05 PM, Abhishek Singh <
Post by Abhishek Singh
I made the changes but still 'html' files are not generated when I run
'./site build'
Post by Sergey Bushnyak
I assume you're spiting your `research` directory by sub-directories,
where for each `index.md` exists, then you should use ** for `match
"posts/**/index.md"`
to go trough all of them.
Post by Abhishek Singh
Hi,
I am new to hakyll and trying to make a blog with hakyll. I already have
a template. Under 'posts' directory all posts should be written. I want to
make same thing for 'research' directory so I added same configuration for
'research' as it was written for 'posts' in site.hs. but it doesn't work.
What's could be the work around. here is
my site.hs https://dpaste.de/F8uD
Regards,
Abhishek
--
You received this message because you are subscribed to the Google
Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Take care,
Sergey Bushnyak
CTO, Kelecorix, LLC
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Take care,
Sergey Bushnyak
CTO, Kelecorix, LLC
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...