Commit Graph

71 Commits

Author SHA1 Message Date
Tissevert 633431f8cb Forgot to add Files to other-modules when creating it @ 7e875efc5 2019-02-06 18:23:08 +01:00
Tissevert bbef924104 Add alias to create <a/> with a "navigation" class and help the JS code distinguish between hablo generated links which navigation should be hijacked and regular ones 2019-02-06 17:49:28 +01:00
Tissevert dcf8d3d010 Delete redundant <div id="contents"> in pages listing articles 2019-02-06 17:47:06 +01:00
Tissevert 7e875efc57 Compile several JS files into a single one, including the JSON blog DB as well 2019-02-06 17:17:42 +01:00
Tissevert f537cde283 Generate cards for pages 2019-02-06 12:57:57 +01:00
Tissevert 773689c4ff Handle articles dates and tags into the articles JSON 2019-02-05 17:31:11 +01:00
Tissevert ce3a061a73 Add a JS script to be copied in the project and loaded in the interface 2019-02-05 17:29:55 +01:00
Tissevert 9d22da4c8b Add program version in help and a separate --version flag 2019-02-05 10:48:57 +01:00
Tissevert 844cc5a638 Fix signature that was too general in class + add the actual module that was supposedly added three commits ago (38846e) 2019-02-04 22:50:41 +01:00
Tissevert f7442f5b37 First attempt at exporting to JSON 2019-02-04 18:30:23 +01:00
Tissevert fb66c578fa Add a class type for «things that can be used as a page content» 2019-02-04 15:50:35 +01:00
Tissevert 38846e1add Add a module to handle pages with articles list and generate HTML pages for articles too 2019-02-03 22:56:21 +01:00
Tissevert 7e4cde152c Implement title detection for articles 2019-02-03 16:14:19 +01:00
Tissevert c8a9a6c9eb Split Dom templating and HTML generation process, make a separate module for articles to start scanning their content a bit 2019-02-02 23:23:05 +01:00
Tissevert f81776d3de Add two arguments to pass HTML files for the head and the banner of pages 2019-02-02 17:26:07 +01:00
Tissevert a9f220f9d8 Make input directory absolute and check it exists 2019-02-02 15:22:59 +01:00
Tissevert 62055a6a54 Use previous to generate links for articles and rename variable urlPath to filePath since it's actually the path of the file that's gonna be generated 2019-02-01 13:56:33 +01:00
Tissevert 375ea0f7b0 Changing directory to keep paths relative and generate urls more easily 2019-02-01 13:56:21 +01:00
Tissevert cf2876abb9 Add import for Data.Monoid for backward compatibility 2019-02-01 13:56:05 +01:00
Tissevert a8fd44e7ac Remove the option to generate into a directory other than the parent directory of the one containing the articles to get rid of the hassle of copying the markdown sources and simplify working with relative URLs during the generation process 2019-01-29 23:08:38 +01:00
Tissevert 0ca01da4d3 Initial draft 2019-01-27 21:43:19 +01:00