Ho na le tse tharo css
difaele tlas'a md/.i18n/htm
ka demo porojeke e ne.
foot.css
: Setaele sa ka tlase ga mobuimport.css
: i18n.site
sa sebaka ka mokaconf.css
: Diaekhone tša letlakala la ka tlase le difonteLetshwao la footer le tšweletšwa ka go hlama fonte yeo e bitšwago F
iconfont.cn ( Seisemane phetolelo /中文版).
Hle hlama fonte ya gago ya leswao gomme o tšeele fonte ya leswao legato ka go peakanyo ka go 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;
}
Hle o se ke wa šupa ka go lebanya faele ya fonte ya iconfont.cn ka gobane e ka se laetšwe go sephephediši sa safari.
Khoutu yeo e lego go .i18n/htm/foot.pug
e ka tsela ye e latelago :
#Ft
b
a.site(href="/")
b ${I18N.C}
Mona ${I18N.C}
e sepelelana le en/i18n.yml
:
C: Power By <a class="a" href="https://i18n.site">i18n.site</a>
Ka go šomiša ${I18N.xxx}
e swanago le mokgwa wo wa go ngwala, e kopantšwe le i18n.yml
, o ka fihlelela boditšhabatšhaba bja maleme a mantši ga letlakala la ka tlase.
Go oketša class="a"
go kgokagano ke go thibela kgokagano go fetošetšwa go MarkDown
Bona :
➔ YAML
Tsela : go thibela kgokagano HTML
go fetošetšwa go Markdown
.