Afɔti Si Wowɔ Ɖe Ɖoɖo Nu

Esi míegatsɔ demo dɔa abe kpɔɖeŋu ene la, .i18n/htm/foot.pug le md ƒe nyatakakadzraɖoƒea ɖe nyatakakadzraɖoƒea ƒe afɔti gɔme.

Afɔti Ƒe Atsyã

Fail etɔ̃ css le md/.i18n/htm te le demo dɔa me.

Icon Ƒe Nuŋɔŋlɔ

Wowɔa afɔti ƒe dzesi to ŋɔŋlɔdzesi si ŋkɔe nye F iconfont.cn ( Eŋlisigbe me tɔ /中文版) wɔwɔ me.

Taflatse wɔ wò ŋutɔ wò dzesi ƒe nuŋɔŋlɔ eye nàɖɔli dzesi ƒe nuŋɔŋlɔ le ɖoɖowɔɖia me le 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;
}

Taflatse mègayɔ iconfont.cn ƒe ŋɔŋlɔdzesiwo ƒe faɛl tẽ o elabena womateŋu atsɔe ade safari browser la dzi o.

Gbegbɔgblɔ Geɖe Ƒe Afɔti

Kɔda si le .i18n/htm/foot.pug me la le ale :

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

Le afisia la, ${I18N.C} sɔ kple en/i18n.yml :

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

Ne èzã ${I18N.xxx} si sɔ kple nuŋɔŋlɔmɔnu sia, tsɔ kpe ɖe i18n.yml ŋu la, àte ŋu akpɔ afɔti la ƒe dukɔwo dome gbegbɔgblɔ geɖe.

class="a" tsɔtsɔ kpe ɖe kadodoa ŋu nye be woaxe mɔ na kadodoa be woagatrɔ ɖe MarkDown Kpɔ : YAML : woawɔ axe mɔ na kadodo HTML be woagatrɔ wòazu Markdown o .