diff options
author | uPagge <upagge@mail.ru> | 2020-12-06 00:26:43 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2020-12-06 00:26:43 +0300 |
commit | e7ef355f6da806520c61aa14e5ef2c8b2889052e (patch) | |
tree | e2d0a60c519bb5a65f397198df09d47371456ddf /exampleSite/content | |
parent | a95d102ce8c9020594840681c2d2f5cc93e8bbc6 (diff) |
loveit -> uBlogger
Diffstat (limited to 'exampleSite/content')
6 files changed, 48 insertions, 49 deletions
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 >}} |