# About LoveIt


{{< style "img { height: 1.25rem; }" >}}
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.146.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/)
[![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/dillonzq/LoveIt?style=social)](https://github.com/dillonzq/LoveIt)
[![GitHub forks](https://img.shields.io/github/forks/dillonzq/LoveIt?style=social)](https://github.com/dillonzq/LoveIt/fork)
{{< /style >}}

> [:(far fa-kiss-wink-heart): LoveIt](https://github.com/dillonzq/LoveIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by {{< person "https://dillonzq.com/" Dillon "author of the LoveIt theme" "/Dillon.png" >}}.
>
> It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt) and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt).

![Hugo Theme LoveIt](/images/Apple-Devices-Preview.png "Hugo Theme LoveIt")

## Features

### Performance and SEO

* :(fas fa-rocket): 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): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
* :(fab fa-google): **[Google Analytics](https://analytics.google.com/analytics)** supported
* :(far fa-chart-bar): **[Fathom Analytics](https://usefathom.com/)** supported
* :(fas fa-chart-column): **[Plausible Analytics](https://plausible.io/)** supported
* :(fab fa-yandex-international): **[Yandex Metrica](https://metrica.yandex.com/)** supported
* :(fas fa-sitemap): Search engine **verification** supported (Google, Bing, Yandex and Baidu)
* :(fas fa-tachometer-alt): **CDN** for third-party libraries supported
* :(fas fa-cloud-download-alt): **Responsive images** processed by Hugo, with WebP copies, `width`/`height` and native lazy loading

### Appearance and Layout

* :(fas fa-mobile-screen): **[Desktop]/[Mobile] responsive** layout
* :(fas fa-circle-half-stroke fa-rotate-180): **[Light]/[Dark]** mode
* :(fas fa-layer-group): Globally consistent **design language**
* :(fas fa-ellipsis-h): **Pagination** supported
* :(far fa-list-alt): Easy-to-use and self-expanding **table of contents**
* :(fas fa-language): **Multilanguage** supported and i18n ready
* :(fas fa-text-width): **Right-to-left** languages supported
* :(fab fa-css3-alt): Beautiful **CSS animation**
* :(fas fa-universal-access): **Accessibility**: skip link, reduced motion and semantic controls

### Social and Comment Systems

* :(far fa-user): **Gravatar** supported by [Gravatar](https://gravatar.com)
* :(fas fa-user-circle): Local **Avatar** supported
* :(far fa-id-card): Up to **84** social links supported
* :(fas fa-share-square): Up to **30** share sites supported
* :(far fa-comment): **Disqus** comment system supported by [Disqus](https://disqus.com)
* :(far fa-comment-dots): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
* :(far fa-comment-alt): **Valine** comment system supported by [Valine](https://valine.js.org/)
* :(far fa-comments): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
* :(fas fa-comment): **Telegram comments** system supported by [Comments](https://comments.app/)
* :(fas fa-comment-dots): **Commento** comment system supported by [Commento](https://commento.io/)
* :(fas fa-comment-alt): **utterances** comment system supported by [utterances](https://utteranc.es/)
* :(fas fa-comments): **giscus** comment system supported by [giscus](https://giscus.app/)
* :(far fa-comment-dots): **Waline** comment system supported by [Waline](https://waline.js.org/)
* :(fab fa-mastodon): **Mastodon** comments: the replies to a post on [Mastodon](https://joinmastodon.org/) or another Fediverse server

### Extended Features

* :(fas fa-search): **Search** supported by [Lunr.js](https://lunrjs.com/), [algolia](https://www.algolia.com/), [Fuse.js](https://fusejs.io/) or [Pagefind](https://pagefind.app/)
* :(far fa-grin-tongue-wink): **Twemoji** supported
* :(fas fa-code): Automatically **highlighting** code
* :(far fa-copy): **Copy code** to clipboard with one click
* :(far fa-images): **Images gallery** supported by [lightGallery](https://github.com/sachinchoolur/lightgallery)
* :(fab fa-font-awesome): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
* :(fas fa-superscript): Extended Markdown syntax for **ruby annotation**
* :(fas fa-percentage): Extended Markdown syntax for **fraction**
* :(fas fa-square-root-alt): **Mathematical formula** supported by [$\KaTeX$](https://katex.org/)
* :(fas fa-project-diagram): **Diagrams** shortcode supported by [Pele](https://github.com/obsidianmd/pele) or [mermaid](https://github.com/mermaid-js/mermaid)
* :(fas fa-chart-pie): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
* :(fas fa-map-marked-alt): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
* :(fas fa-music): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
* :(fab fa-bilibili): **Bilibili player** shortcode
* :(fas fa-note-sticky): Kinds of **admonitions** shortcode
* :(fab fa-css3): **Custom style** shortcode
* :(fab fa-js-square): **Custom script** shortcode
* :(fas fa-i-cursor): **Animated typing** supported by [TypeIt](https://typeitjs.com/)
* :(fas fa-cookie-bite): **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent)
* :(far fa-user-circle): **Person** shortcode
* ...

## License

LoveIt is licensed under the **MIT** license.

Check the [LICENSE file](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) for details.

## Special Thanks

Thanks to the authors of following resources included in the theme:

* [modern-normalize](https://github.com/sindresorhus/modern-normalize)
* [Font Awesome](https://fontawesome.com/)
* [Simple Icons](https://github.com/simple-icons/simple-icons)
* [Lunr.js](https://lunrjs.com/)
* [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript)
* [Fuse.js](https://fusejs.io/)
* [Pagefind](https://pagefind.app/)
* [Twemoji](https://github.com/jdecked/twemoji)
* [emoji-data](https://github.com/iamcal/emoji-data)
* [lightGallery](https://github.com/sachinchoolur/lightgallery)
* [Sharer.js](https://github.com/ellisonleao/sharer.js)
* [TypeIt](https://typeitjs.com/)
* [$\KaTeX$](https://katex.org/)
* [mermaid](https://github.com/mermaid-js/mermaid)
* [Pele](https://github.com/obsidianmd/pele)
* [ECharts](https://echarts.apache.org/)
* [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
* [APlayer](https://github.com/MoePlayer/APlayer)
* [MetingJS](https://github.com/metowolf/MetingJS)
* [Gitalk](https://github.com/gitalk/gitalk)
* [Valine](https://valine.js.org/)
* [Waline](https://waline.js.org/)
* [DOMPurify](https://github.com/cure53/DOMPurify)
* [cookieconsent](https://github.com/osano/cookieconsent)

