Commit Graph

102 Commits

Author SHA1 Message Date
Tissevert bc8db13160 Add nix install instructions 2020-12-13 20:05:07 +01:00
Tissevert de4b32c022 Move UnitJS-related documentation to README 2020-12-13 18:02:14 +01:00
Tissevert 44c4813d6f Remember that git doesn't version empty directories and fix the Structure tests 2020-12-09 18:33:44 +01:00
Tissevert d4fb3eb778 Remove unsincere -dynamic flag 2020-12-09 12:16:23 +01:00
Tissevert 49f819c54c Add version guards for Monoid imports 2020-12-09 11:06:47 +01:00
Tissevert fc054ee575 Fixing test dependencies 2020-12-09 10:58:28 +01:00
Tissevert cb2bd54596 Update version bounds, restructure file (remove useless library name) 2020-12-08 21:39:41 +01:00
Tissevert d338e7b5c9 Merge branch 'main' into implement-static-pages 2020-12-06 17:28:30 +01:00
Tissevert ffea469559 Update dependencies versions known to work 2020-12-06 17:26:22 +01:00
Tissevert e8f84561df Fix broken URL in markdown links, a plural typo, the missing end of a sentence and a mistake in the syntax for template conditional blocks 2020-10-28 14:27:55 +01:00
Tissevert 191a8b0771 Fix broken Markdown link due to a ' ' in a URL 2020-10-28 10:57:27 +01:00
Tissevert ded02d4c71 Update installation instructions for UnitJS to follow the use of SJW to generate JS 2020-10-28 10:49:02 +01:00
Tissevert 3fe0dd3c2e Delete remark insisting on the 'tags' directory being required since it's no longer the case since f7ec6d06c1 2020-10-28 10:22:27 +01:00
Tissevert a0dccc770d Fill-in description for the --pages command line option 2020-10-26 21:32:29 +01:00
Tissevert f9465d1aa5 Implement correct behaviour for default and custom articles and pages as outlined by the previous unit tests 2020-10-25 22:22:22 +01:00
Tissevert 804d3aa644 Add unit tests for new behaviour : articles or pages, auto or custom, fail if none is present 2020-10-25 22:22:13 +01:00
Tissevert e74eadd6ba Stop dying in Path validation and return an Either instead so we can handle expected errors cleanly 2020-10-23 15:36:49 +02:00
Tissevert 4c6ee2d9bc Fix unit tests broken by latest changes 2020-09-30 22:02:25 +02:00
Tissevert f7ec6d06c1 Erase the asymmetry between articles and pages; make both optional though check that at least one exists 2020-09-30 22:00:30 +02:00
Tissevert 371b9a8098 Fix missing '<li>' around pages by factorizing the 'li_' into navigationSection 2020-09-30 11:44:19 +02:00
Tissevert e0161173ef Make both navigation sections optional and disable them when empty 2020-09-29 22:11:53 +02:00
Tissevert 5211379f00 Replace magic string for default Article description by a template variable and add another one for a default description for Pages 2020-06-21 22:16:14 +02:00
Tissevert 8382dc11f2 Reuse new mDLink function to simplify mDContent 2020-06-21 21:46:35 +02:00
Tissevert 47f5c70e21 Add links to static pages and handle dynamic navigation on the JS side 2020-06-20 22:59:39 +02:00
Tissevert 937a6858e0 Add a class type for Markdown and implement HTML rendering for Pages 2020-06-20 16:23:33 +02:00
Tissevert 19b3694d06 Directly store each Markdown content's path in the data structure to save having to re-build the same concatenation again and again for all the various outputs where the path matters ; also handles elegantly the «issue» of pagesPath being a Maybe FilePath because pages are optional 2020-06-09 17:52:16 +02:00
Tissevert ce3003178f Also add end-to-end test to verify the HTML generated for the cards by lucid 2020-06-09 17:45:54 +02:00
Tissevert 08990e8440 Add more article card tests and articlesList card tests 2020-06-09 15:21:29 +02:00
Tissevert 6002f7c4d6 Lay the basis for a very simple test suite 2020-06-08 22:45:16 +02:00
Tissevert fc0ef57b53 Remove dead code 2020-06-08 12:36:36 +02:00
Tissevert 1a2ece9dd9 Finish adapting everything to the new Markdown data type 2020-06-08 10:34:30 +02:00
Tissevert 1df95d5091 Start adding a Markdown data type common to Articles and Pages, refactor here and there, will need some more renaming / refactoring in DOM module 2020-06-07 23:16:40 +02:00
Tissevert baa1d0ce09 Simplify inelegant code 2020-05-30 12:57:52 +02:00
Tissevert fc8e26a983 Merge branch 'main' into implement-static-pages 2020-05-30 12:35:28 +02:00
Tissevert 1ac53e90d7 Merge branch 'main' into goSJW 2020-05-09 21:02:50 +02:00
Tissevert f19331bf11 Generate links to RSS feeds generated, generalize conditional blocks for static templating thus simplifying some variables and clarify some data structures for Collections and ArticleLists 2020-05-08 15:51:25 +02:00
Tissevert 4f93b92cc4 Merge branch 'main' into goSJW 2020-03-25 19:48:46 +01:00
Tissevert 4e402174b1 Implement RSS feeds generation 2020-03-25 19:47:28 +01:00
Tissevert 7ef89ae93d Add missing imports, reorder them alphabetically 2020-01-11 09:05:32 +01:00
Tissevert fd714e93ff Require SJW, generate blog config as a standalone file because it's always nice to have (if you want to expose its content as a read-only API) and handle hablo.js compilation with SJW 2020-01-10 18:58:42 +01:00
Tissevert add68897ad Adapt hablo's JS to SJW and stop requiring unitJS separately (since it's gonna get pulled in by sjw at compile time) 2020-01-10 18:56:59 +01:00
Tissevert 36651ddc38 Fix Open Graph cards by adding a new option to provide the site's URL 2019-12-21 12:50:38 +01:00
Tissevert 46daaa2b7a Draft a data structure for pages and make it part of the Blog datastructure 2019-08-27 16:49:47 +02:00
Tissevert b080c32d4c Handle pages parameter : use custom value provided with the usual checks or default it to «pages/» iif the directory exists, otherwise pages are deactivated 2019-08-27 16:47:45 +02:00
Tissevert 94e323d715 Simplify Blog.Wording module and change conditional template blocks syntax a tiny bit 2019-08-27 13:23:17 +02:00
Tissevert ccb7491170 Lower version bounds 2019-08-26 11:07:04 +02:00
Tissevert 0d9b331ccb Print warnings about malformed Markdown articles instead of ignoring them silently 2019-04-28 17:27:55 +02:00
Tissevert 593780cbbd Release v1.0.0 2019-04-20 09:54:21 +02:00
Tissevert 7138680c91 Add clickable image to comments and support for emojis 2019-03-03 12:16:08 +01:00
Tissevert 2c6be28d76 Implement metadata for articles and comments 2019-03-02 23:44:09 +01:00