Theme Update

This commit is contained in:
Francesco 2024-04-22 15:23:34 +02:00
parent 3559ff251d
commit bfcb0947a7
4 changed files with 22 additions and 3 deletions

View File

@ -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.
## Features
- Latex and code blocks overflow on mobile
- Headers autonumbering
## 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
baseURL = 'https://example.org/'
@ -92,5 +112,4 @@ style = 'algol'
## Future works
- [ ] Dark mode
- [ ] Headings auto-numbering
- [ ] Dark mode

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB