Unyaweni Owenziwe Ngendlela Oyifisayo

Ngisathatha iphrojekthi yedemo njengesibonelo, .i18n/htm/foot.pug ohlwini lwemibhalo md uchaza unyaweni wewebhusayithi.

Isitayela Saphansi

Kunamafayela amathathu css ngaphansi kuka md/.i18n/htm kuphrojekthi yedemo.

Ifonti Yesithonjana

Isithonjana saphansi sikhiqizwa ngokudala ifonti ebizwa F iconfont.cn inguqulo yesiNgisi /δΈ­ζ–‡η‰ˆ).

Sicela uzenzele eyakho ifonti yesithonjana bese ushintsha ifonti yesithonjana ekucushweni kokuthi 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;
}

Sicela ungabhekiseli ngokuqondile kufayela lefonti le-iconfont.cn ngoba alikwazi ukulayishwa kusiphequluli se-safari.

Unyaweni Wezilimi Eziningi

Ikhodi ku .i18n/htm/foot.pug imi kanje :

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

Lapha ${I18N.C} uhambisana no en/i18n.yml :

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

Ngokusebenzisa ${I18N.xxx} ofana nale ndlela yokubhala, ehlanganiswe no i18n.yml , ungakwazi ukuzuza ukwaziswa kwamazwe ngamazwe ngezilimi eziningi kwangaphansi.

Ukwengeza class="a" kusixhumanisi ukuvimbela isixhumanisi ukuthi singaguqulelwa ku MarkDown Bona : βž” YAML : Ungavimba kanjani isixhumanisi HTML ukuthi siguqulwe sibe ngu Markdown .