Comments (1)
The problem is the Pandoc engine Hakyll uses. When Pandoc parses an HTML page, it changes its structure.
The easiest way to fix this is to swap the pageCompiler
for:
readPageCompiler >>> addDefaultFields
readPageCompiler
is a compiler which just "reads" the page and doesn't parse it. addDefaultFields
is used to add some default fields: $url$
, $path$
, etc.
Hope this helps, if not, please re-open the issue!
from hakyll.
Related Issues (20)
- Observable change of execution order was introduced in #946 if two matches write same file HOT 7
- Hakyll.Web.Pandoc.Biblio.Tests failing HOT 8
- Broken Link For Clay HOT 1
- writerHTMLMathMethod not getting applied whatsoever HOT 3
- `functionField` context matching HOT 2
- "thread blocked indefinitely in an MVar operation" errors HOT 6
- Example of YAML syntax support HOT 1
- CSS compression breaks clamp()
- "The preview server is not enabled in the version of Hakyll" HOT 6
- `nocite` citations HOT 3
- order of fields in `defaultContext` HOT 3
- Spurious underscores in Makefile syntax highlighting HOT 1
- New versions of hakyll always rebuild everything HOT 7
- buildAndWatch fails because of locale
- Resource busy when creating multiple versions from one file HOT 1
- Integrating with ProseMirror HOT 5
- Combine output of two compilers HOT 1
- Fails to build on Windows with GHC 9.6.1 HOT 2
- Fails to build on Windows with GHC < 8.10 because easy-file fails to build
- RFC: Styling with CirrusCSS HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hakyll.