Skip to content

Commit

Permalink
feat: update content
Browse files Browse the repository at this point in the history
  • Loading branch information
not-matthias committed Jul 9, 2024
1 parent bee8dd9 commit d190ef5
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 78 deletions.
2 changes: 2 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ template = "homepage.html"
+++

Thanks for checking out this theme!

Checkout all the [options you can configure](./posts/configuration) and the [example pages](./tags/example/).
78 changes: 46 additions & 32 deletions content/posts/configuration.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,51 @@
+++
title = "Configuration"
title = "Configuring Apollo"
date = "2024-07-09"

[taxonomies]
tags=["blog"]
tags=["documentation"]
+++

# Configuration
## Theme Mode (`theme`)

## Anchor Links
Sets the color theme for your blog.

You can add anchor links by adding the following to your `_index.md`:
```toml
insert_anchor_links = "heading"
```
- Type: String
- Options: "light", "dark", "auto", "toggle"
- Default: "toggle"
- Usage: `theme = "toggle"`

The "toggle" option allows users to switch between light and dark modes, while "auto" typically follows the user's system preferences.

## Menu

Defines the navigation menu items for your blog.

- Type: Array of objects
- Default: []
- Usage:
```toml
menu = [
{ name = "/posts", url = "/posts", weight = 1 },
{ name = "/projects", url = "/projects", weight = 2 },
{ name = "/about", url = "/about", weight = 3 },
{ name = "/tags", url = "/tags", weight = 4 },
]
```

## Socials

Defines the social media links.

- Type: Array of objects
- Default: []
- Usage:
```toml
socials = [
{ name = "twitter", url = "https://twitter.com/not_matthias", icon = "twitter" },
{ name = "github", url = "https://github.com/not-matthias/", icon = "github" },
]
```

## Table of Contents (`toc`)

Expand Down Expand Up @@ -45,17 +77,6 @@ Specifies the path to the favicon image for your blog.

This sets the small icon that appears in the browser tab for your website.

## Theme Mode (`theme`)

Sets the color theme for your blog.

- Type: String
- Options: "light", "dark", "auto", "toggle"
- Default: "toggle"
- Usage: `theme = "toggle"`

The "toggle" option allows users to switch between light and dark modes, while "auto" typically follows the user's system preferences.

## Comments (`comment`)

Enables or disables the comment system for posts.
Expand All @@ -74,7 +95,7 @@ Enables enhanced styling for code blocks.
- Default: true
- Usage: `fancy_code = true`

This option applies additional styling to make code blocks more visually appealing and easier to read.
This option adds the language label and a copy button.

## Dynamic Notes (`dynamic_note`)

Expand All @@ -86,16 +107,9 @@ Allows for the creation of togglable note sections in your content.

When enabled, you can create expandable/collapsible note sections in your blog posts.

## Menu

Defines the navigation menu items for your blog.
## Anchor Links

- Type: Array of objects
- Usage:
```toml
menu = [
{ name = "/posts", url = "/posts", weight = 1 },
{ name = "/projects", url = "/projects", weight = 2 },
{ name = "/about", url = "/about", weight = 3 },
{ name = "/tags", url = "/tags", weight = 4 },
]
You can add anchor links by adding the following to your `_index.md`:
```toml
insert_anchor_links = "heading"
```
5 changes: 2 additions & 3 deletions content/posts/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ date = "2022-01-01"
updated = "2022-05-01"

[taxonomies]
tags=["blog"]

tags=["example"]
+++

# H1
Expand Down Expand Up @@ -64,7 +63,7 @@ fn main() {
## Table Inline Markdown

| Italics | Bold | Code | StrikeThrough |
| -------- | -------- | ------ | ----------------- |
| --------- | -------- | ------ | ----------------- |
| *italics* | **bold** | `code` | ~~strikethrough~~ |

## Foldable Text
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
+++
title = "Math Symbol Support Test"
title = "Math Symbol Example"
date = "2023-01-06"

[taxonomies]
tags=["example"]
+++

Note: This requires the `mathjax` and `mathjax_dollar_inline_enable` option set to `true`.

# Inline Math

- $(a+b)^2$ = $a^2 + 2ab + b^2$
Expand Down
3 changes: 3 additions & 0 deletions content/posts/shortcode.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
+++
title = "Shortcode Example"
date = "2024-06-14"

[taxonomies]
tags=["example"]
+++


Expand Down
42 changes: 0 additions & 42 deletions content/posts/table-of-contents.md

This file was deleted.

0 comments on commit d190ef5

Please sign in to comment.