aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--config.toml2
-rw-r--r--content/overview-code-blocks.md4
-rw-r--r--netlify.toml9
-rw-r--r--static/site.webmanifest2
-rw-r--r--theme.toml8
6 files changed, 21 insertions, 12 deletions
diff --git a/README.md b/README.md
index d6c5179..e41eaf3 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Abridge is a fast and lightweight Zola theme using semantic html, a class-light
## Demo
-[https://jieiku.github.io/abridge-demo/](https://jieiku.github.io/abridge-demo/)
+[https://abridge.netlify.app/](https://abridge.netlify.app/)
## Requirements
@@ -22,7 +22,7 @@ This theme requires version 0.14.1 or later of [Zola](https://www.getzola.org/do
## Quick Start
```bash
-git clone https://github.com/jieiku/abridge
+git clone https://github.com/jieiku/abridge.git
cd abridge
zola serve
# open http://127.0.0.1:1111/ in the browser
@@ -130,7 +130,7 @@ Colors and style are handled by the sass files of [abridge.css](https://github.c
Abridge comes with two "Skins" each with their own auto, dark, and light modes.
Auto mode automatically displays a dark or light version depending on browser/OS settings.
-The skin used on [the Demo](https://jieiku.github.io/abridge-demo/) uses primarily orange colors.
+The skin used on [the Demo](https://abridge.netlify.app/) uses primarily orange colors.
It is defined here: `/themes/abridge/sass/abridge.scss` and imports: `/themes/abridge/sass/skins/_abridge-auto.scss`
There is also other variations, that you will see defined in these same directories.
@@ -203,7 +203,7 @@ The following options should be under the `[extra]` in `config.toml`
- `stylesheet = "abridge.css"` - The stylesheet file to include in the header.
- `fontawesome =` - Uncomment to enable fontawesome library, this will include the file in the header.
- `fonts =` - Uncomment to load external fonts, they will be loaded in the header.
-- `math` - Set to true to load the Katex library, enabling the use of the [katex shortcode](https://jieiku.github.io/abridge-demo/overview-math/)
+- `math` - Set to true to load the Katex library, enabling the use of the [katex shortcode](https://abridge.netlify.app/overview-math/)
- `math_auto_render` - This allows you to define a section of math notation using only $$ $$ symbols instead of using the katex shortcode directly.
- `keywords =` - This is used for SEO.
diff --git a/config.toml b/config.toml
index 03602fd..5fce5d0 100644
--- a/config.toml
+++ b/config.toml
@@ -1,4 +1,4 @@
-base_url = "https://jieiku.github.io/abridge-demo" # do NOT include a trailing slash on the base URL
+base_url = "https://abridge.netlify.app" # do NOT include a trailing slash on the base URL
title = "Abridge"
description = "Abridge is a fast and lightweight Zola theme using semantic html, abridge.css class-light CSS, and No JS."
default_language = "en"
diff --git a/content/overview-code-blocks.md b/content/overview-code-blocks.md
index 5ac317a..f370dc1 100644
--- a/content/overview-code-blocks.md
+++ b/content/overview-code-blocks.md
@@ -40,7 +40,7 @@ let context = Context::new();
### TOML
```toml
-base_url = "https://jieiku.github.io/abridge-demo/"
+base_url = "https://abridge.netlify.app/"
title = "Abridge"
description = "Abridge is a fast and lightweight Zola theme using semantic html, abridge.css class-light CSS, and No JS."
default_language = "en"
@@ -119,7 +119,7 @@ $_SESSION['PFA_token'] = md5(uniqid("pfa" . rand(), true));
{
"name": "Abridge Zola Theme",
"short_name": "Abridge",
- "start_url": "https://jieiku.github.io/abridge-demo/",
+ "start_url": "https://abridge.netlify.app/",
"description": "Fast & Lightweight Zola Theme",
"scope": "/",
"display": "standalone",
diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 0000000..a475ac4
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,9 @@
+[build]
+publish = "public"
+command = "zola build"
+
+[build.environment]
+ZOLA_VERSION = "0.15.3"
+
+[context.deploy-preview]
+command = "zola build --base-url $DEPLOY_PRIME_URL"
diff --git a/static/site.webmanifest b/static/site.webmanifest
index 6c11191..b51ff91 100644
--- a/static/site.webmanifest
+++ b/static/site.webmanifest
@@ -1,7 +1,7 @@
{
"name": "Abridge Zola Theme",
"short_name": "Abridge",
- "start_url": "https://jieiku.github.io/abridge-demo/",
+ "start_url": "https://abridge.netlify.app/",
"description": "Fast & Lightweight Zola Theme",
"scope": "/",
"display": "standalone",
diff --git a/theme.toml b/theme.toml
index 1b92c19..d3ab04f 100644
--- a/theme.toml
+++ b/theme.toml
@@ -1,12 +1,12 @@
name = "abridge"
-description = "A fast and lightweight Zola theme using semantic html, abridge.css class-light CSS, and No JS."
+description = "A fast and lightweight Zola theme using semantic html, a class-light abridge.css, and No JS."
license = "MIT"
-homepage = "https://github.com/jieiku/abridge"
+homepage = "https://github.com/jieiku/abridge/"
min_version = "0.14.1"
-demo = "https://jieiku.github.io/abridge-demo/"
+demo = "https://abridge.netlify.app/"
[extra]
[author]
name = "Jake G (jieiku)"
-homepage = "https://github.com/jieiku"
+homepage = "https://github.com/jieiku/"