Kukho iifayile ezintathu css
phantsi kwe md/.i18n/htm
kwiprojekthi yedemo.
foot.css
:import.css
: i18n.site
kwindawo yonkeconf.css
: icon kunye neefontiI icon esezantsi iveliswa ngokwenza ifonti enegama iconfont.cn F
uguqulelo lwesiNgesi /中文版).
Nceda wenze eyakho ifonti ye icon kwaye ubuyisele ifonti ye icon kuqwalaselo kwi 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;
}
Nceda ungabhekiseli ngokuthe ngqo kwifayile yefonti ye iconfont.cn kuba ayinakulayishwa kwisikhangeli se safari.
Ikhowudi ku .i18n/htm/foot.pug
ihamba ngolu hlobo lulandelayo :
#Ft
b
a.site(href="/")
b ${I18N.C}
Apha ${I18N.C}
uhambelana no en/i18n.yml
:
C: Power By <a class="a" href="https://i18n.site">i18n.site</a>
Ukusebenzisa ${I18N.xxx}
efana nale ndlela yokubhala, idityaniswe no i18n.yml
, unokufikelela kwiilwimi ezininzi zamazwe ngamazwe kwi-footer.
Ukongeza class="a"
kwikhonkco kukuthintela ikhonkco ukuba iguqulwe kwi MarkDown
Bona :
: YAML
Indlela yokuthintela ikhonkco HTML
ekuguqulweni kwe- Markdown
.