smr/tools/archive/story.etlua

24 lines
453 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<meta name="keywords" value="<%= table.concat(tags,",") %>"/>
<meta name="author" value="<%= author %>"/>
<meta name="generator" value="smr"/>
<meta charset="utf-8"/>
<link href="style.css" rel="stylesheet"/>
</head>
<article>
<h2 class="title"> <%- title %> </h2>
<h3>
<% if isanon or author == nil then -%>
By Anonymous
<% else -%>
By <%= author %>
<% end -%>
</h3>
<%- text %>
</article>
</html>