@rr0/cms
Version:
RR0 Content Management System (CMS)
13 lines (12 loc) • 552 B
TypeScript
import { RegexReplacer, SsiEchoVarReplaceCommand } from "ssg-api";
import { HtmlRR0Context } from "../../RR0Context.js";
import { TimeRenderer } from "../../time/index.js";
/**
* Replaces "<!--#echo var="author" -->" and "<!--#echo var="copyright" -->"
* by the page's <meta name="author">s' content.
*/
export declare class AuthorReplaceCommand extends SsiEchoVarReplaceCommand {
protected timeRenderer: TimeRenderer;
constructor(timeRenderer: TimeRenderer);
protected createReplacer(context: HtmlRR0Context): Promise<RegexReplacer>;
}