Ụkwụ Ahaziri

Ka na-ewere ọrụ ngosi ngosi dị ka ihe atụ, .i18n/htm/foot.pug na ndekọ md na-akọwa n'okpuru ebe nrụọrụ weebụ.

Ụdị Ụkwụ

Enwere faịlụ css atọ n'okpuru md/.i18n/htm na ọrụ ngosi.

Akara Ngosi Font

Emepụtara akara ngosi n'okpuru site na ịmepụta mkpụrụedemede aha F iconfont.cn ụdị Bekee /中文版).

Biko mepụta mkpụrụedemede akara ngosi nke gị ma dochie akara mkpụrụedemede na nhazi na conf.css :

@font-face {
  font-family: "F";
  src: url(//p.3ti.site/ico1.woff2) format("woff2");
}

#Ft>b>a.site {
  background: url("//p.3ti.site/i18n.svg") 0 0 / cover;
  display: block;
  height: 24px;
  opacity: 0.8;
  width: 115px;
  flex-shrink: 0;
}

Biko etinyela aka na faịlụ font iconfont.cn n'ihi na enweghị ike ibunye ya na ihe nchọgharị safari.

Ụkwụ Ọtụtụ Asụsụ

Koodu dị na .i18n/htm/foot.pug bụ nke a :

#Ft
  b
    a.site(href="/")
    b ${I18N.C}

Ebe a ${I18N.C} kwekọrọ na en/i18n.yml :

C: Power By <a class="a" href="https://i18n.site">i18n.site</a>

Iji ${I18N.xxx} yiri usoro ederede a, jikọtara ya na i18n.yml , ị nwere ike nweta ọtụtụ asụsụ mba ụwa nke ụkwụ.

Ịgbakwunye class="a" na njikọ ahụ bụ igbochi njikọ ahụ ka ọ bụrụ MarkDown Lee : YAML : esi egbochi njikọ HTML ka ọ bụrụ Markdown .