(Archived) Changes Made in Theme

作者:MStzzf

时间:2023.08.18 13:55

标签: 英文, 网站, 归档

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.html add link to theme repo and my personal gitee page.

  • google_analytics.html comment all the scripts in this file.

  • head.html change fontawesome version to v6.4.2(originally v5.1.0)

  • nav.html to adapt the new version of fontawesome

    • I split the span element into two part;

    • skip translated blogs in the left nav bar

  • section.html add an optional tramslation link when an article have translation

  • social_icons.html comment most of links to social platforms except github. add link to gitee.

  • tag_iter.html [added file] as an tag util

_layouts

  • blogs.html add support for translated blogs

  • home.html add an else statement in order to tell visitor that here’s nothing in the page.

  • post.html add 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 h1 to h6 a lager, whiter title.

  • make strong and b lager a little and bolder.

  • make em and i bolder.

  • a->``border-bottom`` 1px changed to 2px

  • add highlight in pre code

  • add background for .image.avatar48 and change its size as well as .image.avatar48.img

  • add color transition to #nav, etc.

  • allow animation when elements are loading(because js provided by the theme has a bug before removing is-loading tag)

files in current folder

  • 404.html add an h1 element.

  • Gemfile change the source repo to tsinghua mirror.


创作声明:此网站包含大量由生成式人工智能生成的内容,请谨慎甄别信息

请尊重他人知识产权,转载请注明原作者和原文链接!

不允许将此网站的内容用于机器学习

(即使此网站的内容完全是由AI生成的)