From 974ccc47da8bdecebe153cd223531cf5ebe6e467 Mon Sep 17 00:00:00 2001 From: Khusika Dhamar Gusti Date: Tue, 12 Sep 2023 11:06:22 +0700 Subject: [PATCH] feat(icon): Workaround for fontawesome 6 Signed-off-by: Khusika Dhamar Gusti --- assets/data/social.yml | 124 ++++++++++-------- assets/js/theme.js | 8 +- exampleSite/content/about/index.en.md | 92 ++++++------- exampleSite/content/about/index.fr.md | 92 ++++++------- exampleSite/content/about/index.zh-cn.md | 92 ++++++------- .../posts/basic-markdown-syntax/index.en.md | 2 +- .../posts/basic-markdown-syntax/index.fr.md | 4 +- .../basic-markdown-syntax/index.zh-cn.md | 2 +- .../content/posts/emoji-support/index.fr.md | 2 +- .../theme-documentation-basics/index.en.md | 49 +++---- .../theme-documentation-basics/index.fr.md | 51 +++---- .../theme-documentation-basics/index.zh-cn.md | 45 +++---- .../index.fr.md | 2 +- .../theme-documentation-content/index.en.md | 12 +- .../theme-documentation-content/index.fr.md | 6 +- .../index.zh-cn.md | 12 +- .../index.en.md | 4 +- .../index.fr.md | 6 +- .../index.zh-cn.md | 4 +- layouts/_default/baseof.html | 4 +- layouts/_default/single.html | 2 +- layouts/_default/summary.html | 4 +- layouts/partials/footer.html | 4 +- layouts/partials/function/checkbox.html | 4 +- layouts/partials/function/fontawesome.html | 2 +- layouts/partials/header.html | 24 ++-- layouts/partials/plugin/share.html | 50 +++---- layouts/partials/single/footer.html | 6 +- layouts/posts/single.html | 16 +-- layouts/shortcodes/admonition.html | 26 ++-- layouts/taxonomy/terms.html | 4 +- 31 files changed, 383 insertions(+), 372 deletions(-) diff --git a/assets/data/social.yml b/assets/data/social.yml index faedd56b..d3813de6 100644 --- a/assets/data/social.yml +++ b/assets/data/social.yml @@ -4,7 +4,7 @@ github: Prefix: https://github.com/ Title: GitHub Icon: - Class: fab fa-github-alt fa-fw + Class: fa-brands fa-github-alt fa-fw # 002: LinkedIn linkedin: @@ -12,7 +12,7 @@ linkedin: Prefix: https://linkedin.com/in/ Title: LinkedIn Icon: - Class: fab fa-linkedin fa-fw + Class: fa-brands fa-linkedin fa-fw # 003: Twitter twitter: @@ -20,7 +20,7 @@ twitter: Prefix: https://twitter.com/ Title: Twitter Icon: - Class: fab fa-twitter fa-fw + Class: fa-brands fa-twitter fa-fw # 004: Instagram instagram: @@ -28,7 +28,7 @@ instagram: Prefix: https://www.instagram.com/ Title: Instagram Icon: - Class: fab fa-instagram fa-fw + Class: fa-brands fa-instagram fa-fw # 005: facebook facebook: @@ -36,7 +36,7 @@ facebook: Prefix: https://facebook.com/ Title: facebook Icon: - Class: fab fa-facebook fa-fw + Class: fa-brands fa-facebook fa-fw # 006: Telegram telegram: @@ -44,7 +44,7 @@ telegram: Prefix: https://t.me/ Title: Telegram Icon: - Class: fab fa-telegram-plane fa-fw + Class: fa-brands fa-telegram-plane fa-fw # 007: Medium medium: @@ -52,7 +52,7 @@ medium: Prefix: https://medium.com/ Title: Medium Icon: - Class: fab fa-medium fa-fw + Class: fa-brands fa-medium fa-fw # 008: GitLab gitlab: @@ -60,7 +60,7 @@ gitlab: Prefix: https://gitlab.com/ Title: GitLab Icon: - Class: fab fa-gitlab fa-fw + Class: fa-brands fa-gitlab fa-fw # 009: YouTube Legacy youtubelegacy: @@ -68,7 +68,7 @@ youtubelegacy: Prefix: https://www.youtube.com/user/ Title: YouTube Icon: - Class: fab fa-youtube fa-fw + Class: fa-brands fa-youtube fa-fw # 010: YouTube Custom youtubecustom: @@ -76,7 +76,7 @@ youtubecustom: Prefix: https://www.youtube.com/c/ Title: YouTube Icon: - Class: fab fa-youtube fa-fw + Class: fa-brands fa-youtube fa-fw # 011: YouTube Channel youtubechannel: @@ -84,7 +84,7 @@ youtubechannel: Prefix: https://www.youtube.com/channel/ Title: YouTube Icon: - Class: fab fa-youtube fa-fw + Class: fa-brands fa-youtube fa-fw # 012: Tumblr tumblr: @@ -92,7 +92,7 @@ tumblr: Template: https://%v.tumblr.com/ Title: Tumblr Icon: - Class: fab fa-tumblr fa-fw + Class: fa-brands fa-tumblr fa-fw # 013: Quora quora: @@ -100,7 +100,7 @@ quora: Prefix: https://www.quora.com/profile/ Title: Quora Icon: - Class: fab fa-quora fa-fw + Class: fa-brands fa-quora fa-fw # 014: Keybase keybase: @@ -108,7 +108,7 @@ keybase: Prefix: https://keybase.io/ Title: Keybase Icon: - Class: fab fa-keybase fa-fw + Class: fa-brands fa-keybase fa-fw # 015: Pinterest pinterest: @@ -116,7 +116,7 @@ pinterest: Prefix: https://www.pinterest.com/ Title: Pinterest Icon: - Class: fab fa-pinterest fa-fw + Class: fa-brands fa-pinterest fa-fw # 016: Reddit reddit: @@ -124,7 +124,7 @@ reddit: Prefix: https://www.reddit.com/user/ Title: Reddit Icon: - Class: fab fa-reddit fa-fw + Class: fa-brands fa-reddit fa-fw # 017: CodePen codepen: @@ -132,7 +132,7 @@ codepen: Prefix: https://codepen.io/ Title: CodePen Icon: - Class: fab fa-codepen fa-fw + Class: fa-brands fa-codepen fa-fw # 018: freeCodeCamp freecodecamp: @@ -140,7 +140,7 @@ freecodecamp: Prefix: https://freecodecamp.org/ Title: freeCodeCamp Icon: - Class: fab fa-free-code-camp fa-fw + Class: fa-brands fa-free-code-camp fa-fw # 019: Bitbucket bitbucket: @@ -148,7 +148,7 @@ bitbucket: Prefix: https://bitbucket.org/ Title: Bitbucket Icon: - Class: fab fa-bitbucket fa-fw + Class: fa-brands fa-bitbucket fa-fw # 020: Stack Overflow stackoverflow: @@ -156,7 +156,7 @@ stackoverflow: Prefix: https://stackoverflow.com/users/ Title: Stack Overflow Icon: - Class: fab fa-stack-overflow fa-fw + Class: fa-brands fa-stack-overflow fa-fw # 021: 微博 weibo: @@ -164,7 +164,7 @@ weibo: Prefix: https://weibo.com/ Title: 微博 Icon: - Class: fab fa-weibo fa-fw + Class: fa-brands fa-weibo fa-fw # 022: OK.RU odnoklassniki: @@ -172,7 +172,7 @@ odnoklassniki: Prefix: https://ok.ru/ Title: OK.RU Icon: - Class: fab fa-odnoklassniki fa-fw + Class: fa-brands fa-odnoklassniki fa-fw # 023: VK vk: @@ -180,7 +180,7 @@ vk: Prefix: https://vk.com/ Title: VK Icon: - Class: fab fa-vk fa-fw + Class: fa-brands fa-vk fa-fw # 024: Flickr flickr: @@ -188,7 +188,7 @@ flickr: Prefix: https://www.flickr.com/photos/ Title: Flickr Icon: - Class: fab fa-flickr fa-fw + Class: fa-brands fa-flickr fa-fw # 025: Xing xing: @@ -196,7 +196,7 @@ xing: Prefix: https://www.xing.com/profile/ Title: Xing Icon: - Class: fab fa-xing fa-fw + Class: fa-brands fa-xing fa-fw # 026: Snapchat snapchat: @@ -204,7 +204,7 @@ snapchat: Prefix: https://www.snapchat.com/add/ Title: Snapchat Icon: - Class: fab fa-snapchat fa-fw + Class: fa-brands fa-snapchat fa-fw # 027: SoundCloud soundcloud: @@ -212,7 +212,7 @@ soundcloud: Prefix: https://soundcloud.com/ Title: SoundCloud Icon: - Class: fab fa-soundcloud fa-fw + Class: fa-brands fa-soundcloud fa-fw # 028: Spotify spotify: @@ -220,7 +220,7 @@ spotify: Prefix: https://open.spotify.com/user/ Title: Spotify Icon: - Class: fab fa-spotify fa-fw + Class: fa-brands fa-spotify fa-fw # 029: Bandcamp bandcamp: @@ -228,7 +228,7 @@ bandcamp: Template: https://%v.bandcamp.com/ Title: Bandcamp Icon: - Class: fab fa-bandcamp fa-fw + Class: fa-brands fa-bandcamp fa-fw # 030: PayPal paypal: @@ -236,7 +236,7 @@ paypal: Prefix: https://paypal.me/ Title: PayPal Icon: - Class: fab fa-paypal fa-fw + Class: fa-brands fa-paypal fa-fw # 031: 500px fivehundredpx: @@ -244,7 +244,7 @@ fivehundredpx: Prefix: https://500px.com/ Title: 500px Icon: - Class: fab fa-500px fa-fw + Class: fa-brands fa-500px fa-fw # 032: Mix mix: @@ -252,7 +252,7 @@ mix: Prefix: https://mix.com/ Title: Mix Icon: - Class: fab fa-mix fa-fw + Class: fa-brands fa-mix fa-fw # 033: Goodreads goodreads: @@ -260,7 +260,7 @@ goodreads: Prefix: https://www.goodreads.com/user/show/ Title: Goodreads Icon: - Class: fab fa-goodreads fa-fw + Class: fa-brands fa-goodreads fa-fw # 034: Last.fm lastfm: @@ -268,7 +268,7 @@ lastfm: Prefix: https://www.last.fm/user/ Title: Last.fm Icon: - Class: fab fa-lastfm fa-fw + Class: fa-brands fa-lastfm fa-fw # 035: Foursquare foursquare: @@ -276,7 +276,7 @@ foursquare: Prefix: https://foursquare.com/ Title: Foursquare Icon: - Class: fab fa-foursquare fa-fw + Class: fa-brands fa-foursquare fa-fw # 036: Hacker News hackernews: @@ -284,7 +284,7 @@ hackernews: Template: https://news.ycombinator.com/user?id=%v Title: Hacker News Icon: - Class: fab fa-hacker-news fa-fw + Class: fa-brands fa-hacker-news fa-fw # 037: Kickstarter kickstarter: @@ -292,7 +292,7 @@ kickstarter: Prefix: https://kickstarter.com/profile/ Title: Kickstarter Icon: - Class: fab fa-kickstarter fa-fw + Class: fa-brands fa-kickstarter fa-fw # 038: Patreon patreon: @@ -300,7 +300,7 @@ patreon: Prefix: https://patreon.com/ Title: Patreon Icon: - Class: fab fa-patreon fa-fw + Class: fa-brands fa-patreon fa-fw # 039: Steam steam: @@ -308,7 +308,7 @@ steam: Prefix: https://steamcommunity.com/id/ Title: Steam Icon: - Class: fab fa-steam fa-fw + Class: fa-brands fa-steam fa-fw # 040: Twitch twitch: @@ -316,7 +316,7 @@ twitch: Prefix: https://www.twitch.tv/ Title: Twitch Icon: - Class: fab fa-twitch fa-fw + Class: fa-brands fa-twitch fa-fw # 041: Strava strava: @@ -324,7 +324,7 @@ strava: Prefix: https://www.strava.com/athletes/ Title: Strava Icon: - Class: fab fa-strava fa-fw + Class: fa-brands fa-strava fa-fw # 042: Skype skype: @@ -332,7 +332,7 @@ skype: Template: "skype:" Title: Skype Icon: - Class: fab fa-skype fa-fw + Class: fa-brands fa-skype fa-fw # 043: WhatsApp whatsapp: @@ -340,7 +340,7 @@ whatsapp: Prefix: https://wa.me/ Title: WhatsApp Icon: - Class: fab fa-whatsapp fa-fw + Class: fa-brands fa-whatsapp fa-fw # 044: 知乎 zhihu: @@ -364,7 +364,7 @@ angellist: Prefix: https://angel.co/ Title: Angellist Icon: - Class: fab fa-angellist fa-fw + Class: fa-brands fa-angellist fa-fw # 047: SlideShare slideshare: @@ -372,7 +372,7 @@ slideshare: Prefix: https://slideshare.com/ Title: SlideShare Icon: - Class: fab fa-slideshare fa-fw + Class: fa-brands fa-slideshare fa-fw # 048: JSFiddle jsfiddle: @@ -380,7 +380,7 @@ jsfiddle: Prefix: https://jsfiddle.com/ Title: JSFiddle Icon: - Class: fab fa-jsfiddle fa-fw + Class: fa-brands fa-jsfiddle fa-fw # 049: DeviantArt deviantart: @@ -388,7 +388,7 @@ deviantart: Template: https://%v.deviantart.com/ Title: DeviantArt Icon: - Class: fab fa-deviantart fa-fw + Class: fa-brands fa-deviantart fa-fw # 050: Behance behance: @@ -396,7 +396,7 @@ behance: Prefix: https://behance.net/ Title: Behance Icon: - Class: fab fa-behance fa-fw + Class: fa-brands fa-behance fa-fw # 051: Dribbble dribbble: @@ -404,7 +404,7 @@ dribbble: Prefix: https://dribbble.com/ Title: Dribbble Icon: - Class: fab fa-dribbble fa-fw + Class: fa-brands fa-dribbble fa-fw # 052: WordPress wordpress: @@ -412,7 +412,7 @@ wordpress: Template: https://%v.wordpress.com/ Title: WordPress Icon: - Class: fab fa-wordpress fa-fw + Class: fa-brands fa-wordpress fa-fw # 053: Vine vine: @@ -420,7 +420,7 @@ vine: Prefix: https://vine.co/ Title: Vine Icon: - Class: fab fa-vine fa-fw + Class: fa-brands fa-vine fa-fw # 054: Google Scholar googlescholar: @@ -436,7 +436,7 @@ researchgate: Prefix: https://www.researchgate.net/profile/ Title: ResearchGate Icon: - Class: fab fa-researchgate fa-fw + Class: fa-brands fa-researchgate fa-fw # 056: Mastodon mastodon: @@ -444,7 +444,7 @@ mastodon: Prefix: https://mastodon.social/ Title: Mastodon Icon: - Class: fab fa-mastodon fa-fw + Class: fa-brands fa-mastodon fa-fw # 057: Thingiverse thingiverse: @@ -460,7 +460,7 @@ devto: Prefix: https://dev.to/ Title: Dev.To Icon: - Class: fab fa-dev fa-fw + Class: fa-brands fa-dev fa-fw # 059: Gitea gitea: @@ -499,7 +499,7 @@ email: Template: mailto:%v Title: Email Icon: - Class: far fa-envelope fa-fw + Class: fa-regular fa-envelope fa-fw # 064: Resume resume: @@ -507,7 +507,7 @@ resume: Prefix: https://goo.gl/ Title: Download Resume Icon: - Class: fas fa-user-circle fa-fw + Class: fa-solid fa-user-circle fa-fw # 065: XDA-Developers xda: @@ -525,7 +525,7 @@ rss: Title: RSS Newtab: true Icon: - Class: fas fa-rss fa-fw + Class: fa-solid fa-rss fa-fw # 067: Kaggle kaggle: @@ -533,4 +533,12 @@ kaggle: Prefix: https://www.kaggle.com/ Title: Kaggle Icon: - Class: fab fa-kaggle fa-fw + Class: fa-brands fa-kaggle fa-fw + +# 068: Discord +discord: + Weight: 68 + Prefix: https://discordapp.com/users/ + Title: Discord + Icon: + Class: fa-brands fa-discord fa-fw diff --git a/assets/js/theme.js b/assets/js/theme.js index ebad56aa..f57a8f11 100644 --- a/assets/js/theme.js +++ b/assets/js/theme.js @@ -271,7 +271,7 @@ class Theme { footer: ({}) => { const { searchType, icon, href } = searchConfig.type === 'algolia' ? { searchType: 'algolia', - icon: '', + icon: '', href: 'https://www.algolia.com/', } : { searchType: 'Lunr.js', @@ -344,20 +344,20 @@ class Theme { $header.className = 'code-header ' + $code.className.toLowerCase(); const $title = document.createElement('span'); $title.classList.add('code-title'); - $title.insertAdjacentHTML('afterbegin', ''); + $title.insertAdjacentHTML('afterbegin', ''); $title.addEventListener('click', () => { $chroma.classList.toggle('open'); }, false); $header.appendChild($title); const $ellipses = document.createElement('span'); - $ellipses.insertAdjacentHTML('afterbegin', ''); + $ellipses.insertAdjacentHTML('afterbegin', ''); $ellipses.classList.add('ellipses'); $ellipses.addEventListener('click', () => { $chroma.classList.add('open'); }, false); $header.appendChild($ellipses); const $copy = document.createElement('span'); - $copy.insertAdjacentHTML('afterbegin', ''); + $copy.insertAdjacentHTML('afterbegin', ''); $copy.classList.add('copy'); const code = $code.innerText; if (this.config.code.maxShownLines < 0 || code.split('\n').length < this.config.code.maxShownLines + 2) $chroma.classList.add('open'); diff --git a/exampleSite/content/about/index.en.md b/exampleSite/content/about/index.en.md index 1b59fb29..81a2fe78 100644 --- a/exampleSite/content/about/index.en.md +++ b/exampleSite/content/about/index.en.md @@ -23,61 +23,61 @@ math: #### Performance and SEO -* :(fas fa-rocket fa-fw): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) -* :(fab fa-searchengin fa-fw): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD -* :(fab fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported -* :(far fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported -* :(fas fa-chart-line fa-fw): **[GoatCounter Analytics](https://www.goatcounter.com/)** supported -* :(fas fa-search fa-fw): Search engine **verification** supported (Google, Bind, Yandex and Baidu) -* :(fas fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported -* :(fas fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) +* :(fa-solid fa-rocket fa-fw): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) +* :(fa-brands fa-searchengin fa-fw): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD +* :(fa-brands fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported +* :(fa-regular fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported +* :(fa-solid fa-chart-line fa-fw): **[GoatCounter Analytics](https://www.goatcounter.com/)** supported +* :(fa-solid fa-search fa-fw): Search engine **verification** supported (Google, Bind, Yandex and Baidu) +* :(fa-solid fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported +* :(fa-solid fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) #### Appearance and Layout -* [:(fas fa-desktop):]/[:(fas fa-mobile):] **Responsive** layout -* [:(fas fa-sun):]/[:(fas fa-moon):] **[Light]/[Dark]** mode -* :(fas fa-layer-group fa-fw): Globally consistent **design language** -* :(fas fa-ellipsis-h fa-fw): **Pagination** supported -* :(far fa-list-alt fa-fw): Easy-to-use and self-expanding **table of contents** -* :(fas fa-language fa-fw): **Multilanguage** supported and i18n ready -* :(fab fa-css3-alt fa-fw): Beautiful **CSS animation** +* [:(fa-solid fa-desktop):]/[:(fa-solid fa-mobile):] **Responsive** layout +* [:(fa-solid fa-sun):]/[:(fa-solid fa-moon):] **[Light]/[Dark]** mode +* :(fa-solid fa-layer-group fa-fw): Globally consistent **design language** +* :(fa-solid fa-ellipsis-h fa-fw): **Pagination** supported +* :(fa-regular fa-list-alt fa-fw): Easy-to-use and self-expanding **table of contents** +* :(fa-solid fa-language fa-fw): **Multilanguage** supported and i18n ready +* :(fa-brands fa-css3-alt fa-fw): Beautiful **CSS animation** #### Social and Comment Systems -* :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com) -* :(fas fa-user-circle fa-fw): Local **Avatar** supported -* :(far fa-id-card fa-fw): Up to **64** social links supported -* :(fas fa-share-square fa-fw): Up to **28** share sites supported -* :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com) -* :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) -* :(far fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/) -* :(fas fa-comments fa-fw): **Vssue** comment system supported by [Vssue](https://vssue.js.org/) -* :(far fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/) -* :(fas fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/) -* :(fas fa-comment-dots fa-fw): **Commento** comment system supported by [Commento](https://commento.io/) -* :(fas fa-comment-alt fa-fw): **Utterances** comment system supported by [Utterances](https://utteranc.es/) +* :(fa-regular fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com) +* :(fa-solid fa-user-circle fa-fw): Local **Avatar** supported +* :(fa-regular fa-id-card fa-fw): Up to **64** social links supported +* :(fa-solid fa-share-square fa-fw): Up to **28** share sites supported +* :(fa-regular fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com) +* :(fa-regular fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) +* :(fa-regular fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/) +* :(fa-solid fa-comments fa-fw): **Vssue** comment system supported by [Vssue](https://vssue.js.org/) +* :(fa-regular fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/) +* :(fa-solid fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/) +* :(fa-solid fa-comment-dots fa-fw): **Commento** comment system supported by [Commento](https://commento.io/) +* :(fa-solid fa-comment-alt fa-fw): **Utterances** comment system supported by [Utterances](https://utteranc.es/) #### Extended Features -* :(fas fa-search fa-fw): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/) -* :(far fa-grin-tongue-wink fa-fw): **Twemoji** supported -* :(fas fa-code fa-fw): Automatically **highlighting** code -* :(far fa-copy fa-fw): **Copy code** to clipboard with one click -* :(far fa-images fa-fw): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) -* :(fab fa-font-awesome fa-fw): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons** -* :(far fa-sticky-note fa-fw): Extended Markdown syntax for **ruby annotation** -* :(fas fa-percentage fa-fw): Extended Markdown syntax for **fraction** -* :(fas fa-square-root-alt fa-fw): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/) -* :(fas fa-project-diagram fa-fw): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid) -* :(fas fa-chart-pie fa-fw): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/) -* :(fas fa-map-marked-alt fa-fw): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) -* :(fas fa-music fa-fw): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS) -* :(fas fa-video fa-fw): **Bilibili player** shortcode -* :(far fa-bell fa-fw): Kinds of **admonitions** shortcode -* :(fas fa-align-left fa-fw): **Custom style** shortcode -* :(fab fa-js-square fa-fw): **Custom script** shortcode -* :(fas fa-i-cursor fa-fw): **Animated typing** supported by [TypeIt](https://typeitjs.com/) -* :(fas fa-cookie-bite fa-fw): **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent) +* :(fa-solid fa-search fa-fw): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/) +* :(fa-regular fa-grin-tongue-wink fa-fw): **Twemoji** supported +* :(fa-solid fa-code fa-fw): Automatically **highlighting** code +* :(fa-regular fa-copy fa-fw): **Copy code** to clipboard with one click +* :(fa-regular fa-images fa-fw): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) +* :(fa-brands fa-font-awesome fa-fw): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons** +* :(fa-regular fa-sticky-note fa-fw): Extended Markdown syntax for **ruby annotation** +* :(fa-solid fa-percentage fa-fw): Extended Markdown syntax for **fraction** +* :(fa-solid fa-square-root-alt fa-fw): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/) +* :(fa-solid fa-project-diagram fa-fw): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid) +* :(fa-solid fa-chart-pie fa-fw): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/) +* :(fa-solid fa-map-marked-alt fa-fw): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) +* :(fa-solid fa-music fa-fw): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS) +* :(fa-solid fa-video fa-fw): **Bilibili player** shortcode +* :(fa-regular fa-bell fa-fw): Kinds of **admonitions** shortcode +* :(fa-solid fa-align-left fa-fw): **Custom style** shortcode +* :(fa-brands fa-js-square fa-fw): **Custom script** shortcode +* :(fa-solid fa-i-cursor fa-fw): **Animated typing** supported by [TypeIt](https://typeitjs.com/) +* :(fa-solid fa-cookie-bite fa-fw): **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent) * ... ### License diff --git a/exampleSite/content/about/index.fr.md b/exampleSite/content/about/index.fr.md index 28de9f6c..0ab8eafb 100644 --- a/exampleSite/content/about/index.fr.md +++ b/exampleSite/content/about/index.fr.md @@ -19,7 +19,7 @@ math: {{< admonition warning >}} Sorry, this article has not been completely translated into **French**. -Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/khusika/FeelIt/pulls) to the theme! +Welcome to take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/khusika/FeelIt/pulls) to the theme! {{< /admonition >}} ![Hugo Theme FeelIt](/images/Apple-Devices-Preview.webp "Hugo Theme FeelIt") @@ -28,60 +28,60 @@ Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw #### Performance and SEO -* :(fas fa-rocket fa-fw): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) -* :(fab fa-searchengin fa-fw): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD -* :(fab fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported -* :(far fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported -* :(fas fa-chart-line fa-fw): **[GoatCounter Analytics](https://www.goatcounter.com/)** supported -* :(fas fa-search fa-fw): Search engine **verification** supported (Google, Bind, Yandex and Baidu) -* :(fas fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported -* :(fas fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) +* :(fa-solid fa-rocket fa-fw): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) +* :(fa-brands fa-searchengin fa-fw): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD +* :(fa-brands fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported +* :(fa-regular fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported +* :(fa-solid fa-chart-line fa-fw): **[GoatCounter Analytics](https://www.goatcounter.com/)** supported +* :(fa-solid fa-search fa-fw): Search engine **verification** supported (Google, Bind, Yandex and Baidu) +* :(fa-solid fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported +* :(fa-solid fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) #### Appearance and Layout -* [:(fas fa-desktop):]/[:(fas fa-mobile):] **Responsive** layout -* [:(fas fa-sun):]/[:(fas fa-moon):] **[Light]/[Dark]** mode -* :(fas fa-layer-group fa-fw): Globally consistent **design language** -* :(fas fa-ellipsis-h fa-fw): **Pagination** supported -* :(far fa-list-alt fa-fw): Easy-to-use and self-expanding **table of contents** -* :(fas fa-language fa-fw): **Multilanguage** supported and i18n ready -* :(fab fa-css3-alt fa-fw): Beautiful **CSS animation** +* [:(fa-solid fa-desktop):]/[:(fa-solid fa-mobile):] **Responsive** layout +* [:(fa-solid fa-sun):]/[:(fa-solid fa-moon):] **[Light]/[Dark]** mode +* :(fa-solid fa-layer-group fa-fw): Globally consistent **design language** +* :(fa-solid fa-ellipsis-h fa-fw): **Pagination** supported +* :(fa-regular fa-list-alt fa-fw): Easy-to-use and self-expanding **table of contents** +* :(fa-solid fa-language fa-fw): **Multilanguage** supported and i18n ready +* :(fa-brands fa-css3-alt fa-fw): Beautiful **CSS animation** #### Social and Comment Systems -* :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com) -* :(fas fa-user-circle fa-fw): Local **Avatar** supported -* :(far fa-id-card fa-fw): Up to **64** social links supported -* :(fas fa-share-square fa-fw): Up to **28** share sites supported -* :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com) -* :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) -* :(far fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/) -* :(far fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/) -* :(fas fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/) -* :(fas fa-comment-dots fa-fw): **Commento** comment system supported by [Commento](https://commento.io/) -* :(fas fa-comment-alt fa-fw): **Utterances** comment system supported by [Utterances](https://utteranc.es/) +* :(fa-regular fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com) +* :(fa-solid fa-user-circle fa-fw): Local **Avatar** supported +* :(fa-regular fa-id-card fa-fw): Up to **64** social links supported +* :(fa-solid fa-share-square fa-fw): Up to **28** share sites supported +* :(fa-regular fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com) +* :(fa-regular fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) +* :(fa-regular fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/) +* :(fa-regular fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/) +* :(fa-solid fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/) +* :(fa-solid fa-comment-dots fa-fw): **Commento** comment system supported by [Commento](https://commento.io/) +* :(fa-solid fa-comment-alt fa-fw): **Utterances** comment system supported by [Utterances](https://utteranc.es/) #### Extended Features -* :(fas fa-search fa-fw): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/) -* :(far fa-grin-tongue-wink fa-fw): **Twemoji** supported -* :(fas fa-code fa-fw): Automatically **highlighting** code -* :(far fa-copy fa-fw): **Copy code** to clipboard with one click -* :(far fa-images fa-fw): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) -* :(fab fa-font-awesome fa-fw): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons** -* :(far fa-sticky-note fa-fw): Extended Markdown syntax for **ruby annotation** -* :(fas fa-percentage fa-fw): Extended Markdown syntax for **fraction** -* :(fas fa-square-root-alt fa-fw): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/) -* :(fas fa-project-diagram fa-fw): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid) -* :(fas fa-chart-pie fa-fw): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/) -* :(fas fa-map-marked-alt fa-fw): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) -* :(fas fa-music fa-fw): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS) -* :(fas fa-video fa-fw): **Bilibili player** shortcode -* :(far fa-bell fa-fw): Kinds of **admonitions** shortcode -* :(fas fa-align-left fa-fw): **Custom style** shortcode -* :(fab fa-js-square fa-fw): **Custom script** shortcode -* :(fas fa-i-cursor fa-fw): **Animated typing** supported by [TypeIt](https://typeitjs.com/) -* :(fas fa-cookie-bite fa-fw): **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent) +* :(fa-solid fa-search fa-fw): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/) +* :(fa-regular fa-grin-tongue-wink fa-fw): **Twemoji** supported +* :(fa-solid fa-code fa-fw): Automatically **highlighting** code +* :(fa-regular fa-copy fa-fw): **Copy code** to clipboard with one click +* :(fa-regular fa-images fa-fw): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) +* :(fa-brands fa-font-awesome fa-fw): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons** +* :(fa-regular fa-sticky-note fa-fw): Extended Markdown syntax for **ruby annotation** +* :(fa-solid fa-percentage fa-fw): Extended Markdown syntax for **fraction** +* :(fa-solid fa-square-root-alt fa-fw): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/) +* :(fa-solid fa-project-diagram fa-fw): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid) +* :(fa-solid fa-chart-pie fa-fw): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/) +* :(fa-solid fa-map-marked-alt fa-fw): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) +* :(fa-solid fa-music fa-fw): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS) +* :(fa-solid fa-video fa-fw): **Bilibili player** shortcode +* :(fa-regular fa-bell fa-fw): Kinds of **admonitions** shortcode +* :(fa-solid fa-align-left fa-fw): **Custom style** shortcode +* :(fa-brands fa-js-square fa-fw): **Custom script** shortcode +* :(fa-solid fa-i-cursor fa-fw): **Animated typing** supported by [TypeIt](https://typeitjs.com/) +* :(fa-solid fa-cookie-bite fa-fw): **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent) * ... ### License diff --git a/exampleSite/content/about/index.zh-cn.md b/exampleSite/content/about/index.zh-cn.md index 8986d490..4521456d 100644 --- a/exampleSite/content/about/index.zh-cn.md +++ b/exampleSite/content/about/index.zh-cn.md @@ -23,61 +23,61 @@ math: #### 性能和 SEO -* :(fas fa-rocket fa-fw): **性能**优化:在 [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) 中, [99]/[100] 的移动设备得分和 [100]/[100] 的桌面设备得分 -* :(fab fa-searchengin fa-fw): 使用基于 JSON-LD 格式 的 **SEO SCHEMA** 文件进行 SEO 优化 -* :(fab fa-google fa-fw): 支持 **[Google Analytics](https://analytics.google.com/analytics)** -* :(far fa-chart-bar fa-fw): 支持 **[Fathom Analytics](https://usefathom.com/)** -* :(fas fa-chart-line fa-fw): 支持 **[GoatCounter Analytics](https://www.goatcounter.com/)** -* :(fas fa-search fa-fw): 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu) -* :(fas fa-tachometer-alt fa-fw): 支持所有第三方库的 **CDN** -* :(fas fa-cloud-download-alt fa-fw): 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载** +* :(fa-solid fa-rocket fa-fw): **性能**优化:在 [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) 中, [99]/[100] 的移动设备得分和 [100]/[100] 的桌面设备得分 +* :(fa-brands fa-searchengin fa-fw): 使用基于 JSON-LD 格式 的 **SEO SCHEMA** 文件进行 SEO 优化 +* :(fa-brands fa-google fa-fw): 支持 **[Google Analytics](https://analytics.google.com/analytics)** +* :(fa-regular fa-chart-bar fa-fw): 支持 **[Fathom Analytics](https://usefathom.com/)** +* :(fa-solid fa-chart-line fa-fw): 支持 **[GoatCounter Analytics](https://www.goatcounter.com/)** +* :(fa-solid fa-search fa-fw): 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu) +* :(fa-solid fa-tachometer-alt fa-fw): 支持所有第三方库的 **CDN** +* :(fa-solid fa-cloud-download-alt fa-fw): 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载** #### 外观和布局 -* [:(fas fa-desktop):]/[:(fas fa-mobile):] **响应式**布局 -* [:(fas fa-sun):]/[:(fas fa-moon):] **[浅色]/[深色]** 主题模式 -* :(fas fa-layer-group fa-fw): 全局一致的**设计语言** -* :(fas fa-ellipsis-h fa-fw): 支持**分页** -* :(far fa-list-alt fa-fw): 易用和自动展开的**文章目录** -* :(fas fa-language fa-fw): 支持**多语言**和国际化 -* :(fab fa-css3-alt fa-fw): 美观的 **CSS 动画** +* [:(fa-solid fa-desktop):]/[:(fa-solid fa-mobile):] **响应式**布局 +* [:(fa-solid fa-sun):]/[:(fa-solid fa-moon):] **[浅色]/[深色]** 主题模式 +* :(fa-solid fa-layer-group fa-fw): 全局一致的**设计语言** +* :(fa-solid fa-ellipsis-h fa-fw): 支持**分页** +* :(fa-regular fa-list-alt fa-fw): 易用和自动展开的**文章目录** +* :(fa-solid fa-language fa-fw): 支持**多语言**和国际化 +* :(fa-brands fa-css3-alt fa-fw): 美观的 **CSS 动画** #### 社交和评论系统 -* :(far fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像 -* :(fas fa-user-circle fa-fw): 支持本地**头像** -* :(far fa-id-card fa-fw): 支持多达 **64** 种社交链接 -* :(fas fa-share-square fa-fw): 支持多达 **28** 种网站分享 -* :(far fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统 -* :(far fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统 -* :(far fa-comment-alt fa-fw): 支持 **[Valine](https://valine.js.org/)** 评论系统 -* :(fas fa-comments fa-fw): 支持 **[Vssue](https://vssue.js.org/)** 评论系统 -* :(far fa-comments fa-fw): 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统 -* :(fas fa-comment fa-fw): 支持 **[Telegram comments](https://comments.app/) 评论**系统 -* :(fas fa-comment-dots fa-fw): 支持 **[Commento](https://commento.io/)** 评论系统 -* :(far fa-comment-alt fa-fw): 支持 **[Utterances](https://utteranc.es/)** 评论系统 +* :(fa-regular fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像 +* :(fa-solid fa-user-circle fa-fw): 支持本地**头像** +* :(fa-regular fa-id-card fa-fw): 支持多达 **64** 种社交链接 +* :(fa-solid fa-share-square fa-fw): 支持多达 **28** 种网站分享 +* :(fa-regular fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统 +* :(fa-regular fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统 +* :(fa-regular fa-comment-alt fa-fw): 支持 **[Valine](https://valine.js.org/)** 评论系统 +* :(fa-solid fa-comments fa-fw): 支持 **[Vssue](https://vssue.js.org/)** 评论系统 +* :(fa-regular fa-comments fa-fw): 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统 +* :(fa-solid fa-comment fa-fw): 支持 **[Telegram comments](https://comments.app/) 评论**系统 +* :(fa-solid fa-comment-dots fa-fw): 支持 **[Commento](https://commento.io/)** 评论系统 +* :(fa-regular fa-comment-alt fa-fw): 支持 **[Utterances](https://utteranc.es/)** 评论系统 #### 扩展功能 -* :(fas fa-search fa-fw): 支持基于 [Lunr.js](https://lunrjs.com/) 或 [algolia](https://www.algolia.com/) 的**搜索** -* :(far fa-grin-tongue-wink fa-fw): 支持 **Twemoji** -* :(fas fa-code fa-fw): 支持**代码高亮** -* :(far fa-copy fa-fw): 一键**复制代码**到剪贴板 -* :(far fa-images fa-fw): 支持基于 [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) 的**图片画廊** -* :(fab fa-font-awesome fa-fw): 支持 **[Font Awesome](https://fontawesome.com/) 图标**的扩展 Markdown 语法 -* :(far fa-sticky-note fa-fw): 支持**上标注释**的扩展 Markdown 语法 -* :(fas fa-percentage fa-fw): 支持**分数**的扩展 Markdown 语法 -* :(fas fa-square-root-alt fa-fw): 支持基于 [$ \KaTeX $](https://katex.org/) 的**数学公式** -* :(fas fa-project-diagram fa-fw): 支持基于 [mermaid](https://github.com/knsv/mermaid) 的**图表** shortcode -* :(fas fa-chart-pie fa-fw): 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化** shortcode -* :(fas fa-map-marked-alt fa-fw): 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** shortcode -* :(fas fa-music fa-fw): 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的**音乐播放器** shortcode -* :(fas fa-video fa-fw): 支持 **Bilibili 视频** shortcode -* :(far fa-bell fa-fw): 支持多种**注释**的 shortcode -* :(fas fa-align-left fa-fw): 支持**自定义样式**的 shortcode -* :(fab fa-js-square fa-fw): 支持**自定义脚本**的 shortcode -* :(fas fa-i-cursor fa-fw): 支持基于 [TypeIt](https://typeitjs.com/) 的**打字动画** shortcode -* :(fas fa-cookie-bite fa-fw): 支持基于 [cookieconsent](https://github.com/osano/cookieconsent) 的 **Cookie 许可横幅** +* :(fa-solid fa-search fa-fw): 支持基于 [Lunr.js](https://lunrjs.com/) 或 [algolia](https://www.algolia.com/) 的**搜索** +* :(fa-regular fa-grin-tongue-wink fa-fw): 支持 **Twemoji** +* :(fa-solid fa-code fa-fw): 支持**代码高亮** +* :(fa-regular fa-copy fa-fw): 一键**复制代码**到剪贴板 +* :(fa-regular fa-images fa-fw): 支持基于 [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) 的**图片画廊** +* :(fa-brands fa-font-awesome fa-fw): 支持 **[Font Awesome](https://fontawesome.com/) 图标**的扩展 Markdown 语法 +* :(fa-regular fa-sticky-note fa-fw): 支持**上标注释**的扩展 Markdown 语法 +* :(fa-solid fa-percentage fa-fw): 支持**分数**的扩展 Markdown 语法 +* :(fa-solid fa-square-root-alt fa-fw): 支持基于 [$ \KaTeX $](https://katex.org/) 的**数学公式** +* :(fa-solid fa-project-diagram fa-fw): 支持基于 [mermaid](https://github.com/knsv/mermaid) 的**图表** shortcode +* :(fa-solid fa-chart-pie fa-fw): 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化** shortcode +* :(fa-solid fa-map-marked-alt fa-fw): 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** shortcode +* :(fa-solid fa-music fa-fw): 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的**音乐播放器** shortcode +* :(fa-solid fa-video fa-fw): 支持 **Bilibili 视频** shortcode +* :(fa-regular fa-bell fa-fw): 支持多种**注释**的 shortcode +* :(fa-solid fa-align-left fa-fw): 支持**自定义样式**的 shortcode +* :(fa-brands fa-js-square fa-fw): 支持**自定义脚本**的 shortcode +* :(fa-solid fa-i-cursor fa-fw): 支持基于 [TypeIt](https://typeitjs.com/) 的**打字动画** shortcode +* :(fa-solid fa-cookie-bite fa-fw): 支持基于 [cookieconsent](https://github.com/osano/cookieconsent) 的 **Cookie 许可横幅** * ... ### 许可协议 diff --git a/exampleSite/content/posts/basic-markdown-syntax/index.en.md b/exampleSite/content/posts/basic-markdown-syntax/index.en.md index a434a2aa..4dce6d9b 100644 --- a/exampleSite/content/posts/basic-markdown-syntax/index.en.md +++ b/exampleSite/content/posts/basic-markdown-syntax/index.en.md @@ -55,7 +55,7 @@ John Gruber, the author of Markdown, puts it like this: Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like! {{< admonition tip >}} -:(far fa-bookmark fa-fw): Bookmark this page for easy future reference! +:(fa-regular fa-bookmark fa-fw): Bookmark this page for easy future reference! {{< /admonition >}} ## 1 Headings diff --git a/exampleSite/content/posts/basic-markdown-syntax/index.fr.md b/exampleSite/content/posts/basic-markdown-syntax/index.fr.md index cd0a411d..806e225a 100644 --- a/exampleSite/content/posts/basic-markdown-syntax/index.fr.md +++ b/exampleSite/content/posts/basic-markdown-syntax/index.fr.md @@ -25,7 +25,7 @@ Cet article propose un exemple de syntaxe Markdown de base qui peut être utilis {{< admonition warning >}} Sorry, this article has not been completely translated into **French**. -Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/FeelIt/pulls) to the theme! +Welcome to take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/FeelIt/pulls) to the theme! {{< /admonition >}} {{< admonition >}} @@ -60,7 +60,7 @@ John Gruber, the author of Markdown, puts it like this: Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like! {{< admonition tip >}} -:(far fa-bookmark fa-fw): Bookmark this page for easy future reference! +:(fa-regular fa-bookmark fa-fw): Bookmark this page for easy future reference! {{< /admonition >}} ## 1 Headings diff --git a/exampleSite/content/posts/basic-markdown-syntax/index.zh-cn.md b/exampleSite/content/posts/basic-markdown-syntax/index.zh-cn.md index eb0520b2..21bdae78 100644 --- a/exampleSite/content/posts/basic-markdown-syntax/index.zh-cn.md +++ b/exampleSite/content/posts/basic-markdown-syntax/index.zh-cn.md @@ -55,7 +55,7 @@ John Gruber, Markdown 的作者如是说: 话不多说, 我们来回顾一下 Markdown 的主要语法以及生成的 HTML 样式! {{< admonition tip >}} -:(far fa-bookmark fa-fw): 将此页保存为书签,以备将来参考! +:(fa-regular fa-bookmark fa-fw): 将此页保存为书签,以备将来参考! {{< /admonition >}} ## 1 标题 diff --git a/exampleSite/content/posts/emoji-support/index.fr.md b/exampleSite/content/posts/emoji-support/index.fr.md index 9c23d1fd..d480be34 100644 --- a/exampleSite/content/posts/emoji-support/index.fr.md +++ b/exampleSite/content/posts/emoji-support/index.fr.md @@ -25,7 +25,7 @@ Emoji peut être activé dans un projet Hugo de plusieurs façons. {{< admonition warning >}} Sorry, this article has not been completely translated into **French**. -Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/FeelIt/pulls) to the theme! +Welcome to take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/FeelIt/pulls) to the theme! {{< /admonition >}} The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates#inline-shortcodes). diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index 6ba8c524..8cc150f0 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -30,14 +30,14 @@ Discover what the Hugo - **FeelIt** theme is all about and the core-concepts beh Thanks to the simplicity of Hugo, [Hugo](https://gohugo.io/) is the only dependency of this theme. -Just install latest version of [:(far fa-file-archive fa-fw): Hugo (> 0.110.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**). +Just install latest version of [:(fa-regular fa-file-archive fa-fw): Hugo (> 0.110.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**). {{< admonition note "Why not support earlier versions of Hugo?" >}} Since [Markdown Render Hooks](https://gohugo.io/getting-started/configuration-markup#markdown-render-hooks) were introduced in [Hugo Christmas Edition](https://gohugo.io/news/0.62.0-relnotes/), and some image sources are using webp which was introduced in [0.84.0](https://github.com/gohugoio/hugo/releases/tag/v0.84.0) and also we changed [config.toml to hugo.toml](https://github.com/khusika/FeelIt/commit/f965cb91df2b2e90e667e3cf152fffd73d885906), this theme only supports Hugo versions above **0.110.0**. {{< /admonition >}} {{< admonition tip "Hugo extended version is recommended" >}} -Since some features of this theme need to processes :(fab fa-sass fa-fw): SCSS to :(fab fa-css3 fa-fw): CSS, it is recommended to use Hugo **extended** version for better experience. +Since some features of this theme need to processes :(fa-brands fa-sass fa-fw): SCSS to :(fa-brands fa-css3 fa-fw): CSS, it is recommended to use Hugo **extended** version for better experience. {{< /admonition >}} ## 2 Installation @@ -57,7 +57,7 @@ cd my_website The **FeelIt** theme’s repository is: [https://github.com/khusika/FeelIt](https://github.com/khusika/FeelIt). -You can download the [latest release :(far fa-file-archive fa-fw): .zip file](https://github.com/khusika/FeelIt/releases) of the theme and extract it in the `themes` directory. +You can download the [latest release :(fa-regular fa-file-archive fa-fw): .zip file](https://github.com/khusika/FeelIt/releases) of the theme and extract it in the `themes` directory. Alternatively, clone this repository to the `themes` directory: @@ -192,7 +192,7 @@ Alternatively, you can use [AWS Amplify](https://gohugo.io/hosting-and-deploymen In addition to [Hugo global configuration](https://gohugo.io/overview/configuration/) and [menu configuration](#basic-configuration), **FeelIt** lets you define the following parameters in your site configuration (here is a `hugo.toml`, whose values are default). -Please open the code block below to view the complete sample configuration :(far fa-hand-point-down fa-fw):: +Please open the code block below to view the complete sample configuration :(fa-regular fa-hand-point-down fa-fw):: ```toml [params] @@ -331,16 +331,16 @@ Please open the code block below to view the complete sample configuration :(far description = "[FeelIt](https://github.com/khusika/FeelIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Khusika](https://khusika.dev). It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt), [LeaveIt Theme](https://github.com/liuzc/LeaveIt), and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt)." # description of your status [[params.about.status]] - faIcon = "fas fa-building" + faIcon = "fa-solid fa-building" title = "Company" desc = "FeelIt" [[params.about.status]] - faIcon = "fas fa-briefcase fa-fw" + faIcon = "fa-solid fa-briefcase fa-fw" title = "Occupation" desc = "Freelancer" [[params.about.status]] title = "Location" - faIcon = "fas fa-map-marker-alt" + faIcon = "fa-solid fa-map-marker-alt" desc = "Earth" # description of your parameter [[params.about.parameter]] @@ -463,6 +463,7 @@ Please open the code block below to view the complete sample configuration :(far Resume = "" #goo.gl id {{< version 1.0.0 >}} xda = "" {{< version 1.0.2 >}} RSS = true # {{< version 0.2.0 >}} + discord = "" {{< version 1.0.2 >}} # {{< version 0.2.0 changed >}} Page config [params.page] @@ -919,22 +920,22 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s | Language | Hugo Code | HTML `lang` Attribute | Theme Docs | Lunr.js Support | |:-------------------- |:---------:|:---------------------:|:-----------------------------:|:-----------------------------:| -| German | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| English | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | -| Spanish | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| French | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Indonesian | `id` | `id` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Italian | `it` | `it` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| Brazilian Portuguese | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Romanian | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Russian | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Serbian | `sr` | `sr` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| Vietnamese | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | -| Hungarian | `hu` | `hu` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| Czech | `cs` | `cs` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| Persian | `fa` | `fa` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | +| German | `de` | `de` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| English | `en` | `en` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Spanish | `es` | `es` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| French | `fr` | `fr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Indonesian | `id` | `id` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Italian | `it` | `it` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Polish | `pl` | `pl` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| Brazilian Portuguese | `pt-br` | `pt-BR` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Romanian | `ro` | `ro` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Russian | `ru` | `ru` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Serbian | `sr` | `sr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| Vietnamese | `vi` | `vi` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Simplified Chinese | `zh-cn` | `zh-CN` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Hungarian | `hu` | `hu` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| Czech | `cs` | `cs` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| Persian | `fa` | `fa` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | ### 4.2 Basic Configuration @@ -1063,7 +1064,7 @@ Translations strings are used for common default values used in the theme. Trans To override these values, create a new file in your local i18n folder `i18n/.toml` and inspire yourself from `themes/FeelIt/i18n/en.toml`. -By the way, as these translations could be used by other people, please take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/khusika/FeelIt/pulls) to the theme! +By the way, as these translations could be used by other people, please take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/khusika/FeelIt/pulls) to the theme! ## 5 Search diff --git a/exampleSite/content/posts/theme-documentation-basics/index.fr.md b/exampleSite/content/posts/theme-documentation-basics/index.fr.md index 6f7ff57f..94091628 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.fr.md @@ -28,21 +28,21 @@ Découvrez en quoi consiste le thème Hugo - **FeelIt** et les concepts fondamen {{< admonition warning >}} Sorry, this article has not been completely translated into **French**. -Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/khusika/FeelIt/pulls) to the theme! +Welcome to take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/khusika/FeelIt/pulls) to the theme! {{< /admonition >}} ## 1 Requirements Thanks to the simplicity of Hugo, [Hugo](https://gohugo.io/) is the only dependency of this theme. -Just install latest version of [:(far fa-file-archive fa-fw): Hugo (> 0.110.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**). +Just install latest version of [:(fa-regular fa-file-archive fa-fw): Hugo (> 0.110.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**). {{< admonition note "Why not support earlier versions of Hugo?" >}} Since [Markdown Render Hooks](https://gohugo.io/getting-started/configuration-markup#markdown-render-hooks) were introduced in [Hugo Christmas Edition](https://gohugo.io/news/0.62.0-relnotes/), and some image sources are using webp which was introduced in [0.84.0](https://github.com/gohugoio/hugo/releases/tag/v0.84.0) and also we changed [config.toml to hugo.toml](https://github.com/khusika/FeelIt/commit/f965cb91df2b2e90e667e3cf152fffd73d885906), this theme only supports Hugo versions above **0.110.0**. {{< /admonition >}} {{< admonition tip "Hugo extended version is recommended" >}} -Since some features of this theme need to processes :(fab fa-sass fa-fw): SCSS to :(fab fa-css3 fa-fw): CSS, it is recommended to use Hugo **extended** version for better experience. +Since some features of this theme need to processes :(fa-brands fa-sass fa-fw): SCSS to :(fa-brands fa-css3 fa-fw): CSS, it is recommended to use Hugo **extended** version for better experience. {{< /admonition >}} ## 2 Installation @@ -62,7 +62,7 @@ cd my_website The **FeelIt** theme’s repository is: [https://github.com/khusika/FeelIt](https://github.com/khusika/FeelIt). -You can download the [latest release :(far fa-file-archive fa-fw): .zip file](https://github.com/khusika/FeelIt/releases) of the theme and extract it in the `themes` directory. +You can download the [latest release :(fa-regular fa-file-archive fa-fw): .zip file](https://github.com/khusika/FeelIt/releases) of the theme and extract it in the `themes` directory. Alternatively, clone this repository to the `themes` directory: @@ -197,7 +197,7 @@ Alternatively, you can use [AWS Amplify](https://gohugo.io/hosting-and-deploymen In addition to [Hugo global configuration](https://gohugo.io/overview/configuration/) and [menu configuration](#basic-configuration), **FeelIt** lets you define the following parameters in your site configuration (here is a `hugo.toml`, whose values are default). -Please open the code block below to view the complete sample configuration :(far fa-hand-point-down fa-fw):: +Please open the code block below to view the complete sample configuration :(fa-regular fa-hand-point-down fa-fw):: ```toml [params] @@ -336,16 +336,16 @@ Please open the code block below to view the complete sample configuration :(far description = "[FeelIt](https://github.com/khusika/FeelIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Khusika](https://khusika.dev). It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt), [LeaveIt Theme](https://github.com/liuzc/LeaveIt), and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt)." # description of your status [[params.about.status]] - faIcon = "fas fa-building" + faIcon = "fa-solid fa-building" title = "Compagnie" desc = "FeelIt" [[params.about.status]] - faIcon = "fas fa-briefcase fa-fw" + faIcon = "fa-solid fa-briefcase fa-fw" title = "Occupation" desc = "Indépendant" [[params.about.status]] title = "Lieu" - faIcon = "fas fa-map-marker-alt" + faIcon = "fa-solid fa-map-marker-alt" desc = "Terre" # description of your parameter [[params.about.parameter]] @@ -468,6 +468,7 @@ Please open the code block below to view the complete sample configuration :(far Resume = "" #goo.gl id {{< version 1.0.0 >}} xda = "" {{< version 1.0.2 >}} RSS = true # {{< version 0.2.0 >}} + discord = "" {{< version 1.0.2 >}} # {{< version 0.2.0 changed >}} Page config [params.page] @@ -924,22 +925,22 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s | Language | Hugo Code | HTML `lang` Attribute | Theme Docs | Lunr.js Support | |:-------------------- |:---------:|:---------------------:|:-----------------------------:|:-----------------------------:| -| German | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| English | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | -| Spanish | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| French | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Indonesian | `id` | `id` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Italian | `it` | `it` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| Brazilian Portuguese | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Romanian | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Russian | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Serbian | `sr` | `sr` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| Vietnamese | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | -| Hungarian | `hu` | `hu` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| Czech | `cs` | `cs` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| Persian | `fa` | `fa` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | +| German | `de` | `de` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| English | `en` | `en` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Spanish | `es` | `es` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| French | `fr` | `fr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Indonesian | `id` | `id` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Italian | `it` | `it` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Polish | `pl` | `pl` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| Brazilian Portuguese | `pt-br` | `pt-BR` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Romanian | `ro` | `ro` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Russian | `ru` | `ru` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Serbian | `sr` | `sr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| Vietnamese | `vi` | `vi` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Simplified Chinese | `zh-cn` | `zh-CN` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| Hungarian | `hu` | `hu` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| Czech | `cs` | `cs` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| Persian | `fa` | `fa` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | ### 4.2 Basic Configuration @@ -1068,7 +1069,7 @@ Translations strings are used for common default values used in the theme. Trans To override these values, create a new file in your local i18n folder `i18n/.toml` and inspire yourself from `themes/FeelIt/i18n/en.toml`. -By the way, as these translations could be used by other people, please take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/khusika/FeelIt/pulls) to the theme! +By the way, as these translations could be used by other people, please take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/khusika/FeelIt/pulls) to the theme! ## 5 Search diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index a1f637d7..cbabf743 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -30,14 +30,14 @@ toc: 由于 Hugo 提供的便利性, [Hugo](https://gohugo.io/) 本身是这个主题唯一的依赖. -直接安装满足你操作系统 (**Windows**, **Linux**, **macOS**) 的最新版本 [:(far fa-file-archive fa-fw): Hugo (> 0.110.0)](https://gohugo.io/getting-started/installing/). +直接安装满足你操作系统 (**Windows**, **Linux**, **macOS**) 的最新版本 [:(fa-regular fa-file-archive fa-fw): Hugo (> 0.110.0)](https://gohugo.io/getting-started/installing/). {{< admonition note "为什么不支持早期版本的 Hugo?" >}} Since [Markdown Render Hooks](https://gohugo.io/getting-started/configuration-markup#markdown-render-hooks) were introduced in [Hugo Christmas Edition](https://gohugo.io/news/0.62.0-relnotes/), and some image sources are using webp which was introduced in [0.84.0](https://github.com/gohugoio/hugo/releases/tag/v0.84.0) and also we changed config.toml to hugo.toml, this theme only supports Hugo versions above **0.110.0**. {{< /admonition >}} {{< admonition tip "推荐使用 Hugo extended 版本" >}} -由于这个主题的一些特性需要将 :(fab fa-sass fa-fw): SCSS 转换为 :(fab fa-css3 fa-fw): CSS, 推荐使用 Hugo **extended** 版本来获得更好的使用体验. +由于这个主题的一些特性需要将 :(fa-brands fa-sass fa-fw): SCSS 转换为 :(fa-brands fa-css3 fa-fw): CSS, 推荐使用 Hugo **extended** 版本来获得更好的使用体验. {{< /admonition >}} ## 2 安装 @@ -57,7 +57,7 @@ cd my_website **FeelIt** 主题的仓库是: [https://github.com/khusika/FeelIt](https://github.com/khusika/FeelIt). -你可以下载主题的 [最新版本 :(far fa-file-archive fa-fw): .zip 文件](https://github.com/khusika/FeelIt/releases) 并且解压放到 `themes` 目录. +你可以下载主题的 [最新版本 :(fa-regular fa-file-archive fa-fw): .zip 文件](https://github.com/khusika/FeelIt/releases) 并且解压放到 `themes` 目录. 另外, 也可以直接把这个主题克隆到 `themes` 目录: @@ -195,7 +195,7 @@ hugo 除了 [Hugo 全局配置](https://gohugo.io/overview/configuration/) 和 [菜单配置](#basic-configuration) 之外, **FeelIt** 主题还允许您在网站配置中定义以下参数 (这是一个示例 `hugo.toml`, 其内容为默认值). -请打开下面的代码块查看完整的示例配置 :(far fa-hand-point-down fa-fw):: +请打开下面的代码块查看完整的示例配置 :(fa-regular fa-hand-point-down fa-fw):: ```toml [params] @@ -335,16 +335,16 @@ hugo description = "[FeelIt](https://github.com/khusika/FeelIt) 是一个由 [Khusika](https://khusika.dev) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。 它的原型基于 [LoveIt 主题](https://github.com/dillonzq/LoveIt), [LeaveIt 主题](https://github.com/liuzc/LeaveIt), 和 [KeepIt 主题](https://github.com/Fastbyte01/KeepIt)。" # 你的状态描述 [[params.about.status]] - faIcon = "fas fa-building" + faIcon = "fa-solid fa-building" title = "公司" desc = "FeelIt" [[params.about.status]] - faIcon = "fas fa-briefcase fa-fw" + faIcon = "fa-solid fa-briefcase fa-fw" title = "职业" desc = "自由职业者" [[params.about.status]] title = "地点" - faIcon = "fas fa-map-marker-alt" + faIcon = "fa-solid fa-map-marker-alt" desc = "地球" # 参数说明 [[params.about.parameter]] @@ -467,6 +467,7 @@ hugo Resume = "" #goo.gl id {{< version 1.0.0 >}} xda = "" {{< version 1.0.2 >}} RSS = true # {{< version 0.2.0 >}} + discord = "" {{< version 1.0.2 >}} # {{< version 0.2.0 changed >}} 文章页面配置 [params.page] @@ -926,20 +927,20 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac | 语言 | Hugo 代码 | HTML `lang` 属性 | 主题文档 | Lunr.js 支持 | |:---- |:----:|:----:|:----:|:----:| -| 德语 | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 英语 | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | -| 西班牙语 | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 法语 | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 印度尼西亚 | `id` | `id` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 意大利语 | `it` | `it` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 波兰语 | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| 巴西葡萄牙语 | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 罗马尼亚语 | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 俄语 | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 塞尔维亚语 | `sr` | `sr` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | -| 越南语 | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | -| 简体中文 | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | -| 波斯语 | `fa` | `fa` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | +| 德语 | `de` | `de` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 英语 | `en` | `en` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 西班牙语 | `es` | `es` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 法语 | `fr` | `fr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 印度尼西亚 | `id` | `id` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 意大利语 | `it` | `it` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 波兰语 | `pl` | `pl` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| 巴西葡萄牙语 | `pt-br` | `pt-BR` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 罗马尼亚语 | `ro` | `ro` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 俄语 | `ru` | `ru` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 塞尔维亚语 | `sr` | `sr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | +| 越南语 | `vi` | `vi` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 简体中文 | `zh-cn` | `zh-CN` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): | +| 波斯语 | `fa` | `fa` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): | ### 4.2 基本配置 @@ -1069,7 +1070,7 @@ defaultContentLanguage = "zh-cn" 要覆盖默认值, 请在你项目的 i18n 目录 `i18n/.toml` 中创建一个新文件,并从 `themes/FeelIt/i18n/en.toml` 中获得提示. -另外, 由于你的翻译可能会帮助到其他人, 请花点时间通过 [:(fas fa-code-branch fa-fw): 创建一个 PR](https://github.com/khusika/FeelIt/pulls) 来贡献主题翻译, 谢谢! +另外, 由于你的翻译可能会帮助到其他人, 请花点时间通过 [:(fa-solid fa-code-branch fa-fw): 创建一个 PR](https://github.com/khusika/FeelIt/pulls) 来贡献主题翻译, 谢谢! ## 5 搜索 diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.fr.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.fr.md index 195f4e00..7491afb0 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.fr.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.fr.md @@ -25,7 +25,7 @@ lightgallery: true {{< admonition warning >}} Sorry, this article has not been completely translated into **French**. -Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/LoveIt/pulls) to the theme! +Welcome to take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/LoveIt/pulls) to the theme! {{< /admonition >}} Hugo uses Markdown for its simple content format. However, there are a lot of things that Markdown doesn’t support well. You could use pure HTML to expand possibilities. diff --git a/exampleSite/content/posts/theme-documentation-content/index.en.md b/exampleSite/content/posts/theme-documentation-content/index.en.md index 13bc8a49..73873a2d 100644 --- a/exampleSite/content/posts/theme-documentation-content/index.en.md +++ b/exampleSite/content/posts/theme-documentation-content/index.en.md @@ -55,7 +55,7 @@ such as **links**, **images**, `image` shortcode, `music` shortcode and some par Images in page resources or assets directory [processing](https://gohugo.io/content-management/image-processing/) will be supported in the future. -It's really cool! :(far fa-grin-squint fa-fw): +It's really cool! :(fa-regular fa-grin-squint fa-fw): {{< /admonition >}} ## 2 Front Matter {#front-matter} @@ -354,20 +354,20 @@ You can easily use these icons in your articles. Get the `class` of icons you wanted from the [Font Awesome website](https://fontawesome.com/icons?d=gallery). ```markdown -Gone camping! {?:}(fas fa-campground fa-fw): Be back soon. +Gone camping! {?:}(fa-solid fa-campground fa-fw): Be back soon. -That is so funny! {?:}(far fa-grin-tears): +That is so funny! {?:}(fa-regular fa-grin-tears): ``` The rendered output looks like this: -Gone camping! :(fas fa-campground fa-fw): Be back soon. +Gone camping! :(fa-solid fa-campground fa-fw): Be back soon. -That is so funny! :(far fa-grin-tears): +That is so funny! :(fa-regular fa-grin-tears): ### Escape character {#escape-character} -In some special cases (when writing this theme documentation :(far fa-grin-squint-tears):), +In some special cases (when writing this theme documentation :(fa-regular fa-grin-squint-tears):), your content will conflict with basic or extended Markdown syntax, and it is inevitable. The escape character syntax can help you build the content you wanted: diff --git a/exampleSite/content/posts/theme-documentation-content/index.fr.md b/exampleSite/content/posts/theme-documentation-content/index.fr.md index 46f27315..1723abad 100644 --- a/exampleSite/content/posts/theme-documentation-content/index.fr.md +++ b/exampleSite/content/posts/theme-documentation-content/index.fr.md @@ -30,7 +30,7 @@ Découvrez comment créer et organiser votre contenu rapidement et intuitivement {{< admonition warning >}} Sorry, this article has not been completely translated into **French**. -Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/FeelIt/pulls) to the theme! +Welcome to take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/FeelIt/pulls) to the theme! {{< /admonition >}} ## 1 Contents Organization {#contents-organization} @@ -359,14 +359,14 @@ You can easily use these icons in your articles. Get the `class` of icons you wanted from the [Font Awesome website](https://fontawesome.com/icons?d=gallery). ```markdown -Gone camping! {?:}(fas fa-campground fa-fw): Be back soon. +Gone camping! {?:}(fa-solid fa-campground fa-fw): Be back soon. That is so funny! {?:}(far fa-grin-tears): ``` The rendered output looks like this: -Gone camping! :(fas fa-campground fa-fw): Be back soon. +Gone camping! :(fa-solid fa-campground fa-fw): Be back soon. That is so funny! :(far fa-grin-tears): diff --git a/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md index 034900bf..76dd1feb 100644 --- a/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md @@ -54,7 +54,7 @@ math: 例如 **链接**, **图片**, `image` shortcode, `music` shortcode 和**前置参数**中的部分参数. 页面资源或者 **assets** 目录中的[图片处理](https://gohugo.io/content-management/image-processing/)会在未来的版本中得到支持. -非常酷的功能! :(far fa-grin-squint fa-fw): +非常酷的功能! :(fa-regular fa-grin-squint fa-fw): {{< /admonition >}} ## 2 前置参数 {#front-matter} @@ -353,20 +353,20 @@ $$ \ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-} $$ 从 [Font Awesome 网站](https://fontawesome.com/icons?d=gallery) 上获取所需的图标 `class`. ```markdown -去露营啦! {?:}(fas fa-campground fa-fw): 很快就回来. +去露营啦! {?:}(fa-solid fa-campground fa-fw): 很快就回来. -真开心! {?:}(far fa-grin-tears): +真开心! {?:}(fa-regular fa-grin-tears): ``` 呈现的输出效果如下: -去露营啦! :(fas fa-campground fa-fw): 很快就回来. +去露营啦! :(fa-solid fa-campground fa-fw): 很快就回来. -真开心! :(far fa-grin-tears): +真开心! :(fa-regular fa-grin-tears): ### 转义字符 {#escape-character} -在某些特殊情况下 (编写这个主题文档时 :(far fa-grin-squint-tears):), +在某些特殊情况下 (编写这个主题文档时 :(fa-regular fa-grin-squint-tears):), 你的文章内容会与 Markdown 的基本或者扩展语法冲突, 并且无法避免. 转义字符语法可以帮助你渲染出想要的内容: diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md index 9f3cc5bc..b705f487 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md @@ -36,7 +36,7 @@ Hugo **extended** version is necessary for `style` shortcode. The `style` shortcode has two positional parameters. The **first** one is the custom style content, -which supports nesting syntax in [:(fab fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting) +which supports nesting syntax in [:(fa-brands fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting) and `&` referring to this parent HTML element. And the **second** one is the tag name of the HTML element wrapping the content you want to change style, and whose default value is `div`. @@ -1330,7 +1330,7 @@ The rendered output looks like this: {{< version 0.2.8 >}} -`script` is a shortcode to insert custom **:(fab fa-js fa-fw): Javascript** in your post. +`script` is a shortcode to insert custom **:(fa-brands fa-js fa-fw): Javascript** in your post. {{< admonition >}} The script content can be guaranteed to be executed in order after all third-party libraries are loaded. So you are free to use third-party libraries. diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.fr.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.fr.md index 4a6ecd21..066578d1 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.fr.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.fr.md @@ -25,7 +25,7 @@ Le thème **FeelIt** fournit plusieurs shortcodes en plus de ceux intégrés dan {{< admonition warning >}} Sorry, this article has not been completely translated into **French**. -Welcome to take the time to propose a translation by [:(fas fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/FeelIt/pulls) to the theme! +Welcome to take the time to propose a translation by [:(fa-solid fa-code-branch fa-fw): making a PR](https://github.com/dillonzq/FeelIt/pulls) to the theme! {{< /admonition >}} ## 1 style @@ -41,7 +41,7 @@ Hugo **extended** version is necessary for `style` shortcode. The `style` shortcode has two positional parameters. The **first** one is the custom style content, -which supports nesting syntax in [:(fab fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting) +which supports nesting syntax in [:(fa-brands fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting) and `&` referring to this parent HTML element. And the **second** one is the tag name of the HTML element wrapping the content you want to change style, and whose default value is `div`. @@ -1335,7 +1335,7 @@ The rendered output looks like this: {{< version 0.2.8 >}} -`script` is a shortcode to insert custom **:(fab fa-js fa-fw): Javascript** in your post. +`script` is a shortcode to insert custom **:(fa-brands fa-js fa-fw): Javascript** in your post. {{< admonition >}} The script content can be guaranteed to be executed in order after all third-party libraries are loaded. So you are free to use third-party libraries. diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md index 894e8917..d1ece13b 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md @@ -38,7 +38,7 @@ Hugo **extended** 版本对于 `style` shortcode 是必需的. `style` shortcode 有两个位置参数. -第一个参数是自定义样式的内容. 它支持 [:(fab fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting) 中的嵌套语法, +第一个参数是自定义样式的内容. 它支持 [:(fa-brands fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting) 中的嵌套语法, 并且 `&` 指代这个父元素. 第二个参数是包裹你要更改样式的内容的 HTML 标签, 默认值是 `div`. @@ -1331,7 +1331,7 @@ public class HelloWorld { {{< version 0.2.8 >}} -`script` shortcode 用来在你的文章中插入 **:(fab fa-js fa-fw): Javascript** 脚本. +`script` shortcode 用来在你的文章中插入 **:(fa-brands fa-js fa-fw): Javascript** 脚本. {{< admonition >}} 脚本内容可以保证在所有的第三方库加载之后按顺序执行. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 75d82eea..2e4d846e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -52,13 +52,13 @@
{{- /* top button */ -}} - + {{- /* comment button */ -}} {{- if .Site.Params.page.comment.enable -}} - + {{- end -}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a5e5ba31..efd8ea89 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -80,7 +80,7 @@

{{ . }}

{{ T "contents" }} - +
{{- dict "Content" .TableOfContents "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index d1246921..d782d495 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -29,7 +29,7 @@

{{- $author := $params.author | default .Site.Author.name | default (T "author") -}} {{- $authorLink := $params.authorlink | default .Site.Author.link | default .Site.Home.RelPermalink -}} @@ -42,7 +42,7 @@

{{- $categories := slice -}} {{- range .Params.categories -}} {{- $category := partialCached "function/path.html" . . | printf "/categories/%v" | $.Site.GetPage -}} - {{- $categories = $categories | append (printf `%v` $category.RelPermalink $category.Title) -}} + {{- $categories = $categories | append (printf `%v` $category.RelPermalink $category.Title) -}} {{- end -}} {{- with delimit $categories " " -}}  

@@ -125,13 +125,13 @@ @@ -151,17 +151,17 @@ {{- end -}} {{- if .Site.IsMultiLingual -}} {{- .Language.LanguageName -}} - +