Fael css
abiɛsa na ɛwɔ md/.i18n/htm
ase wɔ demo adwuma no mu.
foot.css
: Ase hɔ asɛmimport.css
: i18n.site
style ma sait no nyinaaconf.css
: Ase hɔ agyiraehyɛde ne nkyerɛwdeWɔ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.
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
: !