Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml2
-rw-r--r--README.md50
-rw-r--r--exampleSite/config.toml412
-rw-r--r--exampleSite/content/about/index.en.md18
-rw-r--r--exampleSite/content/posts/basic-markdown-syntax/index.en.md4
-rw-r--r--exampleSite/content/posts/emoji-support/index.en.md2
-rw-r--r--exampleSite/content/posts/theme-documentation-basics/index.en.md47
-rw-r--r--exampleSite/content/posts/theme-documentation-content/index.en.md18
-rw-r--r--exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md8
-rw-r--r--exampleSite/static/site.webmanifest4
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/init.html6
-rw-r--r--layouts/shortcodes/version.html4
-rw-r--r--package.json14
-rw-r--r--theme.toml16
15 files changed, 102 insertions, 507 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 4752606..3af857c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -3,7 +3,7 @@ jobs:
build-check:
docker:
- image: cibuilds/hugo:0.62
- working_directory: ~/LoveIt
+ working_directory: ~/uBlogger
steps:
- checkout
- run: git submodule sync
diff --git a/README.md b/README.md
index 76a9d14..75df6f3 100644
--- a/README.md
+++ b/README.md
@@ -1,28 +1,26 @@
-# LoveIt Theme | Hugo [![Netlify Status](https://api.netlify.com/api/v1/badges/e60303f2-862c-4342-bf59-7c9adb10812e/deploy-status)](https://app.netlify.com/sites/hugo-loveit/deploys)
+# uBlogger Theme | Hugo
-[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases)
+[![GitHub release (latest by date)](https://img.shields.io/github/v/release/upagge/uBlogger?style=flat-square)](https://github.com/upagge/uBlogger/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.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)
-[![CircleCI](https://img.shields.io/circleci/build/github/dillonzq/LoveIt/develop?label=CI&style=flat-square&logo=circleci)](https://app.circleci.com/pipelines/github/dillonzq/LoveIt)
+[![License](https://img.shields.io/github/license/upagge/uBlogger?style=flat-square)](https://github.com/upagge/uBlogger/blob/master/LICENSE)
+[![CircleCI](https://img.shields.io/circleci/build/github/upagge/uBlogger/develop?label=CI&style=flat-square&logo=circleci)](https://app.circleci.com/pipelines/github/upagge/uBlogger)
-English README | [简体中文说明](https://github.com/dillonzq/LoveIt/blob/master/README.zh-cn.md)
+> **uBlogger** is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/).
-> **LoveIt** is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/).
-
-It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt) and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt).
+It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt).
Since the three themes have a similar look, if you have questions about their differences,
-read [Why choose LoveIt](#why-choose-loveit) so that you can choose the one that works best for you.
+read [Why choose uBlogger](#why-choose-ublogger) so that you can choose the one that works best for you.
-![Hugo Theme LoveIt](https://github.com/dillonzq/LoveIt/raw/master/images/Apple-Devices-Preview.png)
+![Hugo Theme uBlogger](https://github.com/upagge/uBlogger/raw/master/images/Apple-Devices-Preview.png)
-## [Demo Site](https://hugoloveit.com/)
+## [Demo Site](https://blog.upagge.ru/)
-To see this theme in action, here is a live [demo site](https://hugoloveit.com/) which is rendered with **LoveIt** theme.
+To see this theme in action, here is a live [demo site](https://blog.upagge.ru/) which is rendered with **uBlogger** theme.
-## Why choose LoveIt
+## Why choose uBlogger
-Compared to the original LeaveIt theme and the KeepIt theme, the LoveIt theme has the following modifications.
+Compared to the original LeaveIt theme and the KeepIt theme, the uBlogger theme has the following modifications.
* Custom **Header**
* Custom **CSS Style**
@@ -49,12 +47,12 @@ Compared to the original LeaveIt theme and the KeepIt theme, the LoveIt theme ha
* ...
In short,
-if you prefer the design language and freedom of the LoveIt theme,
+if you prefer the design language and freedom of the uBlogger 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.
+the uBlogger theme may be more suitable for you.
-I hope you will LoveIt ❤️!
+I hope you will uBlogger ❤️!
## Features
@@ -116,7 +114,7 @@ I hope you will LoveIt ❤️!
* **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent)
* ...
-## [Documentation](https://hugoloveit.com/categories/documentation/)
+## Documentation
Build Documentation Locally:
@@ -126,7 +124,7 @@ hugo server --source=exampleSite
## Multilingual and i18n
-LoveIt supports the following languages:
+uBlogger supports the following languages:
* English
* Simplified Chinese
@@ -140,19 +138,15 @@ LoveIt supports the following languages:
* Russian
* Romanian
* Vietnamese
-* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
-
-[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)
-
-## [Roadmap](https://github.com/dillonzq/LoveIt/projects/1)
+* [Contribute with a new language](https://github.com/upagge/uBlogger/pulls)
## Questions, ideas, bugs, pull requests
-All feedback is welcome! Head over to the [issue tracker](https://github.com/dillonzq/LoveIt/issues).
+All feedback is welcome! Head over to the [issue tracker](https://github.com/upagge/uBlogger/issues).
## License
-LoveIt is licensed under the **MIT** license. Check the [LICENSE file](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) for details.
+uBlogger is licensed under the **MIT** license. Check the [LICENSE file](https://github.com/upagge/uBlogger/blob/master/LICENSE) for details.
Thanks to the authors of following resources included in the theme:
@@ -189,8 +183,4 @@ Thanks to the authors of following resources included in the theme:
If you enjoy the theme, please consider buying me a coffee ☕️.
-* [PayPal](https://paypal.me/dillonzq)
-* [Alipay](https://github.com/dillonzq/LoveIt/raw/master/images/Alipay.jpg)
-* [Wechat](https://github.com/dillonzq/LoveIt/raw/master/images/Wechat.jpg)
-
Thanks! ❤️
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index eb07a39..a49ebfe 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -4,7 +4,7 @@ baseURL = "https://example.com"
defaultContentLanguage = "en"
# theme
# 主题
-theme = "LoveIt"
+theme = "uBlogger"
# themes directory
# 主题目录
themesDir = "../.."
@@ -91,13 +91,13 @@ enableEmoji = true
weight = 6
[languages.en.params]
# site description
- description = "About LoveIt Theme"
+ description = "About uBlogger Theme"
# site keywords
keywords = ["Theme", "Hugo"]
# App icon config
[languages.en.params.app]
# optional site title override for the app when added to an iOS home screen or Android launcher
- title = "LoveIt"
+ title = "uBlogger"
# whether to omit favicon resource links
noFavicon = false
# modern SVG favicon to use in place of older style .png and .ico files
@@ -224,402 +224,10 @@ enableEmoji = true
id = "@xxxx"
prefix = "https://mastodon.technology/"
- [languages.zh-cn]
- weight = 2
- # 网站语言, 仅在这里 CN 大写
- languageCode = "zh-CN"
- # 语言名称
- languageName = "简体中文"
- # 是否包括中日韩文字
- hasCJKLanguage = true
- # 默认每页列表显示的文章数目
- paginate = 12
- # 版权描述,仅仅用于 SEO
- copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
- # 菜单配置
- [languages.zh-cn.menu]
- [[languages.zh-cn.menu.main]]
- identifier = "posts"
- # 你可以在名称 (允许 HTML 格式) 之前添加其他信息, 例如图标
- pre = ""
- # 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标
- post = ""
- name = "所有文章"
- url = "/posts/"
- title = ""
- weight = 1
- [[languages.zh-cn.menu.main]]
- identifier = "tags"
- pre = ""
- post = ""
- name = "标签"
- url = "/tags/"
- title = ""
- weight = 2
- [[languages.zh-cn.menu.main]]
- identifier = "categories"
- pre = ""
- post = ""
- name = "分类"
- url = "/categories/"
- title = ""
- weight = 3
- [[languages.zh-cn.menu.main]]
- identifier = "documentation"
- pre = ""
- name = "文档"
- url = "/categories/documentation/"
- title = ""
- weight = 4
- [[languages.zh-cn.menu.main]]
- identifier = "about"
- pre = ""
- post = ""
- name = "关于"
- url = "/about/"
- title = ""
- weight = 5
- [[languages.zh-cn.menu.main]]
- identifier = "github"
- pre = "<i class='fab fa-github fa-fw'></i>"
- post = ""
- name = ""
- url = "https://github.com/dillonzq/LoveIt"
- title = "GitHub"
- weight = 6
- [languages.zh-cn.params]
- # 网站描述
- description = "关于 LoveIt 主题"
- # 网站关键词
- keywords = ["Theme", "Hugo"]
- # 应用图标配置
- [languages.zh-cn.params.app]
- # 当添加到 iOS 主屏幕或者 Android 启动器时的标题, 覆盖默认标题
- title = "LoveIt"
- # 是否隐藏网站图标资源链接
- noFavicon = false
- # 更现代的 SVG 网站图标, 可替代旧的 .png 和 .ico 文件
- svgFavicon = ""
- # Android 浏览器主题色
- themeColor = "#ffffff"
- # Safari 图标颜色
- iconColor = "#5bbad5"
- # Windows v8-10 磁贴颜色
- tileColor = "#da532c"
- # 搜索配置
- [languages.zh-cn.params.search]
- enable = true
- # 搜索引擎的类型 ("lunr", "algolia")
- type = "algolia"
- # 文章内容最长索引长度
- contentLength = 4000
- # 搜索框的占位提示语
- placeholder = ""
- # 最大结果数目
- maxResultLength = 10
- # 结果内容片段长度
- snippetLength = 50
- # 搜索结果中高亮部分的 HTML 标签
- highlightTag = "em"
- # 是否在搜索索引中使用基于 baseURL 的绝对路径
- absoluteURL = false
- [languages.zh-cn.params.search.algolia]
- index = "index.zh-cn"
- appID = "PASDMWALPK"
- searchKey = "b42948e51daaa93df92381c8e2ac0f93"
- # 主页信息设置
- [languages.zh-cn.params.home]
- # RSS 文章数目
- rss = 10
- # 主页个人信息
- [languages.zh-cn.params.home.profile]
- enable = true
- # Gravatar 邮箱,用于优先在主页显示的头像
- gravatarEmail = ""
- # 主页显示头像的 URL
- avatarURL = "/images/avatar.png"
- # 主页显示的网站标题 (支持 HTML 格式)
- title = ""
- # 主页显示的网站副标题 (支持 HTML 格式)
- subtitle = "一个简洁、优雅且高效的 Hugo 主题"
- # 是否为副标题显示打字机动画
- typeit = true
- # 是否显示社交账号
- social = true
- # 免责声明 (支持 HTML 格式)
- disclaimer = ""
- # 主页文章列表
- [languages.zh-cn.params.home.posts]
- enable = true
- # 主页每页显示文章数量
- paginate = 6
- # 主页的社交信息设置
- [languages.zh-cn.params.social]
- GitHub = "xxxx"
- Linkedin = ""
- Twitter = ""
- Instagram = ""
- Facebook = ""
- Telegram = ""
- Medium = ""
- Gitlab = ""
- Youtubelegacy = ""
- Youtubecustom = ""
- Youtubechannel = ""
- Tumblr = ""
- Quora = ""
- Keybase = ""
- Pinterest = ""
- Reddit = ""
- Codepen = ""
- FreeCodeCamp = ""
- Bitbucket = ""
- Stackoverflow = ""
- Weibo = "xxxx"
- Odnoklassniki = ""
- VK = ""
- Flickr = ""
- Xing = ""
- Snapchat = ""
- Soundcloud = ""
- Spotify = ""
- Bandcamp = ""
- Paypal = ""
- Fivehundredpx = ""
- Mix = ""
- Goodreads = ""
- Lastfm = ""
- Foursquare = ""
- Hackernews = ""
- Kickstarter = ""
- Patreon = ""
- Steam = "xxxx"
- Twitch = ""
- Strava = ""
- Skype = ""
- Whatsapp = ""
- Zhihu = "xxxx"
- Douban = "xxxx"
- Angellist = ""
- Slidershare = ""
- Jsfiddle = ""
- Deviantart = ""
- Behance = ""
- Dribbble = ""
- Wordpress = ""
- Vine = ""
- Googlescholar = ""
- Researchgate = ""
- Mastodon = ""
- Thingiverse = ""
- Devto = "xxxx"
- Gitea = ""
- XMPP = ""
- Matrix = ""
- Bilibili = "xxxx"
- Email = "xxxx@xxxx.com"
- RSS = true
-
- [languages.fr]
- weight = 3
- # language code
- languageCode = "fr"
- # language name
- languageName = "Français"
- # whether to include Chinese/Japanese/Korean
- hasCJKLanguage = false
- # default amount of posts in each pages
- paginate = 12
- # copyright description used only for seo schema
- copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
- # Menu config
- [languages.fr.menu]
- [[languages.fr.menu.main]]
- identifier = "posts"
- pre = ""
- post = ""
- name = "Postes"
- url = "/posts/"
- title = ""
- weight = 1
- [[languages.fr.menu.main]]
- identifier = "tags"
- pre = ""
- post = ""
- name = "Balises"
- url = "/tags/"
- title = ""
- weight = 2
- [[languages.fr.menu.main]]
- identifier = "categories"
- pre = ""
- post = ""
- name = "Catégories"
- url = "/categories/"
- title = ""
- weight = 3
- [[languages.fr.menu.main]]
- identifier = "documentation"
- pre = ""
- post = ""
- name = "Docs"
- url = "/categories/documentation/"
- title = ""
- weight = 4
- [[languages.fr.menu.main]]
- identifier = "about"
- pre = ""
- name = "À propos"
- url = "/about/"
- title = ""
- weight = 5
- [[languages.fr.menu.main]]
- identifier = "github"
- pre = "<i class='fab fa-github fa-fw'></i>"
- post = ""
- name = ""
- url = "https://github.com/dillonzq/LoveIt"
- title = "GitHub"
- weight = 6
- [languages.fr.params]
- # site description
- description = "À propos du thème LoveIt"
- # site keywords
- keywords = ["Thème", "Hugo"]
- # App icon config
- [languages.fr.params.app]
- # optional site title override for the app when added to an iOS home screen or Android launcher
- title = "LoveIt"
- # whether to omit favicon resource links
- noFavicon = false
- # modern SVG favicon to use in place of older style .png and .ico files
- svgFavicon = ""
- # Android browser theme color
- themeColor = "#ffffff"
- # Safari mask icon color
- iconColor = "#5bbad5"
- # Windows v8-10 tile color
- tileColor = "#da532c"
- # Search config
- [languages.fr.params.search]
- enable = true
- # type of search engine ("lunr", "algolia")
- type = "algolia"
- # max index length of the chunked content
- contentLength = 4000
- # placeholder of the search bar
- placeholder = ""
- # max number of results length
- maxResultLength = 10
- # snippet length of the result
- snippetLength = 30
- # HTML tag name of the highlight part in results
- highlightTag = "em"
- # whether to use the absolute URL based on the baseURL in search index
- absoluteURL = false
- [languages.fr.params.search.algolia]
- index = "index.fr"
- appID = "PASDMWALPK"
- searchKey = "b42948e51daaa93df92381c8e2ac0f93"
- # Home page config
- [languages.fr.params.home]
- # amount of RSS pages
- rss = 10
- # Home page profile
- [languages.fr.params.home.profile]
- enable = true
- # Gravatar Email for preferred avatar in home page
- gravatarEmail = ""
- # URL of avatar shown in home page
- avatarURL = "/images/avatar.png"
- # title shown in home page (HTML format is supported)
- title = ""
- # subtitle shown in home page (HTML format is supported)
- subtitle = "Un thème Hugo simple, élégant et efficace"
- # whether to use typeit animation for subtitle
- typeit = true
- # whether to show social links
- social = true
- # disclaimer (HTML format is supported)
- disclaimer = ""
- # Home page posts
- [languages.fr.params.home.posts]
- enable = true
- # special amount of posts in each home posts page
- paginate = 6
- # Social config in home page
- [languages.fr.params.social]
- GitHub = "xxxx"
- Linkedin = "xxxx"
- Twitter = "xxxx"
- Instagram = ""
- Facebook = ""
- Telegram = ""
- Medium = ""
- Gitlab = ""
- Youtubelegacy = ""
- Youtubecustom = ""
- Youtubechannel = ""
- Tumblr = ""
- Quora = ""
- Keybase = ""
- Pinterest = ""
- Reddit = ""
- Codepen = ""
- FreeCodeCamp = ""
- Bitbucket = ""
- Stackoverflow = ""
- Weibo = ""
- Odnoklassniki = ""
- VK = ""
- Flickr = ""
- Xing = ""
- Snapchat = "xxxx"
- Soundcloud = ""
- Spotify = ""
- Bandcamp = ""
- Paypal = ""
- Fivehundredpx = ""
- Mix = ""
- Goodreads = ""
- Lastfm = ""
- Foursquare = ""
- Hackernews = "xxxx"
- Kickstarter = ""
- Patreon = ""
- Steam = ""
- Twitch = ""
- Strava = ""
- Skype = ""
- Whatsapp = ""
- Zhihu = ""
- Douban = ""
- Angellist = ""
- Slidershare = ""
- Jsfiddle = ""
- Deviantart = ""
- Behance = ""
- Dribbble = "xxxx"
- Wordpress = ""
- Vine = ""
- Googlescholar = ""
- Researchgate = ""
- Mastodon = ""
- Thingiverse = ""
- Devto = ""
- Gitea = ""
- XMPP = ""
- Matrix = ""
- Bilibili = ""
- Email = "xxxx@xxxx.com"
- RSS = true
-
[params]
- # LoveIt theme version
- # LoveIt 主题版本
+ # uBlogger theme version
version = "0.2.X"
# site default theme ("light", "dark", "auto")
- # 网站默认主题 ("light", "dark", "auto")
defaultTheme = "auto"
# public git repo url only then enableGitInfo is true
# 公共 git 仓库路径,仅在 enableGitInfo 设为 true 时有效
@@ -872,15 +480,15 @@ enableEmoji = true
recordIP = true
highlight = true
enableQQ = false
- serverURLs = "https://leancloud.hugoloveit.com"
+ serverURLs = "https://"
# emoji data file name, default is "google.yml"
# ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
- # located in "themes/LoveIt/assets/data/emoji/" directory
+ # located in "themes/uBlogger/assets/data/emoji/" directory
# you can store your own data files in the same path under your project:
# "assets/data/emoji/"
# emoji 数据文件名称, 默认是 "google.yml"
# ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
- # 位于 "themes/LoveIt/assets/data/emoji/" 目录
+ # 位于 "themes/uBlogger/assets/data/emoji/" 目录
# 可以在你的项目下相同路径存放你自己的数据文件:
# "assets/data/emoji/"
emoji = ""
@@ -1015,12 +623,12 @@ enableEmoji = true
[params.cdn]
# CDN data file name, disabled by default
# ("jsdelivr.yml")
- # located in "themes/LoveIt/assets/data/cdn/" directory
+ # located in "themes/uBlogger/assets/data/cdn/" directory
# you can store your own data files in the same path under your project:
# "assets/data/cdn/"
# CDN 数据文件名称, 默认不启用
# ("jsdelivr.yml")
- # 位于 "themes/LoveIt/assets/data/cdn/" 目录
+ # 位于 "themes/uBlogger/assets/data/cdn/" 目录
# 可以在你的项目下相同路径存放你自己的数据文件:
# "assets/data/cdn/"
data = "jsdelivr.yml"
@@ -1045,8 +653,6 @@ enableEmoji = true
guessSyntax = true
lineNos = true
lineNumbersInTable = true
- # false is a necessary configuration (https://github.com/dillonzq/LoveIt/issues/158)
- # false 是必要的设置 (https://github.com/dillonzq/LoveIt/issues/158)
noClasses = false
# Goldmark is from Hugo 0.60 the default library used for Markdown
# Goldmark 是 Hugo 0.60 以来的默认 Markdown 解析库
diff --git a/exampleSite/content/about/index.en.md b/exampleSite/content/about/index.en.md
index 6d4b15f..d9b10f7 100644
--- a/exampleSite/content/about/index.en.md
+++ b/exampleSite/content/about/index.en.md
@@ -1,5 +1,5 @@
---
-title: "About LoveIt"
+title: "About uBlogger"
date: 2019-08-02T11:04:49+08:00
draft: false
@@ -10,18 +10,18 @@ math:
---
{{< 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)
+[![GitHub release (latest by date)](https://img.shields.io/github/v/release/upagge/uBlogger?style=flat-square)](https://github.com/upagge/uBlogger/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.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)
+[![License](https://img.shields.io/github/license/upagge/uBlogger?style=flat-square)](https://github.com/upagge/uBlogger/blob/master/LICENSE)
+[![GitHub stars](https://img.shields.io/github/stars/upagge/uBlogger?style=social)](https://github.com/upagge/uBlogger)
+[![GitHub forks](https://img.shields.io/github/forks/upagge/uBlogger?style=social)](https://github.com/upagge/uBlogger/fork)
{{< /style >}}
-> [:(far fa-kiss-wink-heart fa-fw): LoveIt](https://github.com/dillonzq/LoveIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Dillon](https://dillonzq.com).
+> [:(far fa-kiss-wink-heart fa-fw): uBlogger](https://github.com/upagge/uBlogger) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Dillon](https://dillonzq.com).
>
> 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")
+![Hugo Theme uBlogger](/images/Apple-Devices-Preview.png "Hugo Theme uBlogger")
### Features
@@ -85,9 +85,9 @@ math:
### License
-LoveIt is licensed under the **MIT** license.
+uBlogger is licensed under the **MIT** license.
-Check the [LICENSE file](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) for details.
+Check the [LICENSE file](https://github.com/upagge/uBlogger/blob/master/LICENSE) for details.
Thanks to the authors of following resources included in the theme:
diff --git a/exampleSite/content/posts/basic-markdown-syntax/index.en.md b/exampleSite/content/posts/basic-markdown-syntax/index.en.md
index 5233c3d..6294789 100644
--- a/exampleSite/content/posts/basic-markdown-syntax/index.en.md
+++ b/exampleSite/content/posts/basic-markdown-syntax/index.en.md
@@ -21,7 +21,7 @@ This article offers a sample of basic Markdown syntax that can be used in Hugo c
{{< admonition >}}
This article is a shameful copy of the great [Grav original page](http://learn.getgrav.org/content/markdown).
-If you want to know about the extented Markdown syntax of **LoveIt** theme, please read [extended Markdown syntax page](../theme-documentation-content#extended-markdown-syntax).
+If you want to know about the extented Markdown syntax of **uBlogger** theme, please read [extended Markdown syntax page](../theme-documentation-content#extended-markdown-syntax).
{{< /admonition >}}
Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages.
@@ -756,5 +756,5 @@ With a reference later in the document defining the URL location:
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
{{< admonition tip >}}
-**LoveIt** theme has [special shortcode for image](../theme-documentation-extended-shortcodes#image), which provides more features.
+**uBlogger** theme has [special shortcode for image](../theme-documentation-extended-shortcodes#image), which provides more features.
{{< /admonition >}}
diff --git a/exampleSite/content/posts/emoji-support/index.en.md b/exampleSite/content/posts/emoji-support/index.en.md
index 4766efc..24cd85b 100644
--- a/exampleSite/content/posts/emoji-support/index.en.md
+++ b/exampleSite/content/posts/emoji-support/index.en.md
@@ -3,7 +3,7 @@ weight: 5
title: "Emoji Support"
date: 2019-10-01T17:55:28+08:00
lastmod: 2019-10-01T17:55:28+08:00
-description: "Guide to emoji usage in Hugo and LoveIt."
+description: "Guide to emoji usage in Hugo and uBlogger."
resources:
- name: "featured-image"
src: "featured-image.jpg"
diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md
index 92285f4..6ccc540 100644
--- a/exampleSite/content/posts/theme-documentation-basics/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md
@@ -55,26 +55,26 @@ cd my_website
### 2.2 Install the Theme
-The **LoveIt** theme’s repository is: [https://github.com/dillonzq/LoveIt](https://github.com/dillonzq/LoveIt).
+The **uBlogger** theme’s repository is: [https://github.com/upagge/uBlogger](https://github.com/upagge/uBlogger).
-You can download the [latest release :(far fa-file-archive fa-fw): .zip file](https://github.com/dillonzq/LoveIt/releases) of the theme and extract it in the `themes` directory.
+You can download the [latest release :(far fa-file-archive fa-fw): .zip file](https://github.com/upagge/uBlogger/releases) of the theme and extract it in the `themes` directory.
Alternatively, clone this repository to the `themes` directory:
```bash
-git clone https://github.com/dillonzq/LoveIt.git themes/LoveIt
+git clone https://github.com/upagge/uBlogger.git themes/uBlogger
```
Or, create an empty git repository and make this repository a submodule of your site directory:
```bash
git init
-git submodule add https://github.com/dillonzq/LoveIt.git themes/LoveIt
+git submodule add https://github.com/upagge/uBlogger.git themes/uBlogger
```
### 2.3 Basic Configuration {#basic-configuration}
-The following is a basic configuration for the LoveIt theme:
+The following is a basic configuration for the uBlogger theme:
```toml
baseURL = "http://example.org/"
@@ -85,11 +85,11 @@ languageCode = "en"
title = "My New Hugo Site"
# Change the default theme to be use when building the site with Hugo
-theme = "LoveIt"
+theme = "uBlogger"
[params]
- # LoveIt theme version
- version = "0.2.X"
+ # uBlogger theme version
+ version = "1.0.X"
[menu]
[[menu.main]]
@@ -124,7 +124,7 @@ theme = "LoveIt"
[markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
[markup.highlight]
- # false is a necessary configuration (https://github.com/dillonzq/LoveIt/issues/158)
+ # false is a necessary configuration
noClasses = false
```
@@ -190,14 +190,14 @@ Alternatively, you can use [AWS Amplify](https://gohugo.io/hosting-and-deploymen
### 3.1 Site Configuration {#site-configuration}
-In addition to [Hugo global configuration](https://gohugo.io/overview/configuration/) and [menu configuration](#basic-configuration), **LoveIt** lets you define the following parameters in your site configuration (here is a `config.toml`, whose values are default).
+In addition to [Hugo global configuration](https://gohugo.io/overview/configuration/) and [menu configuration](#basic-configuration), **uBlogger** lets you define the following parameters in your site configuration (here is a `config.toml`, whose values are default).
Please open the code block below to view the complete sample configuration :(far fa-hand-point-down fa-fw)::
```toml
[params]
- # {{< version 0.2.0 changed >}} LoveIt theme version
- version = "0.2.X"
+ # {{< version 0.2.0 changed >}} uBlogger theme version
+ version = "1.0.X"
# site description
description = "This is My New Hugo Site"
# site keywords
@@ -217,7 +217,7 @@ Please open the code block below to view the complete sample configuration :(far
# {{< version 0.2.0 >}} App icon config
[params.app]
# optional site title override for the app when added to an iOS home screen or Android launcher
- title = "LoveIt"
+ title = "uBlogger"
# whether to omit favicon resource links
noFavicon = false
# modern SVG favicon to use in place of older style .png and .ico files
@@ -546,7 +546,7 @@ Please open the code block below to view the complete sample configuration :(far
serverURLs = ""
# {{< version 0.2.6 >}} emoji data file name, default is "google.yml"
# ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
- # located in "themes/LoveIt/assets/data/emoji/" directory
+ # located in "themes/uBlogger/assets/data/emoji/" directory
# you can store your own data files in the same path under your project:
# "assets/data/emoji/"
emoji = ""
@@ -658,7 +658,7 @@ Please open the code block below to view the complete sample configuration :(far
[params.cdn]
# CDN data file name, disabled by default
# ("jsdelivr.yml")
- # located in "themes/LoveIt/assets/data/cdn/" directory
+ # located in "themes/uBlogger/assets/data/cdn/" directory
# you can store your own data files in the same path under your project:
# "assets/data/cdn/"
data = ""
@@ -679,7 +679,6 @@ Please open the code block below to view the complete sample configuration :(far
lineNos = true
lineNumbersInTable = true
# false is a necessary configuration
- # ({{< link "https://github.com/dillonzq/LoveIt/issues/158" >}})
noClasses = false
# Goldmark is from Hugo 0.60 the default library used for Markdown
[markup.goldmark]
@@ -769,7 +768,7 @@ You could enable these features with `hugo serve -e production`.
data = ""
````
-The default CDN data file is located in `themes/LoveIt/assets/data/cdn/` directory.
+The default CDN data file is located in `themes/uBlogger/assets/data/cdn/` directory.
You can store your own data file in the same path under your project: `assets/data/cdn/`.
{{< /admonition >}}
@@ -800,7 +799,7 @@ Or You can set more options through a dict:
title = "Mastodon"
```
-The default data of all supported social links is located in `themes/LoveIt/assets/data/social.yaml`,
+The default data of all supported social links is located in `themes/uBlogger/assets/data/social.yaml`,
which is you can refer to.
{{< /admonition >}}
@@ -829,11 +828,11 @@ Customize `browserconfig.xml` and `site.webmanifest` to set theme-color and back
Hugo **extended** version is necessary for the style customization.
{{< /admonition >}}
-**LoveIt** theme has been built to be as configurable as possible by defining custom `.scss` style files.
+**uBlogger** theme has been built to be as configurable as possible by defining custom `.scss` style files.
The directory including the custom `.scss` style files is `assets/css` relative to **your project root directory**.
-In `assets/css/_override.scss`, you can override the variables in `themes/LoveIt/assets/css/_variables.scss` to customize the style.
+In `assets/css/_override.scss`, you can override the variables in `themes/uBlogger/assets/css/_variables.scss` to customize the style.
Here is a example:
@@ -846,7 +845,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s
## 4 Multilingual and i18n
-**LoveIt** theme is fully compatible with Hugo multilingual mode, which provides in-browser language switching.
+**uBlogger** theme is fully compatible with Hugo multilingual mode, which provides in-browser language switching.
![Language Switch](language-switch.gif "Language Switch")
@@ -995,15 +994,15 @@ Use [Front Matter parameter](https://gohugo.io/content-management/multilingual#t
Translations strings are used for common default values used in the theme. Translations are available in [some languages](#language-compatibility), but you may use another language or want to override default values.
-To override these values, create a new file in your local i18n folder `i18n/<languageCode>.toml` and inspire yourself from `themes/LoveIt/i18n/en.toml`.
+To override these values, create a new file in your local i18n folder `i18n/<languageCode>.toml` and inspire yourself from `themes/uBlogger/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/dillonzq/LoveIt/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 [:(fas fa-code-branch fa-fw): making a PR](https://github.com/upagge/uBlogger/pulls) to the theme!
## 5 Search
{{< version 0.2.0 >}}
-Based on [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/), searching is supported in **LoveIt** theme.
+Based on [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/), searching is supported in **uBlogger** theme.
### 5.1 Output Configuration
diff --git a/exampleSite/content/posts/theme-documentation-content/index.en.md b/exampleSite/content/posts/theme-documentation-content/index.en.md
index aeea5ab..7448ad2 100644
--- a/exampleSite/content/posts/theme-documentation-content/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-content/index.en.md
@@ -2,7 +2,7 @@
title: "Theme Documentation - Content"
date: 2020-03-05T15:58:26+08:00
lastmod: 2020-03-05T15:58:26+08:00
-description: "Find out how to create and organize your content quickly and intuitively in LoveIt theme."
+description: "Find out how to create and organize your content quickly and intuitively in uBlogger theme."
resources:
- name: "featured-image"
src: "featured-image.jpg"
@@ -21,7 +21,7 @@ math:
enable: true
---
-Find out how to create and organize your content quickly and intuitively in **LoveIt** theme.
+Find out how to create and organize your content quickly and intuitively in **uBlogger** theme.
<!--more-->
@@ -250,7 +250,7 @@ They contain a path by sections to the current page, with links to sections. For
## 3 Content Summaries
-**LoveIt** theme uses the summary of the content to display abstract information in the home page. Hugo can generate summaries of your content.
+**uBlogger** theme uses the summary of the content to display abstract information in the home page. Hugo can generate summaries of your content.
![Summary Preview](summary.png "Summary Preview")
@@ -280,7 +280,7 @@ You might want your summary to be something other than the text that starts the
You might want your description in the `description` variable of the article front matter as the summary.
-You may add the `<!--more-->` summary divider at the start of the article. Keep content that comes before the summary divider empty. Then **LoveIt** theme will use your description as the summary.
+You may add the `<!--more-->` summary divider at the start of the article. Keep content that comes before the summary divider empty. Then **uBlogger** theme will use your description as the summary.
### Priority Order of Summary Selection
@@ -301,7 +301,7 @@ This part is shown in the [basic markdown syntax page](../basic-markdown-syntax/
## 5 Extended Markdown Syntax {#extended-markdown-syntax}
-**LoveIt** theme has some extended syntax elements for you to write articles.
+**uBlogger** theme has some extended syntax elements for you to write articles.
### Emoji Support
@@ -309,7 +309,7 @@ This part is shown in the [emoji support page](../emoji-support/).
### Mathematical Formula
-**LoveIt** theme supports mathematical formulas based on [$ \KaTeX $](https://katex.org/).
+**uBlogger** theme supports mathematical formulas based on [$ \KaTeX $](https://katex.org/).
Set the property `enable = true` under `[params.math]` in your [site configuration](../theme-documentation-basics#site-configuration)
and the property `math: true` of the article front matter to enable the automatic rendering of mathematical formulas.
@@ -382,7 +382,7 @@ $$ \ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-} $$
### Ruby Annotation {#ruby}
-An extended Markdown syntax for **ruby annotation** is supported in **LoveIt** theme:
+An extended Markdown syntax for **ruby annotation** is supported in **uBlogger** theme:
```markdown
[Hugo]{?^}(An open-source static site generator)
@@ -396,7 +396,7 @@ The rendered output looks like this:
{{< version 0.2.0 >}}
-An extended Markdown syntax for **fraction** is supported in **LoveIt** theme:
+An extended Markdown syntax for **fraction** is supported in **uBlogger** theme:
```markdown
[Light]{?/}[Dark]
@@ -412,7 +412,7 @@ The rendered output looks like this:
### Font Awesome {#fontawesome}
-**LoveIt** theme uses [Font Awesome](https://fontawesome.com/) as the icon library.
+**uBlogger** theme uses [Font Awesome](https://fontawesome.com/) as the icon library.
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).
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 062357b..ca2679b 100644
--- a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
@@ -4,7 +4,7 @@ title: "Theme Documentation - Extended Shortcodes"
date: 2020-03-03T16:29:41+08:00
lastmod: 2020-03-03T16:29:41+08:00
draft: false
-description: "LoveIt theme provides multiple shortcodes on top of built-in ones in Hugo."
+description: "uBlogger theme provides multiple shortcodes on top of built-in ones in Hugo."
resources:
- name: "featured-image"
src: "featured-image.jpg"
@@ -17,7 +17,7 @@ categories: ["documentation"]
lightgallery: true
---
-**LoveIt** theme provides multiple shortcodes on top of built-in ones in Hugo.
+**uBlogger** theme provides multiple shortcodes on top of built-in ones in Hugo.
<!--more-->
@@ -1282,12 +1282,12 @@ Example `script` input:
```markdown
{{</* script */>}}
-console.log('Hello LoveIt!');
+console.log('Hello uBlogger!');
{{</* /script */>}}
```
You can see the output in the console of the developer tool.
{{< script >}}
-console.log('Hello LoveIt!');
+console.log('Hello uBlogger!');
{{< /script >}}
diff --git a/exampleSite/static/site.webmanifest b/exampleSite/static/site.webmanifest
index 73497a5..a9c978d 100644
--- a/exampleSite/static/site.webmanifest
+++ b/exampleSite/static/site.webmanifest
@@ -1,6 +1,6 @@
{
- "name": "LoveIt",
- "short_name": "LoveIt",
+ "name": "uBlogger",
+ "short_name": "uBlogger",
"icons": [
{
"src": "/android-chrome-192x192.png",
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 32a4094..73c282b 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -8,11 +8,11 @@
</div>
{{- end -}}
- {{- /* Hugo and LoveIt */ -}}
+ {{- /* Hugo and uBlogger */ -}}
{{- if ne .Site.Params.footer.hugo false -}}
<div class="footer-line">
{{- $hugo := printf `<a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo %v">Hugo</a>` hugo.Version -}}
- {{- $theme := .Scratch.Get "version" | printf `<a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt %v"><i class="far fa-kiss-wink-heart fa-fw"></i> LoveIt</a>` -}}
+ {{- $theme := .Scratch.Get "version" | printf `<a href="https://github.com/upagge/uBlogger" target="_blank" rel="noopener noreffer" title="uBlogger %v"><i class="far fa-kiss-wink-heart fa-fw"></i> uBlogger</a>` -}}
{{- dict "Hugo" $hugo "Theme" $theme | T "poweredBySome" | safeHTML }}
</div>
{{- end -}}
diff --git a/layouts/partials/init.html b/layouts/partials/init.html
index fdb50d3..8d8ee78 100644
--- a/layouts/partials/init.html
+++ b/layouts/partials/init.html
@@ -1,12 +1,12 @@
{{- .Scratch.Set "version" "0.2.10" -}}
-{{- /* LoveIt theme version detection */ -}}
+{{- /* uBlogger theme version detection */ -}}
{{- $VERSION := "0.2.X" -}}
{{- if eq .Site .Sites.First -}}
{{- if not .Site.Params.version -}}
- {{- errorf "Configuration Error 配置文件错误\n\nYou haven't configured the LoveIt version param correctly yet. See https://hugoloveit.com/theme-documentation-basics/#basic-configuration\n你还没有正确配置 LoveIt 的版本参数. 参考 https://hugoloveit.com/zh-cn/theme-documentation-basics/#basic-configuration\n" -}}
+ {{- errorf "Configuration Error 配置文件错误\n\nYou haven't configured the uBlogger version param correctly yet. See #basic-configuration\n你还没有正确配置 uBlogger 的版本参数. 参考 #basic-configuration\n" -}}
{{- else if ne .Site.Params.version $VERSION -}}
- {{- errorf (printf "Compatibility Error 兼容性错误\n\n%v -> %v:\nYou have an incompatible update. See https://github.com/dillonzq/LoveIt/releases\n你进行了一次不兼容的更新. 参考 https://github.com/dillonzq/LoveIt/releases\n" .Site.Params.version $VERSION) -}}
+ {{- errorf (printf "Compatibility Error 兼容性错误\n\n%v -> %v:\nYou have an incompatible update. See https://github.com/upagge/uBlogger/releases\n你进行了一次不兼容的更新. 参考 https://github.com/upagge/uBlogger/releases\n" .Site.Params.version $VERSION) -}}
{{- end -}}
{{- end -}}
diff --git a/layouts/shortcodes/version.html b/layouts/shortcodes/version.html
index 904be2d..079a065 100644
--- a/layouts/shortcodes/version.html
+++ b/layouts/shortcodes/version.html
@@ -1,5 +1,5 @@
{{- $version := .Get 0 -}}
-{{- $url := printf "https://github.com/dillonzq/LoveIt/releases/tag/v%v" $version -}}
+{{- $url := printf "https://github.com/upagge/uBlogger/releases/tag/v%v" $version -}}
{{- $type := .Get 1 | default "new" | lower -}}
{{- $label := T $type -}}
{{- $color := cond (eq $type "changed") "ff9101" "00b1ff" | cond (eq $type "deleted") "ff5252" -}}
@@ -7,7 +7,7 @@
{{- $path := printf $pathTemplate $version $type -}}
{{- $resource := resources.Get "svg/version.template.svg" -}}
{{- $resource = $resource | resources.ExecuteAsTemplate $path (dict "version" $version "label" $label "color" $color) | minify -}}
-{{- $alt := printf "LoveIt %v | %v" $label $version -}}
+{{- $alt := printf "uBlogger %v | %v" $label $version -}}
<a href="{{ $url }}" rel="noopener noreffer" target="_blank">
{{- dict "Src" $resource.RelPermalink "Alt" $alt "Class" "version" | partial "plugin/image.html" -}}
</a> \ No newline at end of file
diff --git a/package.json b/package.json
index 8316c49..778f228 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
- "name": "loveit-src",
- "version": "0.2.0",
- "description": "LoveIt theme source file",
+ "name": "uBlogger-src",
+ "version": "1.0.0",
+ "description": "uBlogger theme source file",
"private": true,
"dependencies": {},
"devDependencies": {
@@ -36,16 +36,16 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/dillonzq/LoveIt.git"
+ "url": "git+https://github.com/upagge/uBlogger.git"
},
"keywords": [
"hugo",
"theme"
],
- "author": "Dillon",
+ "author": "uPagge",
"license": "MIT",
"bugs": {
- "url": "https://github.com/dillonzq/LoveIt/issues"
+ "url": "https://github.com/upagge/uBlogger/issues"
},
- "homepage": "https://github.com/dillonzq/LoveIt#readme"
+ "homepage": "https://github.com/upagge/uBlogger#readme"
}
diff --git a/theme.toml b/theme.toml
index 69ba85b..41408f1 100644
--- a/theme.toml
+++ b/theme.toml
@@ -1,11 +1,11 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
-name = "LoveIt"
+name = "uBlogger"
license = "MIT"
-licenselink = "https://github.com/dillonzq/LoveIt/blob/master/LICENSE"
+licenselink = "https://github.com/upagge/uBlogger/blob/master/LICENSE"
description = "A Clean, Elegant but Advanced Hugo Theme for Hugo."
-homepage = "https://hugoloveit.com"
+homepage = "https://blog.upagge.com"
tags = [
"blog",
"clean",
@@ -25,10 +25,10 @@ features = [
min_version = "0.62.0"
[author]
- name = "Dillon"
- homepage = "https://dillonzq.com/"
+ name = "uPagge"
+ homepage = "https://uPagge.ru/"
[original]
- name = "Fastbyte01"
- homepage = "https://www.fsb01.com/"
- repo = "https://github.com/Fastbyte01/KeepIt"
+ name = "LoveIt"
+ homepage = "https://dillonzq.com/"
+ repo = "https://github.com/dillonzq/LoveIt"