Commit Graph

141 Commits

Author SHA1 Message Date
Abdullah Islam c603e29102 changes in scripts/html.awk: added support for parsing lists, and refactored code to make it more safe 2023-05-10 19:37:43 +06:00
Abdullah Islam 65173a6736 minor changes to src/todo.gmi, and src/index.gmi. refactored scripts/html.awk 2023-05-10 19:22:30 +06:00
Abdullah Islam e51ca03d19 refactored scripts/html.awk to be more readable 2023-05-10 19:18:08 +06:00
Abdullah Islam b37620f098 changed my todo list 2023-05-10 18:11:30 +06:00
Abdullah Islam d684f9dc29 changed the link of one of the highlights 2023-05-10 18:11:05 +06:00
Abdullah Islam 4580d39751 changed the format of my link directory, added tags 2023-05-10 18:10:48 +06:00
Abdullah Islam 3a71ad6fd5 a complement to the previous change: added an entry to src/feed.ass 2023-05-10 17:51:07 +06:00
Abdullah Islam 68f8ad747b added new note: 'use awk + make + sh for website generation' 2023-05-10 17:42:40 +06:00
Abdullah Islam 2d83bf4275 did another refactor 2023-05-10 16:19:06 +06:00
Abdullah Islam f35ce48f7d changed a bunch of code, added resolvePath functions in scripts/common_functions.awk, and renamed tmpl to scripts 2023-05-08 18:07:48 +06:00
Abdullah Islam b5ed80d2da removed lines of code from tmpl/html.awk 2023-05-07 18:04:30 +06:00
Abdullah Islam 68442a5ec3 rewrote the src/useful/addons.gmi 2023-05-07 17:54:39 +06:00
Abdullah Islam 048822cdae another refactor 2023-05-07 17:51:33 +06:00
Abdullah Islam c43c0cc3b5 huge refactor, removed code 2023-05-06 21:50:52 +06:00
Abdullah Islam 31253ba10e improved the code in tmpl/html.awk 2023-05-03 19:31:41 +06:00
Abdullah Islam 8832559241 improved the code in tmpl/html.awk 2023-05-03 17:00:42 +06:00
Abdullah Islam dd5b79da41 added a sitemap generation template for HTML 2023-05-03 16:57:57 +06:00
Abdullah Islam c71d756bd1 fixed tmpl/sitemap_gmi.awk
the problem was that abspath in tmpl/sitemap_gmi.awk wasn't returning anything, and therefore realpath reported an error about "'': no such file or directory"

the solution was that in tmpl/common_functions.awk, the function abspath was using realpath on path, instead of inputPath. see for yourself
2023-05-03 16:27:33 +06:00
Abdullah Islam f8906ce4df removed a bit of code from tmpl/common_functions.awk 2023-05-02 18:50:54 +06:00
Abdullah Islam 519fa52bda (2) made tmpl/sitemap.gmi.awk more correct 2023-05-02 18:41:00 +06:00
Abdullah Islam b396f033f2 made tmpl/sitemap.gmi.awk more correct 2023-05-02 18:11:03 +06:00
Abdullah Islam 3984c3823e improved the code of tmpl/html.awk 2023-05-02 18:10:11 +06:00
Abdullah Islam 5eced9dd47 removed code from tmpl/sitemap_gmi.awk 2023-05-02 17:26:37 +06:00
Abdullah Islam a2737b0de0 made the hashbased_uuidgen function in tmpl/common_functions.awk 2023-05-01 18:28:03 +06:00
Abdullah Islam bd3014c33b made permalink links a CSS class of .permalink, and added special styling to them, which increased their left margin 2023-05-01 18:04:43 +06:00
Abdullah Islam bdfd298cf1 content update: added more text to my note 'On Personal Websites' 2023-05-01 17:51:13 +06:00
Abdullah Islam 63370edece added the hashbased_uuidgen function in tmpl/common_functions.awk 2023-05-01 17:50:12 +06:00
Abdullah Islam a758f18b2f added permalinks for h2 sections, and made the table of content link to various sections of the document 2023-05-01 16:16:29 +06:00
Abdullah Islam f76e9f7d91 in progress of adding feed functionality to the generation 2023-05-01 16:07:56 +06:00
Abdullah Islam edc137420d modified the Makefile, tmpl/gemini.awk, tmpl/html.awk, and tmpl/sitemap_gmi.awk 2023-05-01 14:34:20 +06:00
Abdullah Islam 4a9d79b769 fixed tmpl/sitemap_gmi.awk, originally realpath returned the wrong URL 2023-05-01 12:03:48 +06:00
Abdullah Islam d08244c07b added tmpl/common_functions.awk, as a shared library for all the awk templates. but unfortunately i can't include it for some reason 2023-05-01 10:09:53 +06:00
Abdullah Islam fd60aca75d added gemini sitemap functionality 2023-05-01 09:51:16 +06:00
Abdullah Islam 384e6bf008 started using mawk instead of gawk 2023-04-30 22:23:13 +06:00
Abdullah Islam f970d337fa added blockquote support 2023-04-30 22:18:49 +06:00
Abdullah Islam 5e1c12e40f added table of content functionality to tmpl/html.awk. also added functionality to interpret ``` blocks 2023-04-30 22:13:32 +06:00
Abdullah Islam fbe4925559 fixed link in src/notes/index.gmi. improved tmpl/gemini.awk. first steps towards implementing table of contents in tmpl/html.awk 2023-04-30 21:22:36 +06:00
Abdullah Islam 0a68e11d3a added more functionallity to tmpl/html.awk 2023-04-30 21:12:27 +06:00
Abdullah Islam 9fb6321442 added gitignore. improved the HTML generation template. added the gemini generation template. 2023-04-30 19:20:58 +06:00
Abdullah Islam 36513ba6dd improved the HTML generation template: made it change .gmi links within the website to .html links 2023-04-30 17:12:06 +06:00
Abdullah Islam f1b9800675 first commit 2023-04-30 12:16:05 +06:00