阅读说明
本文保留莎士比亚第 18 首十四行诗的英文原文,用作 Daybook 的单语文章示例。正文不做翻译或改写;下文只解释语言字段和回退规则。
诗文
Shall I compare thee to a summer’s day?
Thou art more lovely and more temperate:
Rough winds do shake the darling buds of May,
And summer’s lease hath all too short a date;
Sometime too hot the eye of heaven shines,
And often is his gold complexion dimmed;
And every fair from fair sometime declines,
By chance or nature’s changing course untrimmed;
But thy eternal summer shall not fade,
Nor lose possession of that fair thou ow’st;
Nor shall Death brag thou wander’st in his shade,
When in eternal lines to time thou grow’st:
So long as men can breathe or eyes can see,
So long lives this, and this gives life to thee.
Daybook 中的单语文章
This page is intentionally English-only. Its frontmatter sets lang: en_US and omits i18n_key, so Daybook treats it as a standalone article rather than one half of a bilingual pair.
If the current site language has no matching version, Daybook falls back to an available version; it does not generate a translation. A bilingual article instead uses the same i18n_key in two files, one with lang: zh_CN and one with lang: en_US.
See Article frontmatter for the complete field reference. The paired Chinese–English example is Thoughts in a Quiet Night / 静夜思.
发布前检查
lang: en_US明确该页的主要语言;- 未设置
i18n_key时,页面不会与其他文章组成翻译组; - 若当前界面没有对应语言,Daybook 会按站点规则回退到已有版本。