✨ Add: allow param description
for head meta
This commit is contained in:
parent
1650b097f9
commit
d5da337063
3 changed files with 7 additions and 2 deletions
|
@ -1 +1,2 @@
|
|||
title = "Open Sea"
|
||||
title = "Open Sea"
|
||||
description = "Takumi Tsuruta's home page"
|
|
@ -3,7 +3,9 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>@title</title>
|
||||
<meta name="description" content="@description" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@contents
|
||||
</body>
|
4
vss.v
4
vss.v
|
@ -5,11 +5,13 @@ import cli
|
|||
import toml
|
||||
import regex
|
||||
import markdown
|
||||
|
||||
import template
|
||||
|
||||
const default_config = 'config.toml'
|
||||
|
||||
const config_params = ['title']
|
||||
// Allowed parameters
|
||||
const config_params = ['title', "description"]
|
||||
|
||||
const default_template = 'layouts/_index.html'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue