From 3c32a345acdf86fac1623b1e9862efc06789d939 Mon Sep 17 00:00:00 2001 From: patarapolw Date: Fri, 16 Aug 2019 13:28:01 +0700 Subject: [PATCH] add sentence --- config.yaml | 3 + src/pages/p/2019/08/句子1.1.md | 106 +++++++++++++++++++++++++++++++++ themes/blog/layouts/layout.pug | 18 ++++-- 3 files changed, 121 insertions(+), 6 deletions(-) create mode 100644 src/pages/p/2019/08/句子1.1.md diff --git a/config.yaml b/config.yaml index 88fb0e9..4b5f638 100644 --- a/config.yaml +++ b/config.yaml @@ -10,6 +10,9 @@ blog: perPage: 5 split: === title: "中文 Diary" + tags: + - 千字文 + - 句子 pages: ^/?p/: layout: post diff --git a/src/pages/p/2019/08/句子1.1.md b/src/pages/p/2019/08/句子1.1.md new file mode 100644 index 0000000..477cd2e --- /dev/null +++ b/src/pages/p/2019/08/句子1.1.md @@ -0,0 +1,106 @@ +--- +title: "句子 1.1" +date: "2019-08-10" +tags: + - 千字文 + - 句子 +--- + +罗马人的黄金时代已过去了。 + +-- + +- 罗 马 luó mǎ Rome, capital of Italy +- 黄 金 时 代 huáng jīn shí dài golden age +- 已 yǐ already; to stop +- 过 去 guò qù (in the) past + +--- + +黄河是中国的第二大河流。 + +-- + +- 河 流 hé liú river + +--- + +哲学上的玄想出自实际情况。 + +-- + +- 哲 学 zhé xué philosophy +- 玄 xuán black; mysterious +- 想 出 xiǎng chū to figure out +- 实 际 情 况 shí jì qíng kuàng actual circumstances + +--- + +宇宙毫无疑问是无限的。 + +-- + +- 宇 宙 yǔ zhòu universe; cosmos +- 毫 无 疑 问 háo wú yí wèn certainty +- 无 限 wú xiàn unlimited + +--- + +许多房屋被洪水冲走了。 + +-- + +- 许 多 xǔ duō many; a lot of +- 房 屋 fáng wū house; building +- 被 bèi quilt; by +- 洪 水 hóng shuǐ deluge; flood +- 冲 走 chōng zǒu to flush away + +--- + +多么荒唐的故事! + +-- + +- 荒 唐 huāng táng beyond belief +- 故 事 gù shì old practice + +--- + +我当初荒废了岁月。 + +-- + +- 当 初 dāng chū at that time +- 荒 废 huāng fèi to abandon (cultivated fields) +- 岁 月 suì yuè years; time + +--- + +资产盈利能力或一些其他的价值,它们的主人。 + +-- + +- 资 产 zī chǎn property; assets +- 盈 利 yíng lì profit; gain +- 能 力 néng lì capability; ability +- 或 huò maybe; perhaps; or +- 一 些 yī xiē some; a few +- 其 他 qí tā other; the rest +- 价 值 jià zhí value; worth +- 主 人 zhǔ rén master; host; owner + +--- + +庆祝历史上的每个圣人的诞辰 + +-- + +- 庆 祝 qìng zhù to celebrate +- 历 史 上 lì shǐ shàng historical +- 圣 人 shèng rén saint; sage +- 诞 辰 dàn chén birthday + +--- + +那张CD是我儿子的。 diff --git a/themes/blog/layouts/layout.pug b/themes/blog/layouts/layout.pug index 6ce9a3f..dcf2e1a 100644 --- a/themes/blog/layouts/layout.pug +++ b/themes/blog/layouts/layout.pug @@ -5,14 +5,20 @@ head meta(content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=1" name="viewport") meta(charset="UTF-8") //- link(rel="shortcut icon" href=`${cogear.baseUrl}favicon.png` type="image/png") - link(rel="apple-touch-icon" sizes="180x180" href=`${cogear.baseUrl}apple-touch-icon.png`) - link(rel="icon" type="image/png" sizes="32x32" href=`${cogear.baseUrl}favicon-32x32.png`) - link(rel="icon" type="image/png" sizes="16x16" href=`${cogear.baseUrl}favicon-16x16.png`) - link(rel="manifest" href=`${cogear.baseUrl}site.manifest`) + link(rel="apple-touch-icon" sizes="180x180" href=`/apple-touch-icon.png`) + link(rel="icon" type="image/png" sizes="32x32" href=`/favicon-32x32.png`) + link(rel="icon" type="image/png" sizes="16x16" href=`/favicon-16x16.png`) + link(rel="manifest" href=`/site.manifest`) link(rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' integrity='sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T' crossorigin='anonymous') body - nav.navbar.navbar-dark.bg-success - a.ml-3.navbar-brand(href=cogear.baseUrl)= cogear.config.blog.title || "BLOG" + nav.navbar.navbar-dark.bg-success.navbar-expand-lg + a.ml-3.navbar-brand(href="/")= cogear.config.blog.title || "BLOG" + //- .collapse.navbar-collapse#navbarSupportedCotents + if cogear.config.blog.tags + ul.navbar-nav.mr-auto + each t in cogear.config.blog.tags + - tName = t[0].toUpperCase() + t.slice(1) + li.nav-item: a.nav-link(href=`/tag/${t}`)= tName .container.mt-3 .row .col-lg-8.col-md-12