Theme Update
This commit is contained in:
parent
3559ff251d
commit
bfcb0947a7
25
README.md
25
README.md
@ -22,9 +22,29 @@ git submodule add git@github.com:tomfran/typo.git themes/typo
|
|||||||
|
|
||||||
Otherwise you can clone the repo and copy it manually to yout theme folder.
|
Otherwise you can clone the repo and copy it manually to yout theme folder.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Latex and code blocks overflow on mobile
|
||||||
|
- Headers autonumbering
|
||||||
|
|
||||||
## Configuration example
|
## Configuration example
|
||||||
|
|
||||||
Here is an example configuration:
|
**post.md**
|
||||||
|
|
||||||
|
```md
|
||||||
|
---
|
||||||
|
title: "Search Engine in Rust"
|
||||||
|
date: "2024-02-01"
|
||||||
|
summary: "A search engine overview and Rust implementation."
|
||||||
|
toc: true
|
||||||
|
readTime: true
|
||||||
|
autonumber: true
|
||||||
|
---
|
||||||
|
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
**hugo.toml**
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
baseURL = 'https://example.org/'
|
baseURL = 'https://example.org/'
|
||||||
@ -92,5 +112,4 @@ style = 'algol'
|
|||||||
|
|
||||||
## Future works
|
## Future works
|
||||||
|
|
||||||
- [ ] Dark mode
|
- [ ] Dark mode
|
||||||
- [ ] Headings auto-numbering
|
|
BIN
misc/1.png
BIN
misc/1.png
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 2.4 MiB |
BIN
misc/2.png
BIN
misc/2.png
Binary file not shown.
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 2.5 MiB |
BIN
misc/3.png
BIN
misc/3.png
Binary file not shown.
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 2.6 MiB |
Loading…
Reference in New Issue
Block a user