You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.7 KiB
Markdown

# Tiskifer Theme
2 years ago
Originaly forked from [Shadharon](https://syedzayyan.github.io/shadharon).
2 years ago
<details open>
<summary>Dark theme</summary>
![blog-dark](https://raw.githubusercontent.com/syedzayyan/shadharon/main/screenshot.png)
2 years ago
</details>
<details close>
<summary>Light theme</summary>
2 years ago
![light-dark](https://raw.githubusercontent.com/syedzayyan/shadharon/main/screenshot-light.png)
2 years ago
</details>
## Features
- [X] Themes (light, dark). Default theme is dark with a switcher in the navbar
- [X] Projects page
- [x] Social Links
- [x] Tags
## Installation
2 years ago
0. Initialize Git Repo if not initialized
2 years ago
1. Download the theme
```
git submodule add https://git.sr.ht/~koehr/tiskifer-theme themes/tiskifer
2 years ago
```
2. Add `theme = "tiskifer"` to your `config.toml`
2 years ago
3. Copy the example content
```
cp -R themes/tiskifer/content/. content
2 years ago
```
## Customization
1. For customization refer to config.toml files, which has comments.
2. For customizing the banner on the homepage the content/posts/_index.md needs modification. The desc variable under `extra`, specifically. You could delete this as well to remove banner. For an about page or any aditional page an .md file in the "content" directory will do.
You can add stylesheets to override the theme:
```toml
[extra]
stylesheets = [
"override.css",
]
```
2 years ago
These filenames are relative to the root of the site. In this example, the two CSS files would be in the `static` folder.
2 years ago
## References
This theme is a fork of
[Shadharon](https://syedzayyan.github.io/shadharon)
which originally takes inspiration from
- [apollo](https://github.com/not-matthias/apollo).
- [Tania's Website](https://tania.dev/)
2 years ago
- [Anpu Zola Theme](https://github.com/zbrox/anpu-zola-theme)