Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bin/feed: update URL | rsiddharth | 2020-09-18 | 1 | -1/+1 |
| | | | | Switch to HTTPS. | ||||
* | bin/html: update slug | rsiddharth | 2020-09-18 | 1 | -1/+1 |
| | | | | Use '0-9' instead of '\d' for matching numbers. | ||||
* | bin/feed: update slug | rsiddharth | 2020-09-18 | 1 | -1/+1 |
| | | | | Update regex to match numbers too. | ||||
* | bin/feed: update feed | rsiddharth | 2020-09-18 | 1 | -1/+1 |
| | | | | Capitalize feed name. | ||||
* | feat: support numbers in slug | Akshay S Dinesh | 2020-09-18 | 1 | -1/+1 |
| | | | | useful for slugs like camp-2020 | ||||
* | bin/html: update markdown | rsiddharth | 2020-09-14 | 1 | -1/+0 |
| | | | | Remove extraneous blank line. | ||||
* | bin/feed: update markdown | rsiddharth | 2020-09-14 | 1 | -1/+0 |
| | | | | Remove extraneous blank line. | ||||
* | bin: remove markdown | rsiddharth | 2020-09-14 | 1 | -1452/+0 |
| | | | | Replaced by mistune. | ||||
* | bin/feed: format via black | rsiddharth | 2020-09-14 | 1 | -51/+51 |
| | |||||
* | bin/html: format via black | rsiddharth | 2020-09-14 | 1 | -40/+47 |
| | |||||
* | bin/html: fix feed | rsiddharth | 2020-09-14 | 1 | -1/+1 |
| | | | | Change `p` call to `err` | ||||
* | bin/html: fix markdown | rsiddharth | 2020-09-14 | 1 | -1/+1 |
| | | | | Change `p` call to `err` | ||||
* | bin/feed: add spacing | rsiddharth | 2020-09-14 | 1 | -0/+1 |
| | | | | Separate mistune import from imports from standard lib. | ||||
* | bin/html: add spacing | rsiddharth | 2020-09-14 | 1 | -0/+1 |
| | | | | Separate mistune import from imports from standard lib. | ||||
* | switch to mistune markdown parser | Karthik | 2020-09-14 | 2 | -16/+8 |
| | |||||
* | bin/feed: add i18n handling | rsiddharth | 2020-07-25 | 1 | -7/+10 |
| | | | | | | | | | * bin/feed (slug): Add regex to detect ISO 639-1 string. Return unique name, slug and the ISO 639-1 string. The third value returned is None when is there no ISO 639- string in the file name. (elink): Add argument `l` -- ISO 639-1 string. Append it to the URL if it is not None. (entry): Update slug and elink calls. | ||||
* | add i18n support | rsiddharth | 2020-07-25 | 1 | -2/+7 |
| | | | | | | | | * bin/html (html): Add argument `lm` -- langmap and add handling to insert lang block if the news item is available in more than one language. (process): Generate language map via `langmap` and pass it to the `html` call. | ||||
* | bin/html: add langhtml. | rsiddharth | 2020-07-25 | 1 | -0/+12 |
| | | | | * bin/html (langhtml): New function. | ||||
* | bin/html: update PH. | rsiddharth | 2020-07-25 | 1 | -0/+1 |
| | | | | * bin/html (PH): Add 'lang' placeholder. | ||||
* | bin/html: add lhref. | rsiddharth | 2020-07-25 | 1 | -0/+7 |
| | | | | * bin/html (lhref): New function. | ||||
* | bin/html: add langmap. | rsiddharth | 2020-07-25 | 1 | -0/+18 |
| | | | | * bin/html (langmap): New function. | ||||
* | bin/html: detect i18n files | rsiddharth | 2020-07-25 | 1 | -6/+9 |
| | | | | | | | | | | | * bin/html (slug): Add regex to identify ISO 639-1 string in file name. Return a tuple containing the file 'slug' and the IS0 639-1 string. The second element of the tuple is None when ISO 639-1 string is not found in the file name. (html): Read ISO 639-1 string into `l` and return it as the third element. (process): Add handling to write localized version at `SLUG/XX` where `XX` is a ISO 639-1 string. | ||||
* | bin/markdown: Add license identifier. | rsiddharth | 2020-07-22 | 1 | -0/+2 |
| | |||||
* | bin/feed: Fix URL. | rsiddharth | 2019-07-21 | 1 | -1/+1 |
| | |||||
* | bin/html: Update write. | rsiddharth | 2019-07-06 | 1 | -0/+5 |
| | | | | * bin/html (write): Set permission on file. | ||||
* | bin/html: Update author. | rsiddharth | 2019-05-18 | 1 | -1/+1 |
| | | | | * bin/html (author): Add period (.) to the regex. | ||||
* | bin/feed: Update SECTIONS. | rsiddharth | 2019-05-18 | 1 | -1/+1 |
| | | | | * bin/feed (SECTIONS): Add article. | ||||
* | bin/html: Update SECTIONS. | rsiddharth | 2019-05-18 | 1 | -1/+1 |
| | | | | * bin/html (SECTIONS): Add article. | ||||
* | bin/html: Add ability set author. | rsiddharth | 2019-05-18 | 1 | -0/+14 |
| | | | | | | | | | * bin/html (PH): Add author field. (author): New function. (html): Set author if needed. * scss/style.scss: Update styling for '.meta'. Add styling '.author' and '.date' divs under meta. * templates/html/article.html: Add author in meta div. | ||||
* | bin: Refactor html. | rsiddharth | 2019-05-18 | 1 | -18/+20 |
| | | | | | | | | | | | Update html to generate html for all sections written in markdown (news, articles). * bin/html (SECTIONS): New variable. (files): Add arg `sec`. (html, process): Rewrite functions. (run): Process different sections. * templates/html/news.html: Template NEW-ITEM-TITLE -> ITEM-TITLE. | ||||
* | bin/feed: Update process. | rsiddharth | 2019-05-17 | 1 | -5/+11 |
| | | | | | * bin/feed (process): Sort entries. (entry): Return id, entry string. | ||||
* | bin/feed: Add esort. | rsiddharth | 2019-05-17 | 1 | -0/+10 |
| | |||||
* | bin/feed: URL: Change to fsfi.ricketyspace.net | rsiddharth | 2019-05-17 | 1 | -1/+1 |
| | |||||
* | bin/html: files: Ignore backup files. | rsiddharth | 2019-05-17 | 1 | -1/+10 |
| | |||||
* | bin/html: Add fok. | rsiddharth | 2019-05-17 | 1 | -0/+9 |
| | |||||
* | bin/feed: process: Don't add \n between entries. | rsiddharth | 2019-05-17 | 1 | -1/+1 |
| | |||||
* | bin/feed: files: Ignore backup files. | rsiddharth | 2019-05-17 | 1 | -1/+10 |
| | |||||
* | bin/feed: Add fok. | rsiddharth | 2019-05-17 | 1 | -0/+9 |
| | |||||
* | bin/feed: Add err. | rsiddharth | 2019-05-17 | 1 | -0/+6 |
| | |||||
* | Add bin/feed. | rsiddharth | 2019-05-16 | 1 | -0/+174 |
| | |||||
* | bin/news -> bin/html | rsiddharth | 2019-05-16 | 1 | -0/+0 |
| | |||||
* | templates/news.html -> templates/html/news.html | rsiddharth | 2019-05-16 | 1 | -1/+1 |
| | |||||
* | bin/news: Update process. | rsiddharth | 2019-05-15 | 1 | -0/+3 |
| | | | | * bin/news (process): Dump html to _build/news/ | ||||
* | bin/news: Add write. | rsiddharth | 2019-05-15 | 1 | -0/+11 |
| | |||||
* | bin/news: Update process. | rsiddharth | 2019-05-14 | 1 | -0/+3 |
| | | | | * bin/news (process): Add html call. | ||||
* | bin/news: Add html. | rsiddharth | 2019-05-14 | 1 | -0/+9 |
| | | | | * bin/news (html): New function. | ||||
* | bin/news: Add markdown. | rsiddharth | 2019-05-14 | 1 | -0/+14 |
| | | | | * bin/news (markdown): New function. | ||||
* | bin/news: Add datefmt. | rsiddharth | 2019-05-14 | 1 | -0/+5 |
| | | | | * bin/news (datefmt): New function. | ||||
* | bin/news: Add template. | rsiddharth | 2019-05-14 | 1 | -0/+4 |
| | | | | * bin/news (template): New function. | ||||
* | bin/news: PH: Fix indentation. | rsiddharth | 2019-05-14 | 1 | -1/+1 |
| |