nim-de-blog

所属分类:编程语言基础
开发工具:Nim
文件大小:0KB
下载次数:0
上传日期:2023-08-10 05:03:28
上 传 者sh-1993
说明:  Nim De Blog是一个使用Nim编程语言的静态站点生成器。,
(Nim De Blog is a static site generater that uses Nim programming language.,)

文件列表:
LICENSE (1065, 2023-08-09)
examples/ (0, 2023-08-09)
examples/bloggen.nim (1411, 2023-08-09)
examples/bloggen.nims (16, 2023-08-09)
examples/public/ (0, 2023-08-09)
examples/public/test.css (61, 2023-08-09)
examples/testArticles/ (0, 2023-08-09)
examples/testArticles/hoge/ (0, 2023-08-09)
examples/testArticles/hoge/hoge.nim (434, 2023-08-09)
examples/testArticles/hoge/hoge2.nim (416, 2023-08-09)
examples/testArticles/testA.nim (1123, 2023-08-09)
src/ (0, 2023-08-09)
src/localize.nim (3258, 2023-08-09)
src/nimDeBlog.nim (5676, 2023-08-09)
src/nimDeBlogArticle.nim (6218, 2023-08-09)

# nim-de-blog Nim De Blog is a static site generater that uses Nim programming language. You can use Nim programming language and reStructuredText to write articles. Nim De Blog is designed to write multiple languages blog. ## How to use Check files under examples/ directory. ``bloggen.nim`` imports ``nimDeBlog`` module and call ``makeBlog`` procedure. That procedure execute all nim files under ``articlesSrcDir`` directory that is specified in ``makeBlog`` procedure. Each nim files under ``articlesSrcDir`` directory call ``newArticle`` procedure that generate html files. Then, ``makeBlog`` procedure generate index html file that has a list of links to each generated html files. ### How to write a article Write a article using a reStructuredText and pass it to ``newArticle`` procedure with a table data that has title and description of the article.

近期下载者

相关文件


收藏者