Update Theme

This commit is contained in:
Daniel Mason 2024-04-07 14:32:03 +12:00
parent a212477863
commit d47be661bd
Signed by: idanoo
GPG key ID: 387387CDBC02F132
212 changed files with 13069 additions and 8406 deletions

View file

@ -7,7 +7,7 @@ draft: false
author: "Dillon"
authorLink: "https://dillonzq.com"
description: "Find out how to create and organize your content quickly and intuitively in LoveIt theme."
images: ["featured-image.png"]
images: []
resources:
- name: "featured-image"
src: "featured-image.jpg"
@ -83,6 +83,7 @@ images: []
tags: []
categories: []
featuredImage: ""
featuredImagePreview: ""
@ -101,12 +102,11 @@ toc:
auto: true
code:
copy: true
# ...
maxShownLines: 50
math:
enable: true
enable: false
# ...
mapbox:
accessToken: ""
# ...
share:
enable: true
@ -144,6 +144,7 @@ seo:
* **tags**: the tags for the content.
* **categories**: the categories for the content.
* **featuredImage**: the featured image for the content.
* **featuredImagePreview**: the featured image for the content preview in the home page.
@ -244,6 +245,8 @@ This part is shown in the [emoji support page](../emoji-support/).
### Mathematical Formula
{{< version 0.2.11 changed >}}
**LoveIt** 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)
@ -269,7 +272,7 @@ therefore, additional escape character expressions are required for these places
* `\]` -> `\\]`
* `\\` -> `\\\\`
**LoveIt** theme supports `raw` shortcode to avoid these escape characters,
**LoveIt** theme supports [`raw` shortcode](../theme-documentation-extended-shortcodes#12-raw) to avoid these escape characters,
which helps you write raw mathematical formula content.
Example `raw` input: