Umutwe Wihariye

Gufata umushinga wa demo nkurugero, .i18n/htm/foot.pug mububiko md busobanura munsi yurubuga.

Imiterere Yumutwe

Hano hari dosiye eshatu css munsi ya md/.i18n/htm mumushinga wa demo.

Agashusho

Agashusho k'ibirenge kakozwe mugukora imyandikire F iconfont.cn verisiyo yicyongereza # / )!

Nyamuneka kora igishushanyo cyawe bwite hanyuma usimbuze imyandikire yimyandikire muburyo bwa 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;
}

Nyamuneka ntukereke neza dosiye yimyandikire ya iconfont.cn kuko idashobora gutwarwa kuri mushakisha ya safari.

Indimi Nyinshi

Kode muri .i18n/htm/foot.pug niyi ikurikira :

#Ft
  b
    a.site(href="/")
    b ${I18N.C}

Hano ${I18N.C} ihuye na en/i18n.yml :

C: Power By <a class="a" href="https://i18n.site">i18n.site</a>

Ukoresheje ${I18N.xxx} isa nubu buryo bwo kwandika, uhujwe na i18n.yml , urashobora kugera ku ndimi nyinshi mpuzamahanga mumahanga.

Ongeraho class="a" kumurongo ni ukubuza guhuza guhinduka kuri MarkDown Reba : YAML : Nigute wabuza guhuza HTML guhinduka kuri Markdown !