Asase Ase a Wɔayɛ No Sɛnea Wɔpɛ

Yɛda so ara fa demo adwuma no sɛ nhwɛso no, .i18n/htm/foot.pugmd directory no mu kyerɛkyerɛ wɛbsaet no ase.

Footer Kwan a Wɔfa So Yɛ Ade

Fael css abiɛsa na ɛwɔ md/.i18n/htm ase wɔ demo adwuma no mu.

Icon Font a Wɔde Kyerɛw

Wɔnam font a wɔato din F iconfont.cn ( Borɔfo nkyerɛase /中文版) so na ɛyɛ footer icon no.

Yɛsrɛ wo yɛ w'ankasa icon font na se icon font a ɛwɔ nhyehyeɛ no mu wɔ conf.css mu no ananmu :

@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;
}

Yɛsrɛ wo, ntwe adwene si iconfont.cn font fael no so tẽẽ efisɛ wontumi mfa nkɔ safari browser no so.

Kasa Ahorow Pii Ase Hɔ Asɛm

Kood a ɛwɔ .i18n/htm/foot.pug mu no te sɛ nea edidi so yi :

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

Ɛha yi ${I18N.C} ne en/i18n.yml hyia :

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

Sɛ wode ${I18N.xxx} a ɛte sɛ saa akyerɛw kwan yi di dwuma, a wode i18n.yml ka ho a, wubetumi anya kasa horow pii amanaman ntam nkitahodi a ɛwɔ ase hɔ no mu.

Sɛ wode class="a" ka link no ho a, ɛyɛ sɛ wobɛsiw link no kwan sɛ wɔbɛdan akɔ MarkDown Hwɛ : YAML Sɛnea wobɛsiw link HTML no kwan sɛ wɔbɛdan Markdown : !