Skip to content

xinyu-yang/EnjoyIt

Repository files navigation

EnjoyIt Theme | Hugo

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

It is based on CodeIT, which is based on the original LoveIt Theme, LeaveIt Theme, and KeepIt Theme.

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

Hugo Theme EnjoyIt

Table of Contents

Brief history

Brief history of CodeIT

This theme is based on the original LoveIt theme. The original theme was loved by many users, but since May 2020 it has not been maintained.

We tried to contact the theme owner, but without success. The contributors have opened an issue and asked if the theme is still supported, but we also did not receive any response.

So we decided to create and maintain the theme with a new name, keeping the original style, but continuously improving it. Feel free to contribute to this theme 😊.

Brief history of EnjoyIt

I want to customize a high-quality blog theme with the most useful features but without redundant features. Enjoy blogging, enjoy it.

To see this theme in action, here is a live demo site that is rendered with the EnjoyIt theme.

Why choose EnjoyIt

Compared to the original CodeIT theme, the EnjoyIt theme has the following modifications.

  • Baidu Analytics
  • busuanzi counter.
  • Customize the footer style.
  • Change background color to beige(#F5F5DC).
  • Delete Facebook, Telegram, and Commento comment system.
  • Add Twikoo comment support.
  • ...

I hope you will 😂EnjoyIt🤣 🤟

Features

Performance and SEO

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
  • Utterances comment system supported by Utterances
  • Twikoo comment system supported by Twikoo

Extended Features

  • Search supported by Lunr.js or algolia
  • Twemoji supported
  • Automatically highlighting code
  • Copy code to the 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 fractions
  • Mathematical formula supported by KaTeX
  • Diagrams shortcode supported by mermaids
  • 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
  • ...

Add the theme to your blog

First, download the theme from GitHub and add it to your site’s themes directory:

cd your-hugo-blog-directory
git init
git submodule add https://github.com/xinyu-yang/EnjoyIt.git themes/EnjoyIt
echo 'theme = "EnjoyIt"' >> config.toml
hugo server --source=exampleSite

Multilingual and i18n

EnjoyIt supports the following languages:

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

Questions, ideas, bugs, pull requests

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

License

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

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