diff options
author | rsiddharth <s@ricketyspace.net> | 2020-07-25 20:34:46 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-07-25 20:34:46 -0400 |
commit | 1ce235f959ba7ef352134f16c4030504ae557230 (patch) | |
tree | f14c276130794d18d503e6d6f30f1667f8ea07b8 /md/article | |
parent | 08c970ce413dd7159b32b89943f29256d9cc8ae0 (diff) |
bin/html: detect i18n files
* 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.
Diffstat (limited to 'md/article')
0 files changed, 0 insertions, 0 deletions