You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this is the wrong place to ask, I am new to Haskell and new to Hakyll and am trying my best to learn both.
On my index page, I have a list of pages in directory 1. I would like this list to include a link to a page that gives a list of pages in directory 2. (I do not mind where this page is, but I've got it in directory 1 at the moment.)
This, strictly speaking, works. However, the filename appears as a literal string rather than constField "title" (which is set correctly, as it is populated on the page.) Naturally it looks messy if I have a list like:
Here is page one
Here is page two
here-is-page-three
My solution was just to rename the file to a single word, but the alphaOrder implementation is capitals-sensitive.
I tried fiddling around with the page creation but given that the title field is set correctly I think I was barking up the wrong tree.
I would appreciate any pointers on how I might implement this, and thanks in advance. Sorry if this is plainly stated in the documentation and I have missed it; I found a blog post that did something similar to this, but ultimately I couldn't figure it out from that.
The text was updated successfully, but these errors were encountered:
Hello,
Sorry if this is the wrong place to ask, I am new to Haskell and new to Hakyll and am trying my best to learn both.
On my index page, I have a list of pages in directory 1. I would like this list to include a link to a page that gives a list of pages in directory 2. (I do not mind where this page is, but I've got it in directory 1 at the moment.)
This, strictly speaking, works. However, the filename appears as a literal string rather than
constField "title"
(which is set correctly, as it is populated on the page.) Naturally it looks messy if I have a list like:My solution was just to rename the file to a single word, but the alphaOrder implementation is capitals-sensitive.
I tried fiddling around with the page creation but given that the title field is set correctly I think I was barking up the wrong tree.
I would appreciate any pointers on how I might implement this, and thanks in advance. Sorry if this is plainly stated in the documentation and I have missed it; I found a blog post that did something similar to this, but ultimately I couldn't figure it out from that.
The text was updated successfully, but these errors were encountered: