E toru nga kōnae css
i raro i te md/.i18n/htm
i roto i te kaupapa demo.
foot.css
:import.css
: 1Kahua i18n.site
mo te pae katoaconf.css
: nga tohu hiku me nga momotuhiKa hangaia te tohu hiku ma te hanga momotuhi ko iconfont.cn ( te putanga reo Ingarihi F
/版).
Hangaia taau ake momotuhi tohu ka whakakapi i te momotuhi tohu i roto i te whirihoranga i roto i 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;
}
Tena koa kaua e tohutoro tika te konae momotuhi o iconfont.cn na te mea kaore e taea te uta ki runga i te kaitirotiro Safari.
Ko te waehere i te .i18n/htm/foot.pug
e whai ake nei :
#Ft
b
a.site(href="/")
b ${I18N.C}
I konei ${I18N.C}
he rite ki en/i18n.yml
:
C: Power By <a class="a" href="https://i18n.site">i18n.site</a>
Ma te whakamahi i ${I18N.xxx}
e rite ana ki tenei tikanga tuhi, me i18n.yml
, ka taea e koe te whakatutuki i te ao-ao-maha o te hiku.
Ko te taapiri i class="a"
ki te hono kia kore e huri te hono ki MarkDown
Tirohia :
➔ YAML
: Me pehea te aukati i te hono HTML
kia kore e huri ki Markdown
.