| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* bin/html (SECTIONS): add "case-study"
* templates/html/case-study.html: Template for case-study section.
|
|
|
|
| |
Switch to HTTPS.
|
|
|
|
| |
Use '0-9' instead of '\d' for matching numbers.
|
|
|
|
| |
Update regex to match numbers too.
|
|
|
|
| |
Capitalize feed name.
|
|
|
|
| |
useful for slugs like camp-2020
|
|
|
|
| |
Remove extraneous blank line.
|
|
|
|
| |
Remove extraneous blank line.
|
|
|
|
| |
Replaced by mistune.
|
| |
|
| |
|
|
|
|
| |
Change `p` call to `err`
|
|
|
|
| |
Change `p` call to `err`
|
|
|
|
| |
Separate mistune import from imports from standard lib.
|
|
|
|
| |
Separate mistune import from imports from standard lib.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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 (langhtml): New function.
|
|
|
|
| |
* bin/html (PH): Add 'lang' placeholder.
|
|
|
|
| |
* bin/html (lhref): New function.
|
|
|
|
| |
* bin/html (langmap): New function.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/html (write): Set permission on file.
|
|
|
|
| |
* bin/html (author): Add period (.) to the regex.
|
|
|
|
| |
* bin/feed (SECTIONS): Add article.
|
|
|
|
| |
* bin/html (SECTIONS): Add article.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
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 (process): Sort entries.
(entry): Return id, entry string.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* bin/news (process): Dump html to _build/news/
|
| |
|
|
|
|
| |
* bin/news (process): Add html call.
|
|
|
|
| |
* bin/news (html): New function.
|
|
|
|
| |
* bin/news (markdown): New function.
|
|
|
|
| |
* bin/news (datefmt): New function.
|
|
|
|
| |
* bin/news (template): New function.
|