2020-04-02 09:37:23 +00:00
|
|
|
# Lekh
|
|
|
|
Simple, text-focussed and minimal personal portfolio theme based on https://github.com/vegarsti/vegarsti.github.io
|
|
|
|
|
2020-04-02 13:58:42 +00:00
|
|
|
## Screenshot ([Live Demo](https://agitated-yonath-d9c445.netlify.com/))
|
2020-04-02 09:37:23 +00:00
|
|
|
![Screenshot](./images/screenshot.png)
|
|
|
|
|
|
|
|
## Features
|
|
|
|
* Social media links
|
|
|
|
* Markdown supported
|
|
|
|
* Easy to personalize
|
2020-04-02 11:14:04 +00:00
|
|
|
* RSS feed
|
2020-04-02 12:59:13 +00:00
|
|
|
* Dark mode (taken from https://www.gwern.net/ as it is.)
|
2020-04-02 09:37:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
cd into your hugo site's root directory and:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
cd themes
|
|
|
|
git clone https://github.com/invinciblycool/lekh.git
|
|
|
|
```
|
|
|
|
|
|
|
|
For more information read the [official setup guide](https://gohugo.io/overview/installing/) of Hugo.
|
|
|
|
|
|
|
|
|
|
|
|
## Personalization
|
|
|
|
|
|
|
|
To personalize the theme
|
|
|
|
|
|
|
|
`cp themes/lekh/.personalize.toml data/personalize.toml`
|
|
|
|
|
|
|
|
And then customize accordingly.
|
|
|
|
|
|
|
|
Or simply copy the below into a new file called `data/personalize.toml` and customize accordingly.
|
|
|
|
|
|
|
|
```toml
|
|
|
|
|
|
|
|
Name = ""
|
|
|
|
|
|
|
|
# Supports markdown
|
|
|
|
About = ""
|
|
|
|
|
|
|
|
# Add only the handle
|
|
|
|
Github = ""
|
|
|
|
Twitter = ""
|
|
|
|
|
|
|
|
# Add the absolute links
|
|
|
|
Goodreads = ""
|
|
|
|
Linkedin = ""
|
|
|
|
|
|
|
|
Email = ""
|
|
|
|
|
|
|
|
# Add the filename with file extension.
|
|
|
|
Resume = ""
|
|
|
|
|
|
|
|
# Sets the number of posts to display on the front page
|
|
|
|
PostLimit = 4
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## Posts
|
|
|
|
|
|
|
|
Below is a typical post, which defaults to what Hugo expects.
|
|
|
|
|
|
|
|
Specify `draft: true` to avoid publishing the post.
|
|
|
|
|
|
|
|
```md
|
|
|
|
---
|
|
|
|
title: "Rant post"
|
|
|
|
date: "2020-04-02"
|
|
|
|
draft: true
|
|
|
|
---
|
|
|
|
|
|
|
|
Too much to rant :(
|
|
|
|
```
|
|
|
|
|
|
|
|
## Credits
|
|
|
|
|
|
|
|
* Thanks to [Vegard's](https://github.com/vegarsti) personal site from which the theme was heavily inspired.
|
2020-04-02 12:59:13 +00:00
|
|
|
* Also to https://www.gwern.net/ for the dark mode.
|
2020-04-02 09:37:23 +00:00
|
|
|
|
|
|
|
Feel free to contribute and open issues.
|