(Archived) Changes Made in Theme¶
Warning
你正在浏览已经归档的文章,这意味着这里面的内容可能已经过时。此文章的内容非必要不会再被维护。Here are changes I’ve made to the theme when I build this site.
Note that this page may be frequently updated.
last update: 2023/9/8
_includes¶
footer.htmladd link to theme repo and my personalgiteepage.google_analytics.htmlcomment all the scripts in this file.head.htmlchangefontawesomeversion to v6.4.2(originally v5.1.0)nav.htmlto adapt the new version of fontawesomeI split the
spanelement into two part;skip translated blogs in the left nav bar
section.htmladd an optional tramslation link when an article have translationsocial_icons.htmlcomment most of links to social platforms exceptgithub. add link togitee.tag_iter.html[added file] as an tag util
_layouts¶
blogs.htmladd support for translated blogshome.htmladd anelsestatement in order to tell visitor that here’s nothing in the page.post.htmladd support for translated blogs, add an announcement
_sass¶
@ jekyll-theme-prologue.scss
overview: change the color theme of right view(including shade and background) and improve the performance of the site.
make
h1toh6a lager, whiter title.make
strongandblager a little and bolder.make
emandibolder.a->``border-bottom`` 1px changed to 2pxadd highlight in
pre codeadd background for
.image.avatar48and change its size as well as.image.avatar48.imgadd color transition to
#nav, etc.allow animation when elements are loading(because js provided by the theme has a bug before removing
is-loadingtag)
files in current folder¶
404.htmladd anh1element.Gemfilechange the source repo to tsinghua mirror.