1
1
mirror of https://github.com/srid/ema.git synced 2024-11-29 09:25:14 +03:00
Commit Graph

32 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
66a679700a
Re-evaluate script tags on reload (#45) 2021-06-09 21:57:30 -04:00
Sridhar Ratnakumar
9714d12a84 Prevent logging from slowing down static generation 2021-06-09 17:13:47 -04:00
Sridhar Ratnakumar
04b773eb5e Gracefully handle 404s 2021-06-06 21:51:10 -04:00
Sridhar Ratnakumar
d366c83fc9 Allow encodeRoute (thus routeUrl) take model as argument 2021-06-02 20:01:24 -04:00
Sridhar Ratnakumar
09b00a8eb4 Fix routeUrl bug in non-HTML paths encoding 2021-05-27 16:25:43 -04:00
Sridhar Ratnakumar
e8c720aaad Remove wikilink parser
This is now available in commonmark-hs package.
2021-05-27 14:29:27 -04:00
Sridhar Ratnakumar
feb58f5129
Support static files outside source directory (#39)
* Try to fix it, WIP

* docsx
2021-05-25 22:50:05 -04:00
Sridhar Ratnakumar
ccd3649319 Pass cli action to model runner 2021-05-25 22:40:56 -04:00
Sridhar Ratnakumar
f8b7e9d41c Docs and changelog 2021-05-22 13:06:27 -04:00
Sridhar Ratnakumar
5876e66ba8 Prepare to merge 2021-05-19 13:48:04 -04:00
Sridhar Ratnakumar
a90120faa9 Avoid the leading slash in routeUrl 2021-05-19 13:37:02 -04:00
Sridhar Ratnakumar
5955897426 Adjust tutorial for new template 2021-05-19 13:20:10 -04:00
Sridhar Ratnakumar
df58a62139 Unicode normalize routeUrl (via decodeSlug) 2021-05-16 16:03:22 -04:00
Sridhar Ratnakumar
ed782ef1a9 slug: add aeson instances 2021-05-15 17:52:23 -04:00
Sridhar Ratnakumar
735b182dc8 slug: derive Data and Generic 2021-05-13 22:34:45 -04:00
Sridhar Ratnakumar
560d074241
mountOnLVar: gracefully handle user exceptions (#30)
* try handling errors in mountOnLVar

* cleanup and change log
2021-05-13 14:17:53 -04:00
Sridhar Ratnakumar
e3a05de882 Be lenient on missing staticAssets 2021-05-10 18:19:42 -04:00
Sridhar Ratnakumar
e7bf0333da
Wikilink helper (#27) 2021-05-09 22:49:24 -04:00
Sridhar Ratnakumar
5f10887eaf
URI encoding for slugs (#25)
* Add encodeSlug, decodeSlug

* Decode URL into slug properly. Thus support whitespace in slugs

* refactor
2021-05-09 11:42:41 -04:00
Sridhar Ratnakumar
a5ba4ce6fb Add tree helpers 2021-05-08 08:57:20 -04:00
Sridhar Ratnakumar
7363c3f059 Unicode normalize slugs
Ref: https://github.com/srid/neuron/issues/611
2021-05-06 17:58:52 -04:00
Sridhar Ratnakumar
1c2d30351d
Add markdown parsing helper (#24)
add helpers to parse markdown; `parseMarkdownWithFrontMatter` and `parseMarkdown`
2021-05-06 15:44:53 -04:00
Sridhar Ratnakumar
1cdd072f86 Rename mount function 2021-05-06 10:33:17 -04:00
Sridhar Ratnakumar
5386bf7ca9 Add mountFileSystemOnLVar 2021-05-01 12:07:58 -04:00
Sridhar Ratnakumar
2f0bb39b6a tailwind: appHead before twind 2021-04-29 14:50:33 -04:00
Sridhar Ratnakumar
db68f1532d Add default implementation for staticRoutes 2021-04-27 14:50:26 -04:00
Sridhar Ratnakumar
c0bc0da02a Add basic example 2021-04-27 12:59:19 -04:00
Sridhar Ratnakumar
7ce9eead08 Add overflow-y-scroll to body 2021-04-27 12:36:02 -04:00
Sridhar Ratnakumar
5e087cfda1 Add Ord instance to Slug 2021-04-27 11:32:53 -04:00
Sridhar Ratnakumar
29f0c4d33c Move docs to separate repo 2021-04-26 17:42:00 -04:00
Sridhar Ratnakumar
e5d77e1e92 Prep for hackage release 2021-04-26 14:22:49 -04:00
Sridhar Ratnakumar
f7f437759a initial commit of WIP code 2021-04-19 11:07:52 -04:00