❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题 https://hugoloveit.com/
Find a file
2022-05-03 16:19:19 +08:00
.circleci feat(environment): use hugo.Environment to judge the production environment 2020-03-02 17:03:35 +08:00
.github feat(SEO): update SEO config (#393) 2020-05-29 11:11:21 +08:00
archetypes feat: improve configuration (#245) 2020-04-21 22:55:06 +08:00
assets Merge branch 'master' into schema-fix 2022-05-03 16:16:33 +08:00
exampleSite Merge pull request #500 from LeiHao0/master 2022-05-02 16:49:06 +08:00
i18n Merge pull request #405 from HSoeren/patch-1 2022-05-02 17:18:11 +08:00
images chore: update project related information 2020-05-29 01:03:07 +08:00
layouts Merge branch 'master' into schema-fix 2022-05-03 16:16:33 +08:00
resources/_gen/assets/scss chore: update package-lock.json 2022-05-02 23:46:02 +08:00
src fix(toc): Use data attributes for toc 2020-11-27 18:42:42 +07:00
static/lib chore(libs): update libs (#256) 2020-04-24 23:47:47 +08:00
.babelrc chore(hook): add babel pre-commit hook 2020-02-17 00:41:08 +08:00
.gitignore fix(hugo): compatibility for Hugo basic version (#315) 2020-05-04 15:19:18 +08:00
LICENSE feat: KeepIt => LoveIt 2019-08-06 23:49:02 +08:00
package-lock.json chore(deps): bump lodash from 4.17.15 to 4.17.21 2022-05-03 10:37:51 +08:00
package.json chore(deps): bump lodash from 4.17.15 to 4.17.21 2022-05-03 10:37:51 +08:00
README.md Merge branch 'master' into develop 2020-05-29 01:03:42 +08:00
README.zh-cn.md Merge branch 'master' into develop 2020-05-29 01:03:42 +08:00
theme.toml fix(search): theme.js error when search is disabled (#310) 2020-05-03 11:06:10 +08:00

LoveIt Theme | Hugo Netlify Status

GitHub release (latest by date) Hugo License CircleCI

English README | 简体中文说明

LoveIt is a clean, elegant but advanced blog theme for Hugo.

It is based on the original LeaveIt Theme and KeepIt Theme.

Since the three themes have a similar look, if you have questions about their differences, read Why choose LoveIt so that you can choose the one that works best for you.

Hugo Theme LoveIt

Demo Site

To see this theme in action, here is a live demo site which is rendered with LoveIt theme.

Why choose LoveIt

Compared to the original LeaveIt theme and the KeepIt theme, the LoveIt theme has the following modifications.

  • Custom Header
  • Custom CSS Style
  • A new home page, compatible with the latest version of Hugo
  • A lot of style detail adjustments, including color, font size, margins, code preview style
  • More readable dark mode
  • Some beautiful CSS animations
  • Easy-to-use and self-expanding table of contents
  • More social links, share sites and comment system
  • Search supported by Lunr.js or algolia
  • Copy code to clipboard with one click
  • Extended Markdown syntax for Font Awesome icons
  • Extended Markdown syntax for ruby annotation
  • Extended Markdown syntax for fraction
  • Mathematical formula supported by KaTeX
  • Diagram syntax shortcode supported by mermaid
  • Interactive data visualization shortcode supported by ECharts
  • Mapbox shortcode supported by Mapbox GL JS
  • Embedded music player supported by APlayer and MetingJS
  • Bilibili player supported
  • Kinds of admonitions shortcode supported
  • Custom style shortcodes supported
  • CDN for all third-party libraries supported
  • ...

In short, if you prefer the design language and freedom of the LoveIt theme, if you want to use the extended Font Awesome icons conveniently, if you want to embed mathematical formulas, flowcharts, music or Bilibili videos in your posts, the LoveIt theme may be more suitable for you.

I hope you will LoveIt ❤️!

Features

Performance and SEO

  • Optimized for performance: 99/100 on mobile and 100/100 on desktop in Google PageSpeed Insights
  • Optimized SEO performance with a correct SEO SCHEMA based on JSON-LD
  • Google Analytics supported
  • Fathom Analytics supported
  • Search engine verification supported (Google, Bind, Yandex and Baidu)
  • CDN for third-party libraries supported
  • Automatically converted images with Lazy Load by lazysizes

Appearance and Layout

  • Responsive layout
  • Light/Dark mode
  • Globally consistent design language
  • Pagination supported
  • Easy-to-use and self-expanding table of contents
  • Multilanguage supported and i18n ready
  • Beautiful CSS animation

Social and Comment Systems

  • Gravatar supported by Gravatar
  • Local Avatar supported
  • Up to 64 social links supported
  • Up to 28 share sites supported
  • Disqus comment system supported by Disqus
  • Gitalk comment system supported by Gitalk
  • Valine comment system supported by Valine
  • Facebook comments system supported by Facebook
  • Telegram comments system supported by Telegram Comments
  • Commento comment system supported by Commento
  • Utterances comment system supported by Utterances

Extended Features

  • Search supported by Lunr.js or algolia
  • Twemoji supported
  • Automatically highlighting code
  • Copy code to clipboard with one click
  • Images gallery supported by lightgallery.js
  • Extended Markdown syntax for Font Awesome icons
  • Extended Markdown syntax for ruby annotation
  • Extended Markdown syntax for fraction
  • Mathematical formula supported by KaTeX
  • Diagrams shortcode supported by mermaid
  • Interactive data visualization shortcode supported by ECharts
  • Mapbox shortcode supported by Mapbox GL JS
  • Music player shortcode supported by APlayer and MetingJS
  • Bilibili player shortcode
  • Kinds of admonitions shortcode
  • Custom style shortcode
  • Custom script shortcode
  • Animated typing supported by TypeIt
  • Dynamic scroll supported by Smooth Scroll
  • Cookie consent banner supported by cookieconsent
  • ...

Documentation

Build Documentation Locally:

hugo server --source=exampleSite

Multilingual and i18n

LoveIt supports the following languages:

  • English
  • Simplified Chinese
  • French
  • Polish
  • Brazilian Portuguese
  • Italian
  • Spanish
  • German
  • Serbian
  • Russian
  • Romanian
  • Vietnamese
  • Contribute with a new language

Languages Compatibility

Roadmap

Questions, ideas, bugs, pull requests

All feedback is welcome! Head over to the issue tracker.

License

LoveIt is licensed under the MIT license. Check the LICENSE file for details.

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

Author

Dillon

Sponsor

If you enjoy the theme, please consider buying me a coffee .

Thanks! ❤️