diff options
Diffstat (limited to 'site.hs')
| -rw-r--r-- | site.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -178,7 +178,9 @@ installPage mount pi = do fixedUrlDoc <- walkURLs (processLink $ pi ^. pagePath . to takeDirectory) $ pi ^. pageDoc checkTarget file - body <- io . runIOorExplode $ writeHtml5String htmlWriteOpts fixedUrlDoc + body <- + io . runIOorExplode $ writeHtml5String htmlWriteOpts $ + addHeadingLinks "header-local-anchor" fixedUrlDoc let Y.Object meta' = pi ^. pageMeta meta = Y.Object $ KM.insert "body" (Y.String body) meta' meta <- addGlobalMeta meta >>= addPageMeta pi |
