templating (ryuji) done
This commit is contained in:
19
saki.ts
Normal file
19
saki.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { readFileSync, writeFileSync } from 'fs';
|
||||
import { Renderer } from './ryuji';
|
||||
import { parse_md_to_html } from 'makoto';
|
||||
|
||||
export interface PostMetadata {
|
||||
title: string,
|
||||
slug: string,
|
||||
filename: string,
|
||||
date: string,
|
||||
author: string,
|
||||
tags: string[],
|
||||
}
|
||||
|
||||
export interface Post extends PostMetadata {
|
||||
md: string,
|
||||
html: string,
|
||||
}
|
||||
|
||||
//
|
||||
Reference in New Issue
Block a user