Eakam1007 / rost_gen

A simple static site generator built using Rust
MIT License
0 stars 3 forks source link

Add optional -l/--lang flag to specify the language attribute of the html tag #30

Closed Eakam1007 closed 1 year ago

Eakam1007 commented 1 year ago

Example Usage:

./rost_gen -i myFile.txt --lang en-CA

This will result in the following html document:

<html lang="en-CA">
...Rest of the document

Ideally, #23 should be resolved first. It would make this much easier to implement
If no lang option is provided, it should default to en-CA

Eakam1007 commented 1 year ago

Closed by https://github.com/Eakam1007/rost_gen/commit/107aae547ede87605714870b51a6045e3e377d12, https://github.com/Eakam1007/rost_gen/commit/eb28ba577991c03e4f8ca053979ffc35f400af67