Ezali na ba fichiers css
misato na se ya md/.i18n/htm
na projet ya démonstration.
foot.css
Motindo : nse ya lokasaimport.css
: 1Style i18n.site
pona site mobimbaconf.css
: Icônes ya footer na ba fontsElembo ya nse ya lokasa esalemi na kosala fonte oyo ezali na nkombo F
iconfont.cn ( version ya Lingelesi /中文版).
Svp sala fonte ya icône na yo moko pe remplacer fonte ya icône na configuration 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;
}
Svp bo référencer directement te na fichier ya fonte ya iconfont.cn po ekoki ko charger te na navigateur ya safari.
Code na .i18n/htm/foot.pug
ezali boye :
#Ft
b
a.site(href="/")
b ${I18N.C}
Awa ${I18N.C}
ekokani na en/i18n.yml
:
C: Power By <a class="a" href="https://i18n.site">i18n.site</a>
Na kosalelaka ${I18N.xxx}
oyo ekokani na lolenge oyo ya kokoma, esangani na i18n.yml
, okoki kosala internationalisation multi-langue ya footer.
Kobakisa class="a"
na lien ezali kopekisa lien ebongwana na MarkDown
Tala :
➔ YAML
Ndenge : kopekisa lien HTML
ebongwana na Markdown
.