Page

Description

返回前置元数据中定义的页面描述。

签名
PAGE.Description
返回类型
string

页面描述在概念上不同于内容摘要,通常用于页面自身的元数据。

title = 'How to make spicy tuna hand rolls'
description = 'Instructions for making spicy tuna hand rolls.'
layouts/baseof.html
<head>
  <meta name="description" content="{{ .Description }}">
</head>