hakyll Questions

6

Solved

I'm trying to get TravisCI to automatically deploy my Hakyll static site, according to this guide. Here's how my repo is set up. I have my source branch, which contains my hakyll and markdown file...
Diarist asked 29/6, 2014 at 2:15

2

I'm trying to do something like what's described in this tutorial, i.e., add tags to my Hakyll blog, but instead of generating a page for every tag, just have one page that lists all tags and their...
Frosted asked 14/10, 2018 at 17:22

1

So this works: create ["archive.html"] $ do route idRoute compile $ do posts <- (myRecentFirst gitTimes) =<< loadAll "posts/**" let archiveCtx = listField "posts" (postCtx allTags al...
Lyingin asked 2/11, 2017 at 4:56

1

I see the create function takes a list of Identifiers. ghci λ> :t create create :: [Identifier] -> Rules () -> Rules () What list of identifier should I use to match the root of the sit...
Whizbang asked 22/9, 2017 at 3:14

1

Solved

I am trying to write a post with hakyll in markdown via pandoc. I successfully added some pictures, tables and code blocks with markdown. However, I would like to center my pictures and some text p...
Cairngorm asked 8/9, 2016 at 21:2

2

Solved

I am learning Hakyll a library in Haskell. I need to run ghc --make site.hs However, I instlled ghc with Stack so I can no longer run ghc but instead stack ghc $ stack ghc --make site.hs Invali...
Ireneirenic asked 28/3, 2016 at 0:40

1

I'm trying to construct a site with 7 pages. Each page is defined using a .markdown input. On each page I want a header with links to all the other pages. Now, this seems to be impossible since Ha...
Covenanter asked 26/2, 2016 at 7:3

2

Solved

I maintain an academic website for myself that duplicates a lot of the material that I also put in my cv. To avoid having to maintain multiple files of the same information, and to keep things in s...
Cryo asked 3/1, 2014 at 17:54

2

I wish to modify the following code so that, rather than producing links to the latest three posts on the site, it reproduces the body of the posts in their entirely, like in a traditional blog. I'...
Pigeon asked 7/4, 2013 at 8:32
1

© 2022 - 2024 — McMap. All rights reserved.